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

learn more… | top users | synonyms

0
votes
0answers
9 views

JavaScript script for searching Kindle Unlimited

I have a list of about 150 books that I want to check whether or not are on Kindle Unlimited. Ideally, I'd like to write a script to automate this for me. Is this possible using AWS (preferably the ...
0
votes
0answers
14 views

Dynamically populate table data [on hold]

I am new to Web Development, and have completed only the HTML and CSS sections. I have a requirement at work, and need to do the following. Create a webpage used to book an environment for ...
-1
votes
0answers
11 views

Javascript file crashed and converted to ''NUL NUL NUL" notepad++

I had a for loop with typo (i=0; i<n; i+3), then it ate all the memory, I had to shutdown the PC and and after restart the JS file is all NUL NUL NUL NUL NUL, please help. Please help me recover ...
-1
votes
1answer
1k views

Modifying website source code to bypass survey

Whenever you open websites like downloadsafe.org there is a pop-up that you have to fill a survey. Till the time you don't fill that survey out it keeps sending request back to a server that gives a ...
1
vote
0answers
22 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 ...
0
votes
1answer
15 views

JavaScript to detect user activity?

My question is very short. Is it somehow possible to monitor/ detect the user's activity? This does not include any direct mouse input on the website itself. I've never come across something similar ...
0
votes
0answers
14 views

Recovering corrupted java script file

I had a flashdrive that went corrupted on me and i had to resort to data recovery software to get all of my work back. All went well except this file that i NEED. recreating this file would be a ...
0
votes
0answers
69 views

Adobe Reader 11 and a JavaScript error in IE11

I get a javascript "Script Error" popup window every time when it tries to auto open this page. The page contains adobe pdf files, and the script opens the pdf automatically inside the webpage/window. ...
2
votes
3answers
5k views

How to get a simple Javascript console and output [duplicate]

Possible Duplicate: Is it possible to run JavaScript in Textmate? I'm learning javascript at Codecademy They have a website with a js console and an editor. But I can't find anything that ...
0
votes
0answers
13 views

How can I show the window print dialog using JavaScript in Google Chrome? [migrated]

I’m using JavaScrpt window.print() function to print out the document. But here is a problem in Google Chrome when window.print() function is run it shows the Chrome print dialog not window print ...
1
vote
1answer
18 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 ...
2
votes
1answer
31 views

How can I block ad.doubleclick.net javascript (which seems to be slowing my browser down)

My browser is quite slow accessing a number of sites today and they are all slowing "waiting for ad.doubleckick.net" My goal is to stop the javascript call to prevent the slowdown. (I assume most ad ...
1
vote
1answer
3k views

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

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

Do web crawlers have local storage? [migrated]

The title basically says it all, but the reason for my question is this... I make a few checks before I load in any ads, and one of these checks is to see if the browser has local storage as my ...
10
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
1answer
66 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
2answers
78 views

Is it possible to enable javascript for a specific URL?

There are many users who have JavaScript disabled and deny to enable it even for some business applications. Is there any way to allow a user to enable a JavaScript for a specific URL in order to use ...
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 ...
0
votes
2answers
35 views

Should I be worry after opening suspicious Email attachment?

Yesterday, I have received this following suspicious email Normally, I would not click on any of the email attachments if I am not sure about the origin of it. But yesterday, I accidentally opened ...
1
vote
1answer
181 views

What's the option to view changes in the DOM inspector in Chrome?

I think I saw that Chrome has done this before or maybe I set the settings off. In Firefox with Firebug installed, the DOM inspector will make me see what the changes happened in scripts manipulating ...
1
vote
1answer
2k 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 ...
0
votes
0answers
19 views

Preventing javascript from grabbing arrow keys

It's becoming more and more popular for websites to grab the arrow keys via JavaScript and use them for site navigation in ways that breaks scrolling with the arrow keys. Short of NoScript, is there ...
0
votes
2answers
47 views

Can JavaScript embedded in a web page access the URL parameters of the page request?

Can JavaScript embedded in a served HTML page access the page-request URL, including its parameters?
0
votes
2answers
31 views

Determine what JS files are being served up by a website

I would like to externally audit what JavaScript files / libraries are being used by a website. This is part of a compliance audit to make sure nothing is being served up / used based on what we have ...
0
votes
1answer
3k views

How to correctly use javascript:alert(document.lastModified); to check a website last update?

I read many webpages. They said that I could use javascript:alert(document.lastModified); to find the last update of a site. I test at least 10 websites. Only the website that I made gives me the ...
5
votes
3answers
457 views

Advertisement suddenly appearing on top of almost every page

Since this morning strange advertisement is appearing on top of many pages I open in webbrowser (see screenshot at the end). It's happening in any browser (tested FF, IE and Chrome), on any of three ...
0
votes
0answers
9 views

Error message can't find class org/net beans/Main

I've loaded net beans for Windows's but still I'm recovering this error message when I try and open a new installed program? Any one know the fix? Can't find class org/net beans/main
0
votes
1answer
5k 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 ...
0
votes
0answers
10 views

Javascript alert box unblock on Mozilla

I have blocked javascript alert messages on my Mozilla browser and now I want to turn them back on but can't figure out how. Anyone else had that problem?
0
votes
0answers
13 views

How can I add a simple unordered list in Adobe Edge Animate?

Maybe I'm missing something obvious, but it appears that there's no way to add a simple <ul> element to the stage in Adobe Edge Animate. If I create a text area, the list of HTML elements that ...
11
votes
3answers
1k views

How do I prevent “Read more: www.site.com” from being injected with non-Tynt JavaScript into copy-paste actions?

There are many sites that insert something like "Read more: www.site.com" into your clipboard when you copy text in your browser. I find this abominable. A google search reveals some methods to stop ...
-1
votes
1answer
49 views

Is it possible to slow down system clock? [duplicate]

I'm playing a game that is using JavaScript to get system time, and I need the best time in the game I can get, I tried Cheat Engine but, as I said game uses JavaScript, so it is of no help to me. I ...
10
votes
3answers
1k views

How to see exception message in Google Chrome while paused?

I'm using Google Chrome for debugging JavaScript. I opened up the JavaScript Console and the "Pause on Exception" feature is enabled. Now whenever I run JavaScript that has an exception in it, it ...
14
votes
10answers
5k views

Blocking hover ads

Okay, I am done with hover ads. I am so done with it, I am starting to avoid website which implement them even though I (used to) like those websites. Obviously, it is considerably harder to block ...
0
votes
0answers
11 views

How to evaluate expressions in Eclipse EE while debugging

In chrome, when you have some javascript code, like this one: if(1 === 50) { return false; } else if(1 === 1) { return true; } You are able to highlight the expressions in the if ...
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 ...
0
votes
0answers
16 views

Wordpress Visual Composer Plugin Needed

Wordpress Visual Composer Plugin only allows me to add to this elements to the blog posts grid: “Thumbnail”, “Title”, “Text” and “Read more link”. Is there any add-on that will allow me to add the ...
0
votes
0answers
18 views

Give Vimperator key combinations (e.g. <C-i>) priority over all site specific ones

When in an input field the key combination <C-I> opens an instance of your editor where you can then write and save so the output is sent to the input field. However, when I use this key ...
12
votes
5answers
75k views

How to download the entire webpage with css/javascript?

For learning purposes, I'd like to download the html/css/javascript of sites. Using Firefox now only seems to download the html page, images/css/js are not downloaded. Is there a plugin to do this ...
17
votes
5answers
13k views

How do I set Google Chrome to not allow javascript to hijack my right click menu

I despise web sites that hijack my right mouse button via javascript. Other browsers ( like firefox) allow me to block sites from doing this. Does chrome have such an option, or does it leave me at ...
0
votes
0answers
26 views

Disabling default browser shortcuts

I am trying to disable browser shortcuts ctrl+n, ctrl+p It works in Firefox but did doesn't work in chrome. Here is my code. // prevent default system shortcuts ctrl+n , ctrl+p ...
1
vote
0answers
77 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 = ...
0
votes
0answers
36 views

Only the first row is accessed on the foreach loop

What i wanna do is to pass using javascript the following values(refer to the value of the radio button) whenever i click on the radio button. I have this code on a blade template using laravel. ...
0
votes
0answers
16 views

What logging can I turn on / dump can I retrieve in order to report this bug in Chrome?

Once or twice a week, I run into a bug in Chrome where not only all my Chrome tabs, but even all my Chrome windows, appear frozen, due to an invisible Javascript confirmation dialog. I don't know what ...
1
vote
1answer
54 views

Saving web pages containing scripts

Is there an easy way to save entire websites or isolated web pages containing Flash or Javascript?
0
votes
0answers
18 views

Is it possible to rip javascript images (chrome)?

I would like to rip entire image in maximum res and not single tiny puzzeled pieces. Is it possible to get to the source of the image and download it entirely in a whole? Like here for example ...
3
votes
0answers
2k views

how to enable inline javascript autocomplete in eclipse with aptana extension

Background I have Eclipse. I have installed the Aptana studio plugin for Eclipse. I am editing an HTML file. JavaScript auto-complete / content assist only works half of the time: Eclipse won't ...
10
votes
4answers
5k views

Prevent javascript from resizing IE window

I am looking for a way to prevent JavaScript on a webpage from resizing and repositioning my Internet Explorer window. This option is available in Firefox, but I can't find anything similar in ...
3
votes
1answer
686 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 ...
23
votes
6answers
28k views