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

learn more… | top users | synonyms

0
votes
0answers
11 views

Force javascript to use a non-default sound device

I'm trying to force a single page that's playing audio through javascript to use a different soundcard from the rest of the browser(from the rest of the system actually). My current understanding is ...
0
votes
0answers
9 views

Did Prezi really switch to JS + Canvas? [on hold]

I've read that Prezi reimplemented their presentation player in Javascript using <canvas> after using the Flash-based one for years. However if I open any prezi in my browser, such as this one, ...
1
vote
0answers
16 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 ...
0
votes
0answers
11 views

How to code specific Print Screen size function [closed]

I am looking for a to code the printing of a specific size using the default onclick="window.print(); I have a coupon that I am allowing users to print out that is 2"x4", but when you go to print it ...
0
votes
1answer
28 views

Download full web page: css, js, images and one or more levels of links

I am trying to download a web page including everything. I tried several methods and so far what worked better is the build in save page in Firefox, nevertheless it does not allow me to include one or ...
0
votes
0answers
23 views

Is it possible to have IE10 developer tools launch JavaScript debugger during infinite loop?

The issue is that my client has an application that is deployed to IE8 and IE10. The application doesn't work on any other browsers. Occasionally end-users are reporting browser crashes, where they ...
0
votes
1answer
36 views

Is there a greasemonkey script that will DISABLE right-clicking entirely in firefox? [closed]

This might be a bit of an odd question given the nature of most things I've found while searching for this. The norm wants to enable right-clicking on sites that block it. I don't have this problem, ...
0
votes
0answers
13 views

JavaScript in Unity wont work correctly [migrated]

I recently started making a new game and I'm kinda an amateur coder. var FlashlightOn : boolean = true; function Update () { ButtonClicket(); } function ButtonClicket () { if ...
0
votes
0answers
13 views

UglifyJS only compresses my JS file

How to setup UglifyJS in intellij idea to compress and mangle all of my JS files? Right now I only have compress enabled. I went over this article: LINK After I setup a file watcher the script seems ...
-1
votes
1answer
32 views

Re-enable right click on the Images where it is prevented

I swear that I don't have any bad Intentions, I just want to know the reason. In the below you can see an alert that this website returns when I do a right-click on the Images : I want to ...
0
votes
0answers
18 views

Notepad++ function list: Account for jquery listeners in javascript class

Notepad++'s function list works decently well with PHP and Javascript. I am having an issue with DOM listeners breaking my FL structure though. Does anyone know how to solve this? Here's a ...
0
votes
0answers
20 views

Allow Tampermonkey scripts in ScriptSafe in Chrome

I am using Google Chrome with Tampermonkey and ScriptSafe extensions. ScriptSafe blocks all the scrpts installed in Tampermonkey. I am wondering if there is anyway to make ScriptSafe to allow ...
0
votes
0answers
27 views

Block pages opened from JavaScript

Some websites open pages in a new browser window automatically, thanks to JavaScript. For example, when clicking at a play button, the video starts and another page gets opened in a new window. AFAIK, ...
0
votes
1answer
35 views

Regex for cron pattern not working

Tried to create a (simplified) regex for cron patterns for myself and came up with the following one: ^(((\d+(,\d+)*)|(\d+-\d+)|(\*(\/\d+)?))(\s+(\d+(,\d+)*)|(\d+-\d+)|(\*(\/\d+)?)){4})$ This is ...
1
vote
0answers
31 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(); } ...
2
votes
2answers
1k views

What is Best-Deals-Products and is it malware?

I have found something that I suspects to be malware/addware. Script is added in every website I visit, even once I made myself. This is added in the : http://puu.sh/dgIF0/0c452eb390.png and iFrames ...
0
votes
0answers
104 views

FireFox's NoScript equivalent for Opera Next

It's good that Opera Next has the built-in ability to disable JavaScripts for websites by default. But it's tedious to open the corresponding settings page and add an exclusion if we want to enable ...
0
votes
0answers
14 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 ...
1
vote
0answers
29 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
38 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
25 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 ...
1
vote
1answer
47 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
210 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 ...
0
votes
2answers
55 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
1answer
56 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
33 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
33 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
1answer
23 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 I can't figure out how. Does anyone else have this problem?
5
votes
3answers
722 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
62 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
139 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
14 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
42 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
22 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
58 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
123 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
57 views

Only the first row is accessed on the foreach loop

What I want to 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
19 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
95 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
98 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
28 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
50 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
113 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
64 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
62 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
1k 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
135 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
7k 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 ...