JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.

learn more… | top users | synonyms

0
votes
1answer
311 views

IE11 throws error in IEFRAME

When I try to see "properties" of JSFiddle's logo, IE11 shows script error in file res://ieframe.dll/anchbrws.js Looking at the file, I see function BodyLoad() { var arrAll = document.all; ...
0
votes
1answer
141 views

How do I scan Firefox on Ubuntu Linux for malicious JavaScripts?

I run Ubuntu Linux in a VirtualBox VM. I was browsing using Firefox, and I always use Adblock Plus with default configuration (EasyList) and NoScript. Then my VM lagged(mouse badly out of sync with ...
0
votes
0answers
85 views

How to run browser in background in Ubuntu

I am using Ubuntu 14.04, and PHP. I have 2 files: test.html - content java to test network update.php - the test file will post result to update database. I need to run and execute an URL address ...
2
votes
2answers
809 views

How do I prevent automatic browser page refreshment done by Javascript?

There are some news websites which automatically and periodically refresh their page just in order to show the user more advertisement. If you are watching a video, all the buffered stream is gone ...
1
vote
1answer
388 views

How to run Javascript code on any website?

How can I run Javascript code on a website to complete a set function or rule as per the website? For example, if I'm trying to download a file from some filehost that requires a survey... Now in ...
5
votes
2answers
3k views

How do I permanently disable javascript strict warnings in Firefox?

When I open Firefox (8 Beta and 7) and load a page with firebug open, I get a load of javascript strict warnings, so I disable javascript strict warnings so my page loads will speed up, which works ...
1
vote
1answer
33 views

Browsing image gallery websites with two windows

Imagine an arbitrary image gallery website (i.e. deviantart.com). You get an overview of thumbnails and upon clicking these, you're usually redirected to a dedicated page showing the enlarged version ...
0
votes
0answers
1k views

Hack for running multiple iMacros in random fashion

I have 20 iMacros (for browser) and they are specific to different URLs. I run these macros one after another, and then repeat or loop all of them 10 times. But within that loop, i need those 20 ...
2
votes
0answers
56 views

NiceAlert (suppresses JavaScript alert) equivalent extension for Internet Explorer [closed]

I live in South Korea which is full of cheap web programmers who don't understand accessibilty or cross-platform, etc. Many major Korean web sites are built by those kind of programmers and managers. ...
0
votes
1answer
143 views

how to print a page from web browser without print window using javascript or php

I am developing an POS application for my own shop in web. Now for that in billing section have features like select the products and print bill, this process is only two steps. However when I click ...
1
vote
3answers
658 views

How do you block javascript slideshow animations in Firefox?

Is it possible to disable javascript slideshow animations in Firefox? A lot of news sites have delayed slide shows. It really irritates me when I'm reading a headline and it disappears. Is there a ...
1
vote
1answer
707 views

Conversion of delimited .Txt file into Excel file [duplicate]

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be ...
0
votes
2answers
326 views

How to disable “JavaScript feeds” in Firefox?

How do you disable "JavaScript feeds" in Firefox for a certain site and not disable JavaScript totally?
0
votes
0answers
121 views

CLI tools/ways for dynamically constructed DOM structure parsing HTML Javascript

I'm planning to make a tool which recognizes HTML using DOM structure in CLI. As many sites produce many DOM elements using JavaScript these days, it's becoming difficult to extract information from ...
0
votes
2answers
2k views

Shortcut for disabling JavaScript in Firefox 8

I have found this site with Firefox shortcuts. They mention a shortcut Ctrl+Shift+F9 but it doesn't work for me. I need shortcut for quick switching to without JavaScript mode during debugging of my ...
0
votes
1answer
721 views

Error: Unterminated String Literal

First off, I am NOT a web developer; I'm not building websites; I just want to surf the internet in peace. However, today I've started receiving this error over and over again on every website I go ...
2
votes
3answers
6k views

Block “document.location” Javascript redirect on one page

I have a site where I want to prevent the page from reloading using a document.location in a script tag. How can I do this in Firefox?
0
votes
1answer
136 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
1
vote
1answer
155 views

Go to a page with an internal hyperlink to a video stream

When you go on a page and you click on something that calls up a javascript (like sections on Wikipedia that generate the '#...' in the URL) the URL changes in the address bar of your browser. On ...
1
vote
0answers
95 views

MSIE11 Developer Tools not showing requests made by EMBED element

UPDATE: I assume the cause behind this weird behavor is that some plugins (WMP, VLC, ...) in some DOCTYPEs talk to the remote server directly, therefore browser simply can not detect their requests. I ...
1
vote
1answer
71 views

Save javascript image

My daughter's school is posting nice pictures of her but unfortunately it is not possible to save them as they are displayed using javascript (right click on image then "save as..." only saves the ...
9
votes
6answers
2k views

Chrome installation caused Internet Explorer/Javascript error

First of all I'm danish so my English is probably flawed. At my company I've had some complaints that after having installed Chrome certain pages on our intranet website was off limits. So I took ...
1
vote
2answers
209 views

Powershell ISE 3.0 Intellisense for other programming languages

I really love using Powershell ISE - something about it makes me want to work with it; everything just fits together well, and it is smooth. Also I love the way intelligent autocomplete is ...
-1
votes
3answers
127 views

Where do I get a JavaScript console?

I am trying to teach myself javascript, I am doing so by editing an existing programs files, but I would like to write a script, (Not HTML) and run it, and see the console results to see what's going ...
0
votes
1answer
21 views

Weird js file opens when OS starts. What is this?

There is a friend of mine who's running Windows XP. After she installed Dreamweaver CS6, everytime the OS starts, Dreamweaver opens automatically and shows this js file: http://jsfiddle.net/H6YXw Do ...
0
votes
1answer
34 views

DreamWeaver Error: While executing DW_BCC canAcceptCommand in BCC.htm, a JavaScript error occured

Anyone else ever received this error? Google has 2 unhelpful references to it and no real information. Adobe has a link to debugging JS errors but it's 404... Error is "While executing DW_BCC ...
4
votes
1answer
740 views

How can I stop “clipboard hijacking” globally? [duplicate]

this is getting to be a real bugbear of mine, and from what i understand it's becoming more common. a few of you might have heard of tynt, a site that offers clipboard-hijacking services. with their ...
-2
votes
1answer
34 views

Typical cases where I might use exceptions in programming [closed]

Can someone please help me with something that seems simple but I've never really got my head round. Exceptions! I know how to write an exception but countless code samples with variables foo and bar ...
2
votes
1answer
434 views

How to prevent javascript timeout function?

A website that I frequent utilizes the following javascript function idle() { $(document).unbind('mousemove'); $(document).unbind('keydown'); $(document).on('mousemove', function ...
0
votes
3answers
353 views

Inspect element in firefox like in safari?

Here is a screenshot from the d3.js tutorial webpage: This way of inspection in safari is quite cool, is there a way to do this in firefox? Let me make things clearer, I have a page with the ...
1
vote
1answer
102 views

How to add arXiv.org as search engine in Chrome?

I would like to be able to search the academic preprint server The arXiv from the Chrome omnibox. The actual search box I am trying to replicate can be found in the upper-right-hand corner of the ...
2
votes
1answer
52 views

Why is Google Maps showing Google Search?

When we disable Javascript and visit maps.google.com, it shows the page for Google Search instead: I'm getting this behavior regardless of the browser used (Chrome/Firefox/Safari/Opera). What's ...
2
votes
1answer
2k views

How to rename the file name with timestamp of created date by JavaScript, Perl or shell on OSX?

Could you tell me how to get timestamp of created date of file and rename the file name with it by JavaScript, Perl or shell on OSX 10.9.2? Example: Existing: Untitled.txt timestamp is 2014/05/03 ...
-2
votes
1answer
15k views

pass a JavaScript variable to php via Ajax [closed]

I try to pass a JavaScript variable to php via Ajax so then I can make sql query. I call function votepick(id ) onchange event. However not working and get error Uncaught ReferenceError: $ is not ...
0
votes
1answer
114 views

login to phpmyadmin on suse 13.1 fails

' i try to login to PhpMyAdmin (on opensue 13.1 lamp) and get error: Login without a password is forbidden by configuration (see AllowNoPassword) What should i do for enter to phpMyAdmin without set ...
2
votes
1answer
747 views

Why is /usr/share/gnome-shell/js missing?

I'm trying to debug a gnome-shell extension, but I don't seem the have the folder /usr/share/gnome-shell/js. I'm on fedora 20 with gnome 3.12. I couldn't find it when I had gnome 3.10 either. Were the ...
1
vote
0answers
154 views

Firefox shows weird code when all tabs are closed

When I close the last tab by clicking on X on Firefox, it displays a long and weird JavaScript from http://s.ytimg.com/yts/jsbin/html5player-tr_TR-vflTXVVD8.js. Is this a bug? What does that code ...
6
votes
5answers
13k views

How do you use WGET to mirror a site 1 level deep, recovering JS, CSS resources including CSS images?

Pretend I wanted a simple page copy to be downloaded to my HD for permanent keeping. I'm not looking for a deep recursive get, just a single page, but also any resources loaded by that page to be also ...
1
vote
1answer
45 views

Web browser | Disabling the download of arbitrary scripts

I use firefox. Is there an addon or setting to stop my browser from downloading all the scripts that are linked on a webpage? I would like to only follow links which are at domains in my whitelist. I ...
1
vote
1answer
214 views

Mirroring a web site having pages that uses simple JavaScript [duplicate]

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
0
votes
0answers
961 views

Is it possible to debug javascript on iOS Safari using the desktop Web Inspector?

First, let me say that I know all about the iOS simulator, and have no problems using the Safari Web Inspector to debug javascript using Safari and the simulator. That works fine. My issue is that ...
4
votes
12answers
22k views

IE8 Refuses to run Javascript from Local Hard Drive

I have a problem that just started at work recently and the network manager is certain he did not change anything with the group policy. Anyways, here is a detailed description of the problem. My ...
0
votes
1answer
63 views

Remove Certain Debug Output in terminal window

I am using Putty to connect to a unix server that spits out lots of debug. What I want to do is replace the following debug for example Getting pQuality pPtrQuality=0x588b90, len *** ...
0
votes
0answers
27 views

Is it possible to view the source of a malicious pdf?

I am using osx mavericks. Avast alerted to a file that was in a hidden spotlight directory that had random-looking characters as a name with a .txt extension. It identified as a javascript trojan. I ...
0
votes
2answers
947 views

Do any Javascript IDEs support automatic error highlighting (like the Eclipse Java IDE)?

Are there any Javascript IDEs that support automatic error highlighting? I want to enable automatic highlighting, but the Geany IDE doesn't support it. (I mean that it should be possible to see a line ...
1
vote
1answer
809 views

How to play video (mp4) fullscreen using html and javascript like youtube?

If you go to m.youtube.com from android using Chrome when you go to a video you see a preview (static image with play button overlay). As you click the image the video starts fullscreen. I wish to do ...
0
votes
1answer
204 views

Get DuckDuckGo non-Javascript version in Firefox search bar

I installed the DuckDuckGo AddOn that adds DuckDuckGo to the list of search engines in Firefox. This is the dropdown list in the upper right just to the left of the search bar that lets you pick which ...
4
votes
2answers
4k views

Using JavaScript and Greasemonkey to reload just one tab in Firefox?

I am new to Greasemonkey and javascript but have found the script below to reload a page every 5 minutes. // ==UserScript== // @name Auto Reload Protopage // @namespace ...
0
votes
0answers
307 views

Invoke bat file from JavaScript file with parameters

What I need to do is to pass two parameters from HTML to a batch file. I am invoking a batch file from a JavaScript method inside HTML, and I am able to invoke the bat file, but I can't pass any ...
1
vote
1answer
84 views

Automating Craiglist

I would like to be able to quickly respond to craigslist ads even when I am asleep or away from my computer. Basically what a site like www.classifiedadresponder.com does, but my own way of doing it ...