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

learn more… | top users | synonyms

5
votes
2answers
2k 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 ...
0
votes
0answers
14 views

How can I track links that are being redirected during browsing?

I'm using Chrome on Windows 7. When I'm going on to a site such as youtube.com, I'm being redirected to site that tells me YouTube is blocked. Now, I'd like to find out – during a regular browsing ...
1
vote
3answers
4k 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
7 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 ...
0
votes
0answers
17 views

How to open new tab and displayed the home address automatically in Google Maps search bar?

How to open new tab and display the home addresses automatically directly to Google Maps (maps.google.com) and display it into search bar of Google Maps? This home addresses is from another website ...
0
votes
0answers
16 views

Pocket extension for Chrome stopped working with JavaScript disabled per-site. Which side to blame?

I have Save to Pocket installed for Google Chrome on OS X. Recently it stopped working for sites which have JavaScript disabled (via Quick Javascript Switcher)--although it worked well before, with JS ...
-1
votes
0answers
14 views

Javascript pop-ups on desktop [on hold]

Hi I have javascipt pop-ups on my desktop and I'm not sure what they are or where they come from. They are always from weird websites that I have never visited and are usually in another language. ...
0
votes
0answers
26 views

setAttribute(“href”,“mailto:”…) causes link conversion on OSX [migrated]

When I include javascript code of the following form: element.setAttribute("href","mailto:foo@bar.com") I get element pointing to http://mailto:foo@bar.com rather than mailto:foo@bar.com, and a ...
5
votes
1answer
963 views

How to open stubborn javascript links in a new tab or new window?

Some websites use "creative" (javascript?) hyperlinks which break browser functionality, such as the ability to ctrl+click or middle click links to open them in a new tab. A common example, taleo HR ...
2
votes
4answers
6k views

How to get Firefox Greasemonkey script to use a local cascading stylesheet?

What's the correct syntax to link to a CSS file in the same directory as a Greasemonkey JavaScript? I've tried the following but it doesn't work: var cssNode = document.createElement('link'); ...
5
votes
3answers
1k views

How can I stop JavaScript from modifying the clipboard?

More and more I find that when I copy text from a news site, the site adds in its own advertising/footnote link to my clipboard, so that when I paste, I get "[Text I copied] FOR MORE, GO READ AT ...
0
votes
1answer
12 views

Adobe Reader cParent parameter TypeError, “invalid argument type” but menu items display

I've written some custom scripts for Adobe Acrobat Pro (I work with a lot of PDFs for scientific research) and they run just fine on Mac and Windows. Linux only has Adobe Reader, but I still managed ...
-5
votes
1answer
26 views

I was wondering if anyone could help me out [closed]

I was wondering if someone would know where to direct me if I wanted to make a little bit of extra cash and get small jobs while at home during the Summer - For instance help building up a Website, ...
-1
votes
0answers
23 views

How can I delete ALL app data?

I am currently experiencing an issue with my backed up data. I have a NAS, and I have incidentally backed up my AppData folder off of my user account to the NAS. I was attempting to delete that ...
1
vote
0answers
17 views

JavaScript: Cannot manipulate array produced with string.match [migrated]

I have produced an array using: var arr = []; arr = string.match(/(?:^| )([a-z]+)(?= [A-Z])/g); This works as expected and the array is full and can be seen using console.log or alert(). The array ...
1
vote
1answer
114 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
36 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
30 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 ...
4
votes
1answer
6k views

How to prevent a dialog box from opening in Google Chrome?

I have to visit a website in a regular basis that reminds me it was originally designed for Internet Explorer 8 and Mozilla Firefox 3.5.12 to 3.6.10. It displays a dialog box with that warning ...
0
votes
0answers
23 views

How to re allow dialogue from a page in Chrome?

I had a page of mine that was stuck in a loop of prompts, so I had to choose the "prevent this page communicating" box to stop it (I didn't want to close the page or browser for a specific reason). ...
9
votes
6answers
1k 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
45 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
36 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 ...
1
vote
1answer
2k views

Access-Control-Allow-Origin '*' not allowed/working with Apache2

I'm trying to connect to hood.ie via Javascript: hoodie = new Hoodie('http://xxx.com:6001'); But then get an error: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when ...
0
votes
1answer
14 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
0answers
29 views

How to get larger map on ISS live stream

Site http://eol.jsc.nasa.gov/HDEV/ streams pictures from camera's on International Space Station. On right hand side there a flash window that shows trajectory and underneath it is a google map. On my ...
0
votes
1answer
22 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 ...
3
votes
1answer
143 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
30 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 ...
0
votes
0answers
14 views

What logging can I turn on / dump can I retrieve in order to report this bug in Chrome?

Once or twice a week, I run into a bug in Chrome where not only all my Chrome tabs, but even all my Chrome windows, appear frozen, due to an invisible Javascript confirmation dialog. I don't know what ...
0
votes
0answers
332 views

node' is not recognized as an internal or external command operable program or batch file in titanium

I am new to Titanium. I am trying to launch a helloworld project in titanium.bur. When I am launching the project, it shows a popup: node is not recognized as an internal or external command ...
0
votes
0answers
25 views

How can I use bookmarklets in IE11 that involve cross-site scripting?

I'm trying to use some bookmarklets that involve loading javascript from a trusted website. In particular, OpenSpritz and Squirt I have Squirt working in Chrome, but I use IE11 for the most part. ...
2
votes
1answer
185 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 ...
15
votes
5answers
10k views

How do I set Google Chrome to not allow javascript to hijack my right click menu

I despise web sites that hijack my right mouse button via javascript. Other browsers ( like firefox) allow me to block sites from doing this. Does chrome have such an option, or does it leave me at ...
0
votes
3answers
57 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 ...
0
votes
0answers
31 views

disable tab focus from javascript in firefox

I dont want to disable the whole javascript on my browser. just tab focus detection. how can I prevent websites from detecting that if im focused in tab or just I have that tab open ?
1
vote
1answer
38 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
41 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 ...
1
vote
1answer
174 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
749 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
0answers
28 views

S5 controls and formatting seem to be messed up in org-mode 8 exported presentations

The new org-mode exporter uses ox-s5.el, which still has no documentation up at the Emacs Wiki. On the other hand, there is HELP link that appears in exported org files: Unfortunately, none of ...
0
votes
1answer
24 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 ...
3
votes
1answer
50 views

Disable Javascript for certain page in Chrome

:D I have one question about Google Chrome. I know there is an option under Settings to disable javascript, even I can manage on which sites I don't want it. But my problem is here :) I'd like to ...
0
votes
1answer
123 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 ...
22
votes
6answers
26k views

How do I disable Javascript in Chrome?

How do I disable Javascript in Chrome?
1
vote
0answers
51 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 ...
5
votes
5answers
9k 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 ...
2
votes
0answers
443 views

how to enable inline javascript autocomplete in eclipse with aptana extension

Background I have Eclipse. I have installed the Aptana studio plugin for Eclipse. I am editing an HTML file. JavaScript auto-complete / content assist only works half of the time: Eclipse won't ...
1
vote
1answer
35 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 ...
2
votes
1answer
719 views

In Google Chrome, how can I get rid of the big gray box that displays “The server refused the connection.”?

I got sick of blocking sites such as facebook.com and facebook.net per browser, and decided to add them to my /etc/hosts file so the sites would be blocked entirely: 0.0.0.0 facebook.com facebook.net ...