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

learn more… | top users | synonyms

1
vote
1answer
325 views

Stylebot extension: adding access keys for jquery?

Is it possible to use a program like Stylebot to have a custom CSS rule which activates a region when a number is pressed? I want 1 to click region 1, 2 to "right-click" region 2, and 3 to click ...
0
votes
2answers
2k views

Failed to load .js resource

Hello, using "Inspect the element" function on Google Crome browser, on almost every site I have the same error Failed to load resource http://content.magnipic.info/shopping/ppapp.js one of this ...
2
votes
0answers
51 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)+'/'+...
0
votes
0answers
31 views

Why is Google Chrome console uninformative when displaying arrays?

Type on the console: a = [[1,1],[1,1]] And you will see: [Array[2],Array[2]] That is as uninformative as it gets, and in order to understand your structure you have to click click click click (...
4
votes
2answers
174 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
3answers
30k 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 ...
0
votes
2answers
163 views

Can I use JavaScript to insert in place some plaintext from a remote file by URL?

So, I'm not sure if the reason I'm having trouble with this is because it looks awfully like malicious activity or not. What I'm attempting to do is make my life a little less terrible with a piece of ...
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 ...
8
votes
3answers
3k views

How to select columns in editor view for Eclipse on OSX

Same as this question, but for OSX. In short: how to I enter rectangular selection mode on OSX? I see a button for doing this with the standard useless "text editor" that is default with eclipse, ...
1
vote
1answer
658 views

MathJax: Hide page until all math formulas are typesetted

A typical page with numerous math formulas is usually typesetted by MathJax in "slow motion": You are shown the LaTeX codes in gray first, before the formulas are converted one by one. Is it possible ...
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 --...
0
votes
2answers
221 views

How to stop Firebug from jumping in the source code all the time

If a JavaScript is changing something (e.g. a style), Firebug jumps to the position in the source code where the change happened. The problem is that I want to analyze a certain part of the source ...
3
votes
1answer
452 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 autoRefresh()...
0
votes
1answer
374 views

Add keybinding to js-mode/javascript-mode in Emacs

I have added web-beautify-* to Emacs 24, so that I can run M-x web-beautify-js to pretty format my javascript source code. I have add some keybindings for html-mode and css-mode, which work fine. (...
1
vote
1answer
1k views

Can I pre-edit the html of a web page before the javascript is run?

I'm viewing this website that has a client side javascript error caused by the scripts being loaded in the wrong order. Problem is I don't own this source, but I really need to use the site ASAP. ...
2
votes
1answer
957 views

How can I make my browser lie about my operating system?

I'm using Chromium (Version 30.0.1599.114 Ubuntu 12.10) under Linux. I'm trying to access a website that claims that it doesn't work under Linux. Of course, this is most likely crazy since the web is ...
1
vote
0answers
411 views

Can't Edit HTML file in Webstorm 7

I am new to Webstorm which is an Integrated Development (Programming) Environment (IDE). That is to say it is directly involved tool used primarily for programming. Specifically one programs ...
8
votes
5answers
7k views

How dangerous can JavaScript be?

I have recently started using NoScript (in addition to ABP). It took a little while to get used to it and can occasionally require some clicking when visiting a new site to investigate why the site's ...
2
votes
1answer
332 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. ...
0
votes
1answer
107 views

How do I add a Unicode search to the JavaScript console of a desktop, mobile, or game console browser?

It would be nice if I could search for the Unicode escape sequence of a particular character using the browser JavaScript console or via a bookmarklet. Is there any way to easily do this?
2
votes
1answer
3k views

Block certain script in the Chrome / Chrome DevTools [duplicate]

Is there a way to block, let's say some_script.js from domain.com, but not all of them?
0
votes
0answers
36 views

How clicking on an image anchor does NOT update my page history buttons?

Sometimes when on a webpage I click on a link it takes me somewhere but the history for back/forward buttons in the browser aren't updated. I understand this with AJAX however on several this doesn't ...
-1
votes
2answers
56 views

Tabs Within a VIM Split

I am writing a few different js files in my new favorite text editor, VIM. Coming from ST2, I miss the feature of having splits with tabs. I.e: A split contains a collection of files which can be ...
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(...
3
votes
0answers
232 views

Is there a path from OpenSCAD to WebGL?

tl;dr version, Does a software path exist to convert from openscad input to render on a website via webgl? What I'm trying to do is display OpenSCAD created designs uploaded via post on a LEMPy ...
1
vote
0answers
249 views

YouTube style linking inside HTML5 Video player

After a video has played on YouTube, often there will be a follow up link after the video has finished playing in the form of related videos. I'm looking to implement similar into my HTML5 Video. It ...
-2
votes
1answer
503 views

Unity 3D coding language, C# or JavaScript [closed]

Hello to the gaming community. I am a budding game designer, learning to code for the first time in my life. I did learned c++ in school, 8 years back, so I sort of understand the logic when people ...
0
votes
0answers
72 views

IE7 on XP, how to enable script debugging

I have Windows XP SP3 and IE 7.0.5730.13 I need to be able to debug javascript viewing my Website in IE7 I've gone into Internet Options > Advanced and unchecked 'Disable Script Debugging' boxes. I've ...
0
votes
1answer
167 views

Youtube embedding with different audio track

My question (my first, hope it's ok) is like this: I film weddings. I want to post them online, using youtube. The problem is the audio which is often marked as "not my content". Is it possible to ...
1
vote
0answers
403 views

Auto generate documenttaion in eclipse for javascript

I have never used any documentation software or plugin. I am using Eclipse Kepler as code editor for js files. All files are plain JS files. Is there any plugin in eclipse where i click button and ...
1
vote
0answers
21 views

Storing web-development libraries locally and update them whenever you are connected to internet

I'm learning things on the web and pretty much have developed several websites. Internet in our country is a bit poor and slow so developing using ruby or node js is pretty much a pain in the ass ...
0
votes
1answer
429 views

SecureCRT and Nice PHP/JS Syntax Highlighting: How To Configure?

I'm running SecureCRT using Windows 7. After googling a bit the VanDyke results came up, but I want to get it so instead of just a black background with all green text (sure it's better than the ...
0
votes
1answer
1k views

Disable javascript from scrolling the page in fiefox

I'm required to use a website for school that scrolls the page whenever you click an inputbox. Is there a way to disable JS from scrolling the page? I've found the section of JS that does the ...
0
votes
1answer
748 views

Chrome can't load specific pages - possibly due to Javascript

So lately I've encountered a strange issue with Chrome where it seems to just not load pages with Javascript in them. Most notably this has been happening with my Facebook home page. Pages will ...
2
votes
1answer
480 views

Customizing urlbar formatting in Firefox

Firefox 6.0 introduced URL formatting in the address bar, i.e. the domain.tld is black, while protocols, subdomains, and paths are grey. The related about:config entry to enable/disable this feature ...
3
votes
1answer
656 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: ...
0
votes
1answer
266 views

Why is javascript being blocked on three browsers except in private mode without an extension conflict?

I am running Windows 7, 32-bit java up to date. On Chrome, Firefox and IE (also up to date) whenever I load lowes.com the scroll over menus (shop & learn) will work while the page is loading. At ...
3
votes
5answers
4k 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
1answer
1k 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 $(...
1
vote
1answer
136 views

lock browser to troubleshoot javascript and css

Let's say I created some tooltip which displays a popup when the cursor is placed over a given part of the page, and removes it when I move the mouse. For an example, see http://jsbin.com/aCoboQo/1 ...
0
votes
1answer
123 views

HTTPD benchmarking tool that parses output

I'm trying to benchmark a HTTP server. It's becoming quite obvious that I won't get accurate numbers if the tool being used doesn't parse any output (the JavaScript and HTML). Does anyone know of a ...
1
vote
1answer
2k views

facebook like button not displayed in firefox

when I access my site in firefox, the like button did not appear: js-projects It worked in safari and chrome, only disappeared in firefox. the javascript code of loading like button can be found ...
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, ...
0
votes
0answers
264 views

Javascript FileSystemObject::CopyFolder error

I have an old Javascript ..er..script that we run on installs here (with cscript) that stopped working properly somewhere after the beginning of last year. I'm trying to figure out why. It looks like ...
1
vote
1answer
638 views

Javascript to Automate Paths to Layers in Photoshop

I am looking for a javascript that can run within Photoshop. Ideally, the script will convert a series of clipping paths to layers - and then fill the layer (defined by the clipping path) with black. ...
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 ...
0
votes
1answer
2k views

Is it possible to enable JavaScript injection in Chrome 15?

With Chrome 15 one is now able to sync search engines (finally). I had a few that executed JavaScript, but they no longer work in the new version because I am not able to execute scripts from the ...
3
votes
2answers
159 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 ...
5
votes
2answers
2k 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 ...
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 ...