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

learn more… | top users | synonyms

4
votes
8answers
574 views

Soft version of NoScript

I'm looking for a soft version of NoScript, by which I mean a Firefox extension that blocks most of the usual crap such as google analytics, without blocking unknown stuff by default. Basically I'm ...
4
votes
4answers
8k 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'); ...
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 ...
4
votes
2answers
5k views

free simple webmail that doesn't require javascript?

Could someone recommend free email service accessible from webmail that doesn't have annoying bloated interface requiring javascript? So far I like gmail because even with js off it still works great ...
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 ...
4
votes
1answer
6k views

How to close large Javascript Alert windows on Chrome/ OSX

I'm using Chrome 14 and OSX 10.5.8. If a website generates a Javascript alert window with a lot of content (like debug information) the bottom of the window disappears off the screen. This places ...
4
votes
3answers
5k views

Is there a browser extension that bypasses restrictions of pasting passwords?

As one example out of many, if you go to https://appleid.apple.com and click to manage your account, you can't paste your password in the password field. There is some javascript that prevents that. ...
4
votes
2answers
250 views

Making notes on a live website to send (as a link) to someone else

Is there any way (firefox addon, javascript tool, etc) to make notes on a live webpage. For example, let's say I want to send someone a link to http://developer.android.com/guide/index.html But I ...
4
votes
1answer
2k views

Convert [object XrayWrapper [object HTMLSpanElement]] to html tag

In a userscript i am getting [object XrayWrapper [object HTMLSpanElement]] instead of html span tag. How can i get the html tag like <span>--</span> from this object?
4
votes
2answers
218 views

Where can I find a google search results re-linker for Google Chrome that works?

There used to be some grease monkey scripts that helped relink results directly from the Google search (see here and here for regular results, and here and here for image results.) I really enjoyed ...
4
votes
1answer
270 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 ...
4
votes
1answer
783 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 ...
4
votes
2answers
108 views

How do I suppress google tracking when blocking javascript is not enough?

For this case I'm referring specifically to the website: http://www.golem.de/ I'm connecting to this website using Firefox with javascript disabled: about:config > javascript.enabled > no This ...
4
votes
2answers
1k views

As a user, how can one disable right click on flash for certain web site

This is not a question like I'm web a developer, I want to block user from downloading picture from a web site. Here is the issue, my three year old daughter loves to play on a web site abcmouse.com ...
4
votes
2answers
934 views

Firefox: Any way to allow javascript to disable or replace the context menu only to specific domains?

This is something that's commonly abused, so I almost always want it to be off, except when I'm using a handful of large webapps that use the feature properly, such as Google Docs. I know there's a ...
4
votes
3answers
5k views

Firefox: Is it possible to disable exit alerts?

Sometimes the website will show an alert box akin to "Are you sure you want to leave?" when you try to leave the site. Is it possible to disable this from happening, without using something like the ...
4
votes
1answer
78 views

How to prevent Fingerprinting via Font Enumeration

I don't mean using Noscript or just not installing fonts, I'm trying to find a way of outright denying Flash, Java, and JavaScript the ability to look at my fonts. I've checked the fonts folder and it ...
4
votes
0answers
86 views

Redmine contex-menu and member deletion/modification failure

I'm using Redmine 0.9.3.stable (SQLite) on my Ubuntu 11.04. It is all ok except for the context-menu and inability of removing the members from some project. Concerning the first problem, when I do ...
3
votes
7answers
2k views

Is there a way to run a website in full screen in Windows?

Is there a way to run a website in full screen in Windows? I'm running a Webpage which is only a form and it's running on a kiosk in a shopping mall. I want this page to display in full screen. no ...
3
votes
5answers
3k views

Blocking Google Analytics from loading with JavaScript

How can I block or remove the Google Analytics code so that it does not load when I visit a web page?
3
votes
3answers
29k views

Are Google Chrome's in-text ads from malware?

Google Chrome on Windows double-underlines words on every page. On mouse hover I get an ad overlay from infolinks or similar. Is this a legit part of Windows Chrome or is it due to some kind of ...
3
votes
1answer
996 views

Does firebug not (always) duplicate repeated identical console.logs?

I always thought that firebug would send to the console content whenever the JavaScript encountered console.log('send this'); Then, I was messing around with jQuery's hover() method (something like ...
3
votes
4answers
2k views

How often do users change their IP address (average time needed)?

Basically, i need to know how long (on average) and ip address is used per user, this can be US-only stats or World-Wide stats, if you have a source please state it. If its your own data please let us ...
3
votes
2answers
449 views

How do I tell NoScript not to freak out when the Visual Studio help system calls up an MSDN web page in Firefox?

So, I'm merrily using Visual Studio 2010 Express and it's configured to get its help from the Web. I have some doubts on how some language feature works and I press F1 with the cursor on it. VS calls ...
3
votes
3answers
491 views

Advanced Web Browsing: hitting next with keyboard (single keystroke)

I have a website for class that is literally 1000's of pages long, with a next button at the bottom like this: Prev 1 2 3 4 Next With the following code, if that helps: <a ...
3
votes
5answers
6k views

Stop never-ending popup alerts in FireFox

It is possible for javascript to get stuck in a loop of opening up alerts. For example: for(var i=0;;i++) alert('This will never stop'); Is there a way to gracefully stop this in firefox, ...
3
votes
1answer
464 views

Does selectively blocking Javascript in Chrome actually reduce bandwidth usage?

In Chrome, Javascript is allowed to run by default. However, there's a nice dialog (Settings → Show advanced settings... → Content settings...) for blocking Javascript from specific sites: ...
3
votes
3answers
1k views

Getting malware through JavaScript and an img tag

I was browsing a website which caused Avast to create a notification that it protected me from an infection. Over the next half hour, this notification popped up again a few times. The Avast message ...
3
votes
4answers
2k views

Disable ability of web pages to turn off my context menu in IE

I want to disable the ability of a web site to to turn off my context menu in IE. I do not want to turn off javascript entirely, I just want to prevent javascript code from intercepting the right ...
3
votes
6answers
13k views

How can I copy text from a web page where it been has disabled?

I use FF27 with noscript, but solutions for Chrome are also welcome. I use online chat for customer support when available, and I'd like to keep the chat transcript in case of a dispute with the ...
3
votes
1answer
2k views

Using Chrome's Developer Tools - to find out where a javascript function is being called

The thing is, I have this big website with lots of JavaScript files and stuff. And I am trying to change the jQuery UI accordion plugin's settings so that it wouldn't do auto height of the wrapper ...
3
votes
2answers
141 views

How to prevent JavaScript on web site messing with browser

Is there any way to prevent specific JS scritps messing with browser (Firefox or Chrome)? For example some sites are blocking copy\paste functionality for input fields forcing user to type some text ...
3
votes
2answers
4k views

Firefox: Disable window.location on website

I'm trying to prevent a certain site from being able to use javascript to redirect the browser to another page. The script in question is an inline script so Greasemonkey and adBlock can't do ...
3
votes
1answer
4k views

Text based webbrowser that supports JavaScript?

If I lynx beforeitsnews.com then I can't see the page because it needs a JavaScript compatible webbrowser. Are there any text-based webbrowsers that supports JavaScript?:
3
votes
2answers
2k views

Firefox - Any way to prevent onload focus of form fields?

Is there any Firefox extension or built in configuration that will allow disabling onload focusing in text fields? I do not want to disable javascript. I'm just sick of certain sites auto-focusing in ...
3
votes
2answers
3k views

Is this code supposed to be injected into every single page I browse on Chrome?

A week ago I noticed the following CSS/Javascript being injected into all pages I browse. Supposedly its from Avast, but I don't have a plugin from Avast. There is no information available anywhere ...
3
votes
2answers
4k views

How can I capture or print the whole scrolling area of this dynamic webpage?

I'm trying to save (as in: for printing / putting it in a PDF -- I'm not interested in the HTML, but in the rendering of the html to be able to print the table or at least view it offline) a table ...
3
votes
2answers
2k views

Is there some text mode browser that supports at least basic javascript?

I looked at links2 and elinks - neither one seems to even support a simple javascript redirect on a site. Any ideas? Is there some sort of text mode for some opensource browser e.g. Firefox that I ...
3
votes
3answers
834 views

How to stop flash and javascript on any browser page except the currently viewed one

I'm fed up with browsers eating up CPU cycles by running useless flash and javascript. This question is related to this one but it's slightly different. Is it possible to automatically switch all ...
3
votes
1answer
670 views

Is there a way to open javascript functions in new tabs?

So, I'm trying to use a website that allows searching, and is pretty slow. Naturally, I'd like to open all of the interesting results in tabs, so I don't have to wait for them all to load. ...
3
votes
2answers
4k views

Store console output to file in Google Chrome

I would like to store the console output from my javascript in a file. Well, I would prefer to see the output in a file too see with /usr/bin/tail or other linux comand. Does anybody know if its ...
3
votes
1answer
401 views

Getting rid of random syntax highlighting

I'm having a problem with Eclipse. It randomly highlights code in grey, usually as I type something. It doesn't always appear when I type, and goes away at random times too. It's really annoying. I ...
3
votes
2answers
850 views

Can't scroll while other tabs load pages with Chrome on mac

I'm currently using chrome 8.0.552.215 on my MacBook Pro 13" (I know it's not the ultimate machine, but it's not that slow). While a page loads in another tab, I can't scroll the page I'm currently ...
3
votes
5answers
3k views

JavaScript not working locally in any browser

I am operating on Windows7 with IE8, Firefox, Google Chrome, Safari and Opera. JavaScript will work on the live site but it won't work on any local site I am testing in any browser. I don't get an ...
3
votes
2answers
4k views

Why is my system waiting for google-analytics?

When I go to certain websites that have google analytics, they never load up. One example is www.jquery.com. I tried in firefox, chrome, safari and explorer. Chrome & safari, flash the ...
3
votes
0answers
577 views

Flip (mirror image) form field or page in Acrobat PDF

Is it possible to flip a form field OR flip an entire page horizontally using javascript in Acrobat 9 ? Either one would work for our purposes. The Acrobat SDK gives the ability to rotate, but we ...
3
votes
3answers
396 views

Why are browsers so heavy? [closed]

Back in 1998 I had a computer with 233MHz Pentium MMX CPU and a GFX card with no 3D acceleration. It was able to run games like Quake II at a decent FPS rate. My current computer has tons more ...
3
votes
1answer
854 views

Autocompletion in Firebug expanded console

This one's bugging me since ever. Is it possible to enable autocomplete in Firebug console when it's expanded? In "condensed" mode (which is default) it works like a charm. I noticed that some ...
3
votes
1answer
434 views

How do I filter certain javascripts from running and not block them all on Drudge Report?

How do I block this particular "auto refresh" script on Drudge Report from running in my Firefox browser on Windows XP? var timer = setInterval("autoRefresh()", 1000 * 60 * 3); function ...
3
votes
1answer
1k views

How to disable onbeforeunload at Firefox 5

I want to disable onbeforeunload in Firefox browser. Don't tell me to disable JavaScript. I just want to disable this dialog box from appearing.