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
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
13 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
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
30 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
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 ...
0
votes
2answers
34 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 ...
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
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
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
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 ...
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?
5
votes
3answers
455 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 ...
-1
votes
1answer
46 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 ...
0
votes
0answers
68 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. ...
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 ...
0
votes
0answers
15 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 ...
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
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 ...
0
votes
0answers
37 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
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
0answers
20 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
27 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 ...
0
votes
0answers
38 views

Redirection to home page then i frame target

I am facing really technical problem for me! I am using some error variables and below iframe but when someone changes iframe the previous error keep showing on changed iframe to prevent this i have ...
0
votes
0answers
93 views

How to take Google search query and append modifers to the end of it in Greasemonkey discussion script

This is a greasemonkey question. What I'm trying to do is modify an old google discussions script. What were wanting to do is be able to take the google search query and add modifiers to the end of ...
0
votes
1answer
54 views

How do I scan Firefox on Ubuntu Linux for malicious JavaScripts?

I run Ubuntu Linux in a VirtualBox VM. I was browsing using Firefox, and I always use Adblock Plus with default configuration (EasyList) and NoScript. Then my VM lagged(mouse badly out of sync with ...
0
votes
0answers
43 views

How to run browser in background in Ubuntu

I am using Ubuntu 14.04, and PHP. I have 2 files: test.html - content java to test network update.php - the test file will post result to update database. I need to run and execute an URL address ...
0
votes
1answer
687 views

Disable “Prevent this page from creating additional dialogs” for certain websites as a user

Firefox has long had a feature to protect users from over-aggressive Javascript websites that would generate repeated pop-ups to trick or annoy visitors. Is there a way to disable this protection on ...
1
vote
1answer
102 views

How to run Javascript code on any website?

How can I run Javascript code on a website to complete a set function or rule as per the website? For example, if I'm trying to download a file from some filehost that requires a survey... Now in ...
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 ...
1
vote
1answer
30 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 ...
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?
2
votes
0answers
30 views

NiceAlert (suppresses JavaScript alert) equivalent extension for Internet Explorer [closed]

I live in South Korea which is full of cheap web programmers who don't understand accessibilty or cross-platform, etc. Many major Korean web sites are built by those kind of programmers and managers. ...
0
votes
1answer
114 views

how to print a page from web browser without print window using javascript or php

I am developing an POS application for my own shop in web. Now for that in billing section have features like select the products and print bill, this process is only two steps. However when I click ...
0
votes
0answers
449 views

Hack for running multiple iMacros in random fashion

I have 20 iMacros (for browser) and they are specific to different URLs. I run these macros one after another, and then repeat or loop all of them 10 times. But within that loop, i need those 20 ...
0
votes
0answers
46 views

Is there a way to view the hierarchical structure of javascript files while debugging (F12) in Firefox?

I'm using Firefox 29, and when I open up the debugger (F12 for web console)->Debugger Tab, I get a list of sources at the bottom left of the web console, but they're not in any particular order, and ...
1
vote
0answers
143 views

Several website functions just no longer work in Firefox for me…but maybe there's a pattern?

This is really weird, because I don't recall making any large changes or messing around with about:config in Firefox. I was on FF 30 the whole time. The problems just emerged. Here's some example: ...
0
votes
0answers
59 views

CLI tools/ways for dynamically constructed DOM structure parsing HTML Javascript

I'm planning to make a tool which recognizes HTML using DOM structure in CLI. As many sites produce many DOM elements using JavaScript these days, it's becoming difficult to extract information from ...
0
votes
1answer
471 views

Error: Unterminated String Literal

First off, I am NOT a web developer; I'm not building websites; I just want to surf the internet in peace. However, today I've started receiving this error over and over again on every website I go ...
0
votes
0answers
32 views

How can I track links that are being redirected during browsing?

I'm using Chrome on Windows 7. When I'm going on to a site such as youtube.com, I'm being redirected to site that tells me YouTube is blocked. Now, I'd like to find out – during a regular browsing ...
0
votes
1answer
67 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
0
votes
1answer
81 views

Adobe Reader cParent parameter TypeError, “invalid argument type” but menu items display

I've written some custom scripts for Adobe Acrobat Pro (I work with a lot of PDFs for scientific research) and they run just fine on Mac and Windows. Linux only has Adobe Reader, but I still managed ...
1
vote
1answer
47 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 ...