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

learn more… | top users | synonyms

2
votes
2answers
26k views

Internet Explorer 8/9 javascript disable, need to enable back

Dear all, This is not a programming issue, just want to ask any one having Internet Explorer Javascript disabled issue. I try go to Internet Option enable everything, including javascript restart it. ...
2
votes
2answers
264 views

Is it possible to block or remove a line of javascript before a webpage finishes loading?

I am looking to block or remove a line of javascript from a specific website before it finishes loading. Is it possible to do this in firefox? Any specific plugins?
2
votes
2answers
519 views

How to block a single .js file in ie6?

Been banging my head on the desk for two hours now. I need to block JUST ONE .js file in ie6 (need to keep JS enabled in the browser): http://php.net/ie6update/ie6update.js That DARN script breaks ...
2
votes
3answers
521 views

running javascript on the command line

I'm a sucker for javascript, and i'm increasingly drawn towards writing script utilities for my everyday needs. Currently I writing these utilities in bash scripts, but i'm not so proficient with ...
2
votes
2answers
757 views

vim and javascript

Have tried a couple of javascript indenters but all seems to have flaws and warts. Are there any good javascript/html/css plugins/indenters/syntaxcolourers for vim? BRG Anders Olme
2
votes
0answers
183 views

How to re-enable disabled right click menu in browser?

I am used to using the right click menu to navigate webpage, which allows me to go backward or forward on a page without moving the cursor to the navigation bar. I mostly use Firefox. But some ...
2
votes
1answer
81 views

Convert javascript links in websites to regular HTML links?

Some websites like to use javascript links instead of regular HTML links, making it impossible to open such links in new browser tabs, for example "javascript:OpenLink(908)", instead of "site.com/...
2
votes
1answer
316 views

How to search and highlight long passages in a PDF file?

I made several highlights on Kindle Touch to PDF files. Kindle saves the highlighted text in a separate file, not on the PDFs themselves. I have all the text of the passages I want highlighted, what I ...
2
votes
0answers
79 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. ...
2
votes
0answers
443 views

Several website functions just no longer work in Firefox for me…but maybe there's a pattern?

This is really weird, because I don't recall making any large changes or messing around with about:config in Firefox. I was on FF 30 the whole time. The problems just emerged. Here's some example: ...
2
votes
0answers
530 views

Sublime Text 3 - Proper javascript intellisense?

I'm trying to find a plugin that will give me proper intellisense for JavaScript. My background for comparison and expectations are based on Visual Studio 2012 with Resharper. I have currently ...
2
votes
2answers
458 views

Using the firefox plug-in Down Them All is there a way to perform the dTa one click on a range of pages?

So I have a url: http://www.example.com/mp3?page=1. Which has a load of free mp3s to download on each page. But rather than: clicking dTa one click, then changing page to http://www.example.com/...
2
votes
0answers
49 views

How to capture from sites like github?

I'm using the below bookmarklet with org-protocol/emacsclient to journal webpages (whitespace added): javascript:location.href='org-protocol://capture://'+ encodeURIComponent(location.href)+'/'+...
2
votes
1answer
2k views

How to get around ERROR 405 Method Not Allowed with HTTP post

I'm trying to make an HTTP post on this website: https://www.colorado.gov/revenueonline/_/#2 (click Verify a Sales Tax License in the bottom right) using wget with the following command: wget --...
2
votes
1answer
632 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 ()...
2
votes
0answers
119 views

Escape key strangely captured by javascript webshell

I am using GateOne as a WebShell on my VPS (only way to SSH to it through the proxy of the place...), it uses javascript to emulate a shell by capturing keystrokes. Everything works well, yet it ...
2
votes
1answer
5k views

Why doesn't Javascript work in Internet Explorer?

I'm trying to use Internet Explorer to test a website, but scripts don't seem to be running. This seems like it's an issue on a lot of pages - for example, I tried going to the Acid3 page, and it said ...
2
votes
2answers
650 views

How can I add Delicious bookmarks in IE 10 desktop?

It is clear from the Delicious tools page that there is no add-on for internet explorer and it provides a bookmarklet. I managed to get this into the favourites list by editing an existing Favourite (...
2
votes
0answers
191 views

How do I stop scripts from accessing the mouse wheel in Firefox?

I'm using Firefox 16.0.2 on Mac OS X 10.6.8, including the NoScript 2.5.9 plugin. Sometimes when browsing, a web site will have an embedded map or the like within it, and when scrolling down the page ...
2
votes
0answers
372 views

How do I get started with the M-Project on Windows?

This website for this great tool, called the M-Project says that I will need to add a doskey like this: doskey espresso=node C:\Path\To\Espresso\bin\espresso.js $1 $2 $3 $4 It is a tool for ...
2
votes
1answer
95 views

Javascript Methodname is replaced with !==

On the server lies a html file with javascript code included. This javascript code includes a method called something like "CheckObject". This file works for all users, except one specific (but ...
2
votes
1answer
708 views

How Do I Disable URL Pre-Pending in the FireFox 3 Title Bar When Opeing A New Window With JavaScript?

For (understandable) security reasons, Firefox does not allow JavaScript to open a new window without the address/location bar AND without pre-pending the page's URL to the title in the title bar. ...
1
vote
4answers
986 views

Open the ClearBrowserData bookmark in Chrome, in a new window

I am trying to create a bookmark that will open the ClearBrowserData in Chrome in a new window, so far I have managed to get this, javascript:window.open("'chrome://chrome/settings/clearBrowserData'",...
1
vote
2answers
182 views

Is it safe to use an untrusted bookmarklet on a web page with sensitive data?

Is it safe to use an untrusted bookmarklet on a web page containing sensitive data, for example internet banking page? In particular, can a bookmarklet send the data anywhere or execute some actions (...
1
vote
3answers
739 views

Complex JavaScript page to test browsers performance?

I have three different browsers I want to compare: Mozilla Firefox, Google Chrome, and Safari. I don't need very sophisticated mechanism; it can simply open a webpage and render. I tried Gmail, ...
1
vote
4answers
7k views

What tools can be used to download all images in a webpage?

I would like to download all images in a web page. The tool should be smart enough to examine the css and javascript files in the page source to look for the images. Ideally, it should also replicate ...
1
vote
1answer
2k views

Strange Javascript addition in Email address

recently I received an email from someone whose email address contained strange additions. Instead of Somebody <address@gmail.com>, it was Somebody <address@gmail.com<javascript:_e(%7B%7D,...
1
vote
3answers
47 views

Javascript for a beginner, do I need it? [closed]

I did a short course at Uni that gave me a taste of ASP.NET and I want to develop it further, so I'm teaching myself from a book. Based on my studies; I only really know basic ASP.NET, decent-SQL, ...
1
vote
2answers
1k views

Coffee script command not found

I am trying to use coffee script for the first time so I can alter the Chosen plugin by Harvest. I used the npm install -d command as specified at their GitHub page to install cake and coffee. This ...
1
vote
3answers
3k views

Code in Powerpoint presentation [closed]

I am putting together a powerpoint presentation which will contain some JavaScript samples. Just wondering what tips anyone has to make this easy to read? I am specifically looking for tips on fonts, ...
1
vote
1answer
2k 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 ...
1
vote
2answers
2k views

How to run localhost or local website within Powerpoint?

I have a demo coming up and I kind of want to show off different Javascript applications within the presentation. I was wondering if there was a way to run localhost, or web applications locally, ...
1
vote
2answers
4k views

does Gmail or any other popular webmail service scrub javascript from html emails? if not, any reason why?

I have seen claims that some email services mark emails with javascript as spam. But I have not seen mentioned that any sensible service would just optionally scrub any embedded javascript entirely ...
1
vote
2answers
823 views

How do I alter this javascript to have it send an “enter” key press to the browser?

In another question on this site, someone recommended creating a bookmark with the following javascript in the URL box to automatically fill in your user name and password on a website in Chrome: ...
1
vote
3answers
50 views

Optimizing JavaScript Files

When a JavaScript file is sent over an HTTP connection, the entire file is sent, and then the preprocessor on the clientside will deal with the rest? Therefore, would removing comments and whitespace ...
1
vote
4answers
7k 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?
1
vote
2answers
30 views

Firefox frequently hanging, but no Javascript? Browser environment corrupted?

Recently my browser (Firefox latest version) has been hanging when visiting heavily commercialized sites even though I have Javascript and YouTube and other programmatic features disabled. How can a ...
1
vote
1answer
1k views

How to disable a specific JavaScript alert

On an active website I go to, there is this javascript code that is displayed on every page. <script type="text/javascript"> (function(){var d=document;var i=d.getElementsByTagName('iframe');if(...
1
vote
1answer
387 views

How can I config sublime text excute javascript with Mozilla Rhino

I want to excute javascript file without a browser. I found Mozila Rhino, but I wonder that how can I config sublime text or another text editor run my .js file directly (i.e without run command line)....
1
vote
1answer
192 views

JavaScript to login account not working

Code that automatically go to login page and click login: javascript: window.location = 'https://1.1.1.1/login.HTML'; while (true) { if (document.readyState == "complete") { window.onload(...
1
vote
2answers
497 views

Recorder PC Username Logon/Logoff

I need an application/script or some way to record when a user logs onto their PC, when they logoff and the users name. I would like to have it save to a .csv or a data file that I can pull together ...
1
vote
1answer
2k views

Why does Internet Explorer throw an “Object Expected” error?

When opening our client front end in IE, I get the error "Object Expected" and it points to the following when I debug. I've googled, but nothing straightforward yet. $(document).ready(function() { $(...
1
vote
2answers
741 views

Browser extension - replace website js with own js

is there a browser extension that can run a local js instead of the linked file from the website?
1
vote
3answers
158 views

Is “Just close popup windows” an adequate security instruction for users?

My security officer came to me yesterday, and said the CEO had clicked a "viruses detected, click yes to scan" popup, after which of course his laptop was crawling with viruses. So the SO wants to ...
1
vote
3answers
3k views

Whats the best editor/ide for html/css/javascript? [duplicate]

Possible Duplicate: Are there any free open source HTML editors? Whats the best editor/ide for html/css/javascript?
1
vote
3answers
6k views

How to view a page's source when a javascript modal popup loads first?

Scenario: You go to a page. Before loading, a javascript modal popup loads. Firebug has yet to pick up on the source. However, this code is obviously living in your browser. How can you view the ...
1
vote
2answers
108 views

Why do these characters appear when JavaScript is Disabled?

Anyone know why when JavaScript is disabled in firefox these characters show up? They replace images on the page. It isn't just a WordPress thing and they turn back into buttons when JavaScript is ...
1
vote
2answers
73 views

Concatenation in JS functions [closed]

First question here. I am doing Codecademy's JS basics course and have run into a question concerning concatenation in functions. I have: var greeting = function(name){ console.log("Hello, "+"" +...
1
vote
1answer
851 views

How to totally mute Firefox on OS X?

I sometimes listen to music while working/browsing, and the music is mastered with relatively low average loudness (high dynamic range), so any sound from webpage is like explosion. And there are 2 ...
1
vote
1answer
3k views

Is there an option setting in about:config to let firefox always maximized at startup?

I want to let the firefox window always maxmized at startup,not full screen. But I don't want to use Javascript or something else to implement it. I want to know if there is a simple option setting in ...