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

learn more… | top users | synonyms

0
votes
1answer
748 views

Turn Javascript into bookmark or bookmarklet?

I have Created One script that shows password on hover just like windows 8 on eye click. i have made this functionality through javascript with following code. function ...
0
votes
1answer
1k views

Javascript issue & IE10 in Win8

I had an issue with Skype couple of day ago (no login cells, only background with clouds and rainbow); according to some how-to I erased all private content and history + restarted IE to default ...
1
vote
4answers
651 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, ...
0
votes
3answers
167 views

How to wrap pile of html formatted text with pluses for javascript inclusion?

In my prototyping I'm doing much copy&pasting from .js file to .html where the .js file needs wrapped text in a string. So I find myself wasting time "plussing/unplussing" (if that are even real ...
1
vote
1answer
377 views

How to disable keyboard shortcut on web applications?

I'm a Vimium user. So I want to operate everything in vim's way. But some web application override keyboard shortcuts. For example, gmail, JIRA, most of rich text editors and so on. It is very ...
1
vote
1answer
573 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
2answers
2k views

How to get IE to open JavaScript as text

I am running IE 9. Up until last week sometime, if I would put the URL of a JavaScript file in the address bar, it would show the JavaScript as text in the browser window. Now when I do that, it wants ...
0
votes
2answers
49 views

Can XSS and phising type attacks jump across browsers?

If I had two different browsers and separated their use such that I was only ever using browser A for things such as on-line banking and credit card purchases etc. And used browser B for everything ...
1
vote
2answers
757 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 ...
0
votes
1answer
582 views

Regular Expression Needed to Replace Javascript in HTML Files

I need a regular expression that works in Notepad++ to remove multiline javascript references in several hundred HTML files. The code I want to remove looks like this: <script ...
0
votes
1answer
57 views

How to find matched parenthesis

Suppose I use Visual Studio 2010 to write jquery code, there are a lot of parenthesises. I may miss one or more parenthesises. What i sthe quick way to find or check matchness of parenthesis?
1
vote
1answer
204 views

How to see the properties of a DOM element as they change in realtime?

JavaScript code can update the properties/attributes of DOM elements in real time by responding to events and so on. Here is an example. In the table on that page, move your mouse over the cells. ...
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
0answers
147 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 ...
1
vote
3answers
645 views

Debug JS from browser without a server/localhost

So something I do very frequently is writing random scripts in JS without really being part of an app. To run them I just paste them in the console of either Chrome of FF which works as a nice REPL, ...
0
votes
1answer
63 views

How to install node-sqlite3 in Arch Linux?

I need install node-sqlite3 for usage with sqlite3 in JavaScript.
4
votes
2answers
2k 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 ...
0
votes
2answers
116 views

Is it possible to know what is exactly doing javascript when is running?

I know a little about security risks and know that Javascript could be dangerous and compromise my computer, everything was just fine but suddenly reading one article of OWASP that says XSS ...
2
votes
0answers
354 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
267 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. ...
0
votes
2answers
702 views

Do any Javascript IDEs support automatic error highlighting (like the Eclipse Java IDE)?

Are there any Javascript IDEs that support automatic error highlighting? I want to enable automatic highlighting, but the Geany IDE doesn't support it. (I mean that it should be possible to see a line ...
0
votes
0answers
91 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
1k 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 ...
1
vote
1answer
773 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
69 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 ...
1
vote
1answer
436 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" ...
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
1k 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 ...
5
votes
2answers
12k views

How can I disable javascript popups/alerts in Chrome?

Sorry if it's been asked. I've already found several solutions that aren't working. Not sure what I'm doing wrong. I don't want to disable all javascript, only Javascript alert boxes. The ones that ...
1
vote
1answer
126 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?
1
vote
1answer
297 views

Convert eBay listing to PDF file with images included

I've been trying to save some eBay listings as PDF files. I've tried sites like pdfmyurl and joliprint, and I've tried Acrobat X Pro. The problem I have with all of them is that they don't save the ...
0
votes
1answer
42 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?
11
votes
5answers
10k views

Command line browser with js support

Does anybody know good command line browser with js support? Ideally I need following ability: some-browser http://example.com > ~/page.html It means that cli browser download html, execute js ...
1
vote
2answers
2k views

How can I automatically lock the screen when idle in CentOS?

How can I automatically lock the screen when idle in CentOS? I would like it so that a user has to re-enter their password once the machine has been idle for a period of time. If there is no option ...
0
votes
0answers
461 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.
1
vote
0answers
398 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
277 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 ...
9
votes
4answers
4k views

How to hide Browser Plugin Details in firefox for more privacy?

I'm trying to trick the results in this page to have more privacy/anonymity: https://panopticlick.eff.org/index.php?action=log&js=yes So far the best I could do is change the user agent, with the ...
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 ...
0
votes
1answer
588 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 ...
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 ...
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
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?
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 ...
2
votes
2answers
622 views

How do I prevent automatic browser page refreshment done by Javascript?

There are some news websites which automatically and periodically refresh their page just in order to show the user more advertisement. If you are watching a video, all the buffered stream is gone ...
1
vote
0answers
91 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 ...
23
votes
2answers
13k 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?
4
votes
1answer
9k 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 ...