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

learn more… | top users | synonyms

1
vote
1answer
30 views

Multiple downloads from public source (web site), how to bypass “click on OK button” triggered by Javascript?

I'm trying to download multiple data sets from a public source, the European Union Transaction Log. I'm using the "Allocation / Compliance" search tool (in the left blue pane). From there I must ...
1
vote
1answer
217 views

How to toggle JavaScript on demand (Chrome browser)

In Chrome, I know how to manage exceptions by pointing my browser to chrome://settings/content so as to disable JavaScript on just a few sites. But there's this one site which was coded badly, and a ...
1
vote
1answer
108 views

3D visualisation and simulation in a browser? [closed]

I'm looking for framework to develop a simple 3D simulation and visualisation JavaScript app. Basically I need to set up a few parameters, and then hit start and see the particle flying in 3D. I ...
1
vote
1answer
29 views

Disable the `onselectedtext()` Javascrip method in Firefox

Many websites use the onselectedtext() method to pop up messages ("Read Aloud" or "Embed Quote") when selecting text on a webpage. I habitually select text to find my place when reading, so this ...
1
vote
1answer
10k views

JavaScript injection script, how to remove?

today I started to notice a very strange behavior. At some intervals my web pages in Chrome browser changes its web address to some javascript code javascript:try{if(document.body.innerHTML){var ...
1
vote
2answers
225 views

Powershell ISE 3.0 Intellisense for other programming languages

I really love using Powershell ISE - something about it makes me want to work with it; everything just fits together well, and it is smooth. Also I love the way intelligent autocomplete is ...
1
vote
1answer
114 views

How can I use bookmarklets in IE11 that involve cross-site scripting?

I'm trying to use some bookmarklets that involve loading javascript from a trusted website. In particular, OpenSpritz and Squirt I have Squirt working in Chrome, but I use IE11 for the most part. ...
1
vote
1answer
843 views

How to play video (mp4) fullscreen using html and javascript like youtube?

If you go to m.youtube.com from android using Chrome when you go to a video you see a preview (static image with play button overlay). As you click the image the video starts fullscreen. I wish to do ...
1
vote
1answer
814 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. ...
1
vote
1answer
113 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 ...
1
vote
1answer
2k views

Firefox 21: Error Console Doesn't Display Error Messages

Windows 7 Professional Firefox 21.0 Hi, The error console ( Tools > Web Developer > Error Console ) in Firefox is not displaying Javascript error messages under any circumstances. I get these ...
1
vote
1answer
546 views

Google Chrome Resources Directory

about a year ago I remember making a google-styled application with JavaScript/HTML (very basic). I went back to making a similar app but started from scratch using JavaScript/HTML5/CSS3 and Python ...
1
vote
1answer
743 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 ...
1
vote
1answer
834 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
1answer
1k views

Can I prevent Internet Explorer 8 from running scripts until the page is loaded?

When trying to veiw a number of different websites in IE8, I get the following error message: HTML Parsing Error: Unable to modify the parent container element before the child ...
1
vote
1answer
773 views

Command line query to linkdecrypter

I would like to create an script that I can run from my bash command line to make a query to the service given in the webpage http://linkdecrypter.com/ For instance I would like to run something like ...
1
vote
1answer
138 views

Stopping Flash/Javascript Loaded Images/Videos in Firefox

I would like to stop flash and javascript loaded images from automatically loading in FF. How can I accomplish this with the use of add-ons? Please note disabling javascript by default is not an ...
1
vote
1answer
431 views

Block certain script in the Chrome / Chrome DevTools

Is there a way to block, let's say some_script.js from domain.com, but not all of them?
1
vote
2answers
2k views

Vim JavaScript code folding

I have been trying to set up code folding in Vim for JavaScript but the default isn't working correctly. I have little experience with Vim and have a hard time understanding the help files (as proven ...
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 ...
1
vote
2answers
996 views

Capture STDOUT/STDERR of Windows Applictation

I am using an open source application (conkeror) which is configured via a file containing javascript. Any issues with the javascript is printed to the console. This is fine under Linux as all the ...
1
vote
3answers
721 views

How to make transparent fade for underneath color (ie. underneath layer) in Photoshop?

I want to make a transparent fade for the underneath color so that it could be possible to change the color dynamically (through JS) without losing the effect of the fading. How would I go about doing ...
1
vote
1answer
622 views

Extremely Slow Javascript Performance Across Multiple Browsers

I am experiencing extremely slow Javascript performance under CentOS across all browsers I have tried. It is to the point that for sites that make heavy use of javascript (such as this one) that my ...
1
vote
2answers
206 views

Enable IE6 to run JavaScript

How do I enable IE6 to run JavaScript? Where in the settings do I set this option?
1
vote
1answer
455 views

How to improve the way I use Textmate for Ruby on Rails, HTML and Javascript?

I use the latest version of textmate for all my Rails development needs and I feel that I'm under-using the possibilities or this software since I only installed the ruby on rails bundle and use ...
1
vote
0answers
40 views

Web Browser / slow computer - “Stop running this script?”

(Not my computer, a friend's who I will call Beth for ease of reading, so will provide what I can) Computer displays this pop up on start up. Computer is very slow, sometimes unresponsive: Things ...
1
vote
1answer
25 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 ...
1
vote
0answers
25 views

When javascript is blocked on Opera browser, to allow comments in Youtube to be showed, what urls should be included in the exceptions?

When blocking javascript globally and allowing "[*.]google.com" and "[*]youtube.com" on the exceptions list, Youtube will load ok and videos play as well, but the comments on the video pages won't ...
1
vote
1answer
156 views

Is there any way to block javascript pop-overs in Firefox or Chrome? [duplicate]

Like the kind pointed to in this image Many sites have these, and I find them highly annoying. Often you'll be reading an article and suddenly the pop-over blanks out the page and asks "WOULDN'T YOU ...
1
vote
1answer
78 views

Pathogen - only some of vim plugins work

So recently I installed Pathogen along with a few plugins like NerdTree, and Solarized and they both work really well. Today I tried to install Ruby indentation plugin ...
1
vote
1answer
73 views

javascript not working in ie 10 (win7 - 64)

I have tried so many time to enable active scripting, but I cannot seem to get ie 10 (or 11 - i backed down to 10 as a wild stab at solution) to do anything with javascript. Firefox and Chrome both ...
1
vote
0answers
64 views

How to change syntax for a specific folder in Sublime Text 3

I write JS projects in ES5 and ES6. I installed Babel-Sublime for highlighting Babel supported code. Now, I open a .js file written in ES6, goto "View -> syntax -> Open all with current extension as : ...
1
vote
1answer
89 views

What happens to a site that is NOT in trusted sites?

Anytime that I open a web app (uses javascript ESRI code) via window.showModalDialog I get the following error: Using window.open does not cause any issues. I have played around with privacy ...
1
vote
0answers
21 views

web developing terminology (navigation) [closed]

Okay when programming a website you come across options like to use Ajax or not to use ajax. Ajax is the ability to load the result of a resource such as PHP without reloading the page. What is the ...
1
vote
0answers
101 views

how to change the file download location of firefox using javascript

i need to export some files on local machine . so i need to choose some location to save files. Instead of that i need to exported file in certain location in my local machine automatically. Is it ...
1
vote
0answers
104 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 ...
1
vote
0answers
56 views

How can I find out what a remote script does before I let a website run it?

I use NoScript (on seamonkey, on Ubuntu linux) to defend myself against irrelevant scripting. However, many sites use a mix of scripts I will tolerate and scripts I do not want running (such as ...
1
vote
0answers
36 views

how do I prevent websites from automatically playing mp3 audio without turning javascript off?

Some websites like http://www.publika.ro/ use javascript to automatically load and play mp3 audio. How do I prevent any site from automatically starting playback, without losing the ability to run ...
1
vote
0answers
47 views

Chrome Debugger skip wrapper functions, until they call the real function

I am debugging in Chrome, there are some functions that are just wrappers, and I want to quickly skip them, something like this: function breakpointHere() { step1(); callWrappedFunc(); } ...
1
vote
0answers
150 views

Is there a way to 'clean out' physical memory (RAM) that is tied up on my Centos/Apache webserver?

I am developing something that requires Server-side javascript, and as such am using PhatomJS to run the JS. It uses up about a 1GB of physical memory when all is well, but if I screw up some ...
1
vote
0answers
197 views

Logging into a website throws up some code

So I was logging into a website earlier today on my PC, and this gets thrown up for me " + ""; return head; } function htmlFooter() { return "" + ""; } function hideFrames() { var gqFrame = ...
1
vote
1answer
435 views

Thunderbird 31.0 running embedded JavaScript in email

I wish to disable support for JavaScript embedded in HTML-formatted emails in Thunderbird. What is the recommended way of doing this? In case no one else has this issue, I've been using Thunderbird ...
1
vote
1answer
324 views

How to save a web app to static HTML?

I have a webapp that I want to save the HTML of to create a static version of a page I can send to someone. Obviously 'save as' won't work. Is there a way to save the currently displayed DOM as HTML, ...
1
vote
0answers
32 views

Is there an easy way or script to let me email direct from Adobe Illustrator?

I do a lot of artwork and I really wish there was a way i could email direct from Illustrator. I have to manually save as PDF then go and find the file then right click it and do send to > mail ...
1
vote
1answer
33 views

Browsing image gallery websites with two windows

Imagine an arbitrary image gallery website (i.e. deviantart.com). You get an overview of thumbnails and upon clicking these, you're usually redirected to a dedicated page showing the enlarged version ...
1
vote
1answer
76 views

Save javascript image

My daughter's school is posting nice pictures of her but unfortunately it is not possible to save them as they are displayed using javascript (right click on image then "save as..." only saves the ...
1
vote
0answers
100 views

MSIE11 Developer Tools not showing requests made by EMBED element

UPDATE: I assume the cause behind this weird behavor is that some plugins (WMP, VLC, ...) in some DOCTYPEs talk to the remote server directly, therefore browser simply can not detect their requests. I ...
1
vote
0answers
157 views

Firefox shows weird code when all tabs are closed

When I close the last tab by clicking on X on Firefox, it displays a long and weird JavaScript from http://s.ytimg.com/yts/jsbin/html5player-tr_TR-vflTXVVD8.js. Is this a bug? What does that code ...
1
vote
1answer
225 views

Mirroring a web site having pages that uses simple JavaScript [duplicate]

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
1
vote
1answer
4k views

Access-Control-Allow-Origin '*' not allowed/working with Apache2

I'm trying to connect to hood.ie via Javascript: hoodie = new Hoodie('http://example.com:6001'); But then get an error: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header ...