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

learn more… | top users | synonyms

1
vote
1answer
343 views

Restore my browser's middle-click behaviour

Some sites do annoying things with JavaScript, like replace the default behaviour of the browser to open a new tab on middle click, with code such as: <a href="http://stackoverflow.com" ...
2
votes
0answers
343 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 ...
3
votes
3answers
238 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 ...
0
votes
1answer
65 views

My internet connection not worked well in Win server 2012?

my computer (running on server 12). the internet is disconnected automatically. can someone take a look. ...
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 ...
0
votes
0answers
89 views

Can HTML/PHP/Javascript code be commented in a single click/keycombination?

The question it's clear enough. I want to be able to select certain code and with a key combination or menu element be able to comment it in Aptana Studio 3. Yes, I can add the tags myself but I'd ...
2
votes
1answer
916 views

Can I Call AHK Script From PHP or Javascript - Also How Do I Pass A Variable to a Script?

If I have an AHK script which has a variable in it - how can I pass a value to that variable so that the script runs with that value? Can I call an AHK script from PHP or Javascript - if so how? I ...
0
votes
1answer
268 views

Free Markdown JS viewer

I'd like to use Markdown for documents to be exchanged with a colleague of mine. The ideal workflow would be IMHO editing the source in any plaintext editor while simultaneously viewing it in a ...
1
vote
1answer
727 views

IE9 32bit on Win7 64bit JavaScript and Flash do not work though IE9 64bit does

I am having this unusual issue with my system. It started with not being able to install the Microsoft Skydrive app and has snowballed. I am running win7 professional 64 bit. Adobe flash player is ...
1
vote
0answers
66 views

Alternative CDN to Google and Microsoft [closed]

For hotlinking to js, css files I use Google and Microsoft's CDN servers: https://developers.google.com/speed/libraries/devguide?hl=tr http://www.asp.net/ajaxlibrary/cdn.ashx But it seems like they ...
0
votes
1answer
58 views

Which flash player does this website uses [closed]

I want to know which flash player this website is using http://www.videochaska.com/video/thriller/adaalat/chand-par-hatiya-part02/10238 How are they streaming video; I do not see any where rtmp ...
16
votes
5answers
7k views

Is there any *good* HTML-mode for emacs?

I love emacs, and I want to do my web-programming work in it, but I can't find a way to get it to edit HTML properly. I mean it's seriously awful. It will do HTML fine, but not PHP, javascript, ...
0
votes
1answer
1k views

Can javascript be used to extract ones IP if they're using a VPN?

If you're using a vpn, is it possible for a 3rd party website to use javascript or any other means to extract your real IP address? Or is there no way for them to know your real IP as long as you're ...
1
vote
0answers
940 views

ASP.Net web app issue - Javascript not working in IE 9 & Chrome [closed]

I am having a sudden issue with Javascript not working in my browsers. When my web application attempts to reference a validation function in a .js file, I get an error "Function is undefined". This ...
4
votes
2answers
3k 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. ...
1
vote
1answer
121 views

What is the npapi-msdocs plugin?

What is the npapi-msdocs plugin? Is it possible with use this plugin to handle Microsoft Office documents in Chrome? For example to view a .doc file inline instead of having to downloading it?
0
votes
1answer
35 views

taglist incorrectly parse Javascript in vim

I'm using taglist.vim to display functions in vim. It works fine for C++ and C source files, but not very well for Javascript files. What should I do to make the Javascript files parsed correctly?
8
votes
1answer
16k views

How can I add autocomplete in notepad++ for javascript in an .html file?

Notepad++ does auto-complete for html and also for JavaScript. but the auto-completion depends on file extension.html file supports completion for html only. Is there a way to enable auto-completion ...
0
votes
0answers
428 views

How to implement a bookmarklet for firefox 13 calling org-protocol and giving over a url/title?

Since javascript in bookmarklets of firefox 13 is no longer working, is there another method to implement a button that calls org-protocol and gives over the url and the title of the actual webpage.
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 ...
0
votes
2answers
3k views

With Chrome how to use the the javascript: URL pseudoprotocol?

With Firefox I can type in the location bar "javascript:" followed by some JavaScript code and have this code executed and the result displayed in the page. For example javascript:x = 3 displays 3 in ...
1
vote
0answers
371 views

Adobe Acrobat: Advanced drop down / list

A client of mine needs a PDF made which has a list of store locations, there are a lot of store locations however. Each store is split into several parts, Store code: BB01 Store Name: Bob's ...
0
votes
1answer
222 views

Does javascript have access to my bookmarks and history?

I'm using RefControl addon for firefox, to avoid sending the referer in the headers. But now I'm wondering if the previous page or even my full history can be viewed by websites with javascript. And ...
2
votes
3answers
439 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 ...
1
vote
2answers
36 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 ...
0
votes
1answer
563 views

Google chrome crashes in Windows 7 Enterprise Edition 64 bit

When I open an Image gallery application in Google chrome 19 browser it crashes suddenly. It happens only when I view the actual resolution image. There is no problem in the case of thumbnail image. I ...
4
votes
2answers
4k 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 ...
22
votes
2answers
12k views

What is JavaScript Obfuscation and why is it a threat?

AVG was recently telling me that a webpage was blocked because of JavaScript Obfuscation. Why was the webpage blocked and what exactly does that mean?
0
votes
2answers
2k 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 ...
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
1k 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?
1
vote
1answer
265 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 ...
1
vote
0answers
90 views

Physics with Jacascript [closed]

As an exercise I am trying to replicate physics such as that seen in angry birds or contre jour. In essence, the tensile and fluid snap motions present when you pull a slingshot or stretch an elastic ...
2
votes
2answers
349 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 ...
0
votes
1answer
587 views

Internet Explorer 8 form auto login

How can I configure Internet Explorer 8 to automatically log in to an intranet application form when I visit the application address ? Is there a add-on for this or a setting that I have to make ?
6
votes
1answer
2k views

Is there a Firefox extension that prevents websites from detecting what operating system you're using?

Is there a Firefox extension that prevents websites from detecting what operating system you're using? Also, if there isn't a plugin, is it possible to write one? I know I can disable websites from ...
0
votes
3answers
308 views

how do I block downloading data from a web domain, including by javascript code?

I am unhappy with google's javascript loading various BS from *.gstatic.com domain. I tried telling my firewall to block *.gstatic.com but apparently this only blocked loading webpages into the ...
1
vote
1answer
181 views

Stop moving page title in Firefox?

Some websites I'm using always make the web title move or blink when, for example, a new mail has just arrived. It is really disturbing as it's not an emergency and usually I'm busy browsing other ...
1
vote
3answers
2k 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, ...
2
votes
1answer
1k views

Middle clicking a link on chrome sometimes also switches the current tab to the new one

In chrome, most of the time, when i middle click on a link (text or image), it opens a new tab and the current tab does not change. This is the expected behaviour. However, some websites have links ...
1
vote
2answers
269 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 ...
2
votes
2answers
199 views

How can I insert my own JavaScript into page?

I'm using Internet Explorer as the default browser. (Firefox is not an option). There are some web apps that I like but whose layout and workflow does not quite agree with me. Given that I am ...
1
vote
2answers
1k views

Websites not working with Opera 11.00, major bugs

Sites like ebay and even superuser stop working properly when I use opera 11.00. Menus stop working everywhere from ebay to godaddy. Hovering on a menu item doesn't expand it, no sub menu slides ...
0
votes
1answer
190 views

Random scripts stop working on all websites in Windows XP

I have been searching with finding any solution. Random scripts stopped working on websites. For example, on my own website the jQuery scripts aren't working, and when I click on them in the source ...
0
votes
1answer
237 views

Open browser type with javascript window.open() [closed]

Is it possible to open a specific browser type i.e. Google chrome, Firefox, Chromium using the window.open() method? For instance, I have Google chrome, Firefox and chromium installed on my system and ...
1
vote
0answers
360 views

Adobe Edge alternatives

Are there similar software or alternative to Adobe Edge? I'm looking for a software where you can animate your html elements visually or using a GUI and then it will export in HTML and using ...
-2
votes
1answer
165 views

User Authentication [closed]

Is there any free or commercial service that would allow me to implement user authentication (user registration and management) for my static website using just javascript embed code?
0
votes
0answers
182 views

How can I improve or wrap my sed-script?

I instrumented a mvn build to emit profiling data, which I want to analyse later on. Therefore, I made the sed script below, to generate json-data from the profilers output. I call the script with ...
0
votes
2answers
320 views

IE 9 Disabling of Script

I every now and then accidentally click the Disable > Script option on the developer toolbar. Is there a better way to undo that other than going into Tools > Internet Options to fix it? It's very ...
8
votes
5answers
4k views

How to make Firefox always stop a script when it's not responding

On some pages I get the "Script not responding" error with an option to stop it and a checkbox to never ask again. Later I get the same question again, with that pointless checkbox. How do I make ...