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

learn more… | top users | synonyms

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
862 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
2answers
192 views

Is it possible to mark code so as to add custom entries to BBEdit's “Functions” menu?

I remember back in my CodeWarrior days, it was possible to add entries to the code navigational menu using #pragma mark directives, which made it easy to organize your code file into sections visible ...
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
388 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
1answer
1k views

Disable Emacs' auto indentation for JavaScript mode completely

I have tried to disable the auto indentation in Emacs in JavaScript for three hours now and could not find a (good) solution. My Emacs version is 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3), at ...
4
votes
1answer
5k views

Where is the javascript console in Safari 5.0.5 for Windows?

Just what the title says. Where can I find the javascript console in safari?
4
votes
4answers
1k views

Is there an OS X app like jsfiddle?

I am wondering if there is an app that works like jsfiddle to work offline for prototyping on the move?
4
votes
0answers
2k 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 ...
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
8answers
531 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 ...
3
votes
3answers
28k 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
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
3answers
461 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
315 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
2answers
126 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
1k 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
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
815 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
597 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
1answer
80 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 ...
3
votes
2answers
77 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 ...
3
votes
2answers
2k 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
261 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
815 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
436 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
266 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
700 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
0answers
82 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
1answer
417 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.
2
votes
4answers
114 views

“slow operating system that doesn't allow time to configure the javascript”

In conjunction with Qualtrics, we have created an online business assessment. We recently began having problems, the program is suppose to be able to tabulate answers, coming up with a ...
2
votes
4answers
2k views

Prevent users from being able to change JavaScript variables

Is it possible somehow to prevent users from being able to change JavaScript variables, trough the address bar or with programs like FireBug?
2
votes
6answers
178 views

Why can't we save 100% of a site?

We all know that we can't obfuscate HTML or Javascript. We need to remember that if the browser can read it, the user should be able to read it too. Therefore, why is it that sometimes when we ...
2
votes
4answers
224 views

What browser feature is this exploiting and how to stop it?

http://raffa991[dot]ra[dot]funpic[dot]de/lol/ Warning: It is some kind of an annoying "you are an idiot" sign combined with a lot of popup message boxes. Open with care! In any case, it crashed my ...
2
votes
1answer
686 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 ...
2
votes
1answer
2k views

Is it possible to run JavaScript in Textmate?

If I try to run it now I get a XCode error. Do I need to install a JavaScript interpreter on my computer?
2
votes
4answers
3k views

How to collapse JavaScript function/comment blocks in VS2010/VS2008

I don't think it is possible right now in VS2010/VS2008 but I'm sure someone must have done or can come up with some workaround using the extensibility of VS2010/VS2008. Ability to collapse ...
2
votes
3answers
465 views

Does IE 6/7/8 have an addon that is similar to “Web Developer” for Firefox?

I am looking for the same JavaScript functionality (Errors/Warnings/etc.) that the Web Developer add-on for Firefox has. Does such a thing exist and where can I find it?
2
votes
2answers
377 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 ...
2
votes
4answers
7k 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'); ...
2
votes
2answers
695 views

List resources like css and javascript files of page in Firefox?

In Firefox, (on normal pages) there is "Page info" in the context menu. It lists images on ("embedded"?) the page along with their full URLs. But other "external" files are not listed. Can I view a ...
2
votes
1answer
515 views

What Is All Of This Stuff In My Sent Email From Hotmail? [closed]

I sent an email from my Hotmail account to myself and viewed the source. I did this from www.Hotmail.com and sent only the text 'Test'. When I received the email, I viewed the source in Outlook and ...
2
votes
3answers
1k views

Linux distro with pure HTML interface

I'm looking for an existing linux distro with a pure HTML(5) client interface. Sort of like m0n0wall, but then featuring all functionality a modern OS includes, implemented in HTML/Javascript/CSS. ...