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

learn more… | top users | synonyms

0
votes
0answers
48 views

How can Google Chrome download URL shortcut as a file?

it may be silly, but i want to make a link on a page that downloads a shortcut of the link to user desktop (instead of bookmarking the page) Basically I've crated a shortcut name "LinkToMyWebsite.url"...
5
votes
4answers
5k views

Is there a browser extension that bypasses restrictions of pasting passwords?

As one example out of many, if you go to https://appleid.apple.com and click to manage your account, you can't paste your password in the password field. There is some javascript that prevents that. ...
0
votes
0answers
21 views

Stretch Javascript Code to fill the web page

So, I recently am working on a game in RPGMaker MV. The thing is that I set up a website for testing with the game loaded on it. The thing is that the game on the website always runs in the resolution ...
0
votes
2answers
1k views

Running Javascript files (.js)

I've noticed that if you try and run (not edit) a Javascript file, instead of going to edit. It will come up with an error. This error normally sounds like it is missing a reference (your code, not ...
0
votes
0answers
16 views

is javascript:alert(document.lastModified) wasted effort these days?

I forgot then relearned about this wonderful gem javascript:alert(document.lastModified) it gives you an alert window of when the webpage was last modified. These days it seems to never work though ...
20
votes
4answers
32k views

Use AdBlock without being detected

Upon visiting a site today I was rewarded with Comic Sans. Behold it's glory: Source Needless to say I can finally understand why so many people loathe this font. However, this does bring up a ...
1
vote
2answers
32 views

Firefox frequently hanging, but no Javascript? Browser environment corrupted?

Recently my browser (Firefox latest version) has been hanging when visiting heavily commercialized sites even though I have Javascript and YouTube and other programmatic features disabled. How can a ...
0
votes
1answer
77 views

Run each protractor test file separately in Webstorm

Protractor can be run and debug from Webstorm by adding a new configurations, but that will run all the spec.js files that matches the file pattern. I want to run a single test file without changing ...
0
votes
0answers
57 views

Why is my Antivurus finding a virus on StackOverflow?

This came as a total surprise to me. I am using Avast Antivirus 11.1.2253 with virus definitions version 160330-3 on a Windows 8.1 and a Firefox browser. The issue: While reviewing some SO ...
2
votes
2answers
2k views

How to run .js file in Eclipse IDE for JavaScript Webdeveloper?

I am learning JavaScript at the moment and have just installed the Eclipse IDE for JavaScript Web Developers. I have created a new project and created a new file with an extension of .js. I have ...
0
votes
1answer
41 views

How I can use Commonmark.js

Here is a quote from official repository: For client-side use, you can do make dist to produce a standalone JavaScript file js/dist/commonmark.js, suitable for linking into a web page, or fetch ...
0
votes
0answers
15 views

RHN + Rollback from a Snapshot return error

I am using the RHN version 5.7 And after I created snapshot and update the Linux machine with errata update Now I want to perform a rollback I am trying to perform rollback from a snapshot as ...
2
votes
2answers
66 views

Can I retrieve and access a simple JSON object via HTTP in LibreOffice Calc?

I've located a web API resource that I'd like to access from LibreOffice Calc. It returns a simple JSON/JavaScript object that's basically just a handful of name value pairs, one of which I want to ...
8
votes
3answers
13k views

Why does editing javascript in Chrome Developer Tools not work?

I have Google Chrome 13.0.782.220 on my Ubuntu 10.04 LTS (64-bit). I try to edit a JavaScript code from an external JS file in the Chrome Developer Tools Scripts pane by double-clicking on the ...
1
vote
0answers
100 views

How to open javascript links in a new tab using tampermonkey / greasemonkey

I use a website for work which employs frustrating JavaScript links. The following post offers a solution: How to open stubborn javascript links in a new tab or new window? However, I haven't been ...
0
votes
0answers
3k views

Browser Hijacker - Can't find any information on it

My browser in Chrome and Firefox has been hijacked. I have run malwarebytes, rkill, combofix, adwcleaner, spybot, and many others. Nothing is found. I have now blocked scripts with noscript and ...
0
votes
0answers
33 views

How do I copy text in firefox with custom JS

This subject is related with this one. But I didn't found a solution that works. The answer that is marked is just specific for some site, and @Mike 's answer doesn't help. I have a lot of sites, ...
3
votes
1answer
736 views

Flip (mirror image) form field or page in Acrobat PDF

Is it possible to flip a form field OR flip an entire page horizontally using javascript in Acrobat 9 ? Either one would work for our purposes. The Acrobat SDK gives the ability to rotate, but we ...
-1
votes
1answer
58 views

What layer of the OSI model do people normally think of javascript working on?

I know how the OSI model works essentially (and that they're slightly different), but I was wondering what layer of the OSI model people normally think of javascript running on.
0
votes
0answers
12 views

Javascript not being read externally from local network

I am writing various mapping pages using ESRI's javascript api (3.16), and have run into an issue I don't know my way around. The sites work fine when the js is held within the head tag of the html ...
1
vote
0answers
31 views

Prevent Javascript from manipulating browser history

I noticed that some sites manipulate the browser history using javascript. This sometimes leads to some annoying things like prevents you from using 'back' to return to a previous site. Or dangerous ...
1
vote
1answer
35 views

How do I activate code folding/collapsing for Javascript in Notepad++?

For some reason, my Notepad++ is not showing the +/- buttons for collapsing code blocks in JavaScript. This: shows what I am seeing in my Notepad++ on my personal PC. On my work laptop, there ...
0
votes
0answers
28 views

Why are apps built with js lagging on windows 10

It only started to happen for the last few weeks. Certain apps like Pushbullet, Slack, Messenger, Atom and so on are lagging so bad I can hardly move my mouse around. Even though my computer can ...
0
votes
0answers
48 views

Video view/plugin vine and Instagram use

What video view or plugin does vine and Instagram use for their apps and websites, like for the unique look and tap to like and in focus video playing
0
votes
0answers
21 views

Add command line option to JSHint in Eclipse

Is it possible to pass a command line option to the JSHint executable of the Eclipse plugin? I want to ignore W080, and it does not exist a config option for that error.
0
votes
0answers
20 views

Change background color of my favourite site [duplicate]

Is there any way to change background color of my favourite site (like MSDN for example)? The reason I ask is that my eyes really don't like white.. Any scripting/CSS trick.. I'm not a FireFox user ...
0
votes
0answers
78 views

How can I protect specific web pages from URL sharing? Temporary URLs?

This is a technical question which is based on implementing a special feature on an website. I know HTML and CSS, I know crude JavaScript (very basic) but I have no clue about PHP or other web-based ...
0
votes
1answer
83 views

How to get the URL to the current search engine in Firefox?

To get the name of the current search engine, it's enough to read browser.search.defaultenginename. However, to get the URL to the search engine (for example https://duckduckgo.com/?q=), I have no ...
1
vote
0answers
20 views

How can I get custom Javascript formatting in Sublimetext?

I want to implement code formatting like this but don't know how to do this or how this is achieved. var inherits = require('inherits'), stream = require('stream'), Stream = ...
0
votes
0answers
17 views

Automatically Running a Script On a Server?

Background I have a few javascript scripts that I'd like to automatically run at a certain time on a server (e.g. I'm thinking of using Heroku). These scripts essentially add a product of my choice ...
0
votes
1answer
88 views

How to run a js file from windows terminal?

In order to have the measurements displayed of a photocell linked to an Arduino on the terminal, Iam trying to execute a node.js server. It's from a tutorial made by Adil Moujahid I tried to follow ...
4
votes
1answer
194 views

How to prevent Fingerprinting via Font Enumeration

I don't mean using Noscript or just not installing fonts, I'm trying to find a way of outright denying Flash, Java, and JavaScript the ability to look at my fonts. I've checked the fonts folder and it ...
6
votes
4answers
17k views

Is there a way to disable a specific JS script from a specific website?

I want to disable a specific JS script from a specific website without disabling the javascript completely. Is there a way to do that ?
0
votes
0answers
10 views

Adjust container height in jQuery jsslider plugin

How to adjust the height of JSSlider container ? http://bastiaanjacobs.nl/2014/04/09/sharepoint-2013-rest-slideshow/ http://slidesjs.com play: { active: true,`auto: true,`interval: 5000,swap: true ...
0
votes
0answers
17 views

Enable JavaScript in Toshiba Printer's embedded browser

I am trying to set up my Toshiba e-Studio 287 printer to be able to upload its scans to Dropbox. The easiest way I have been able to find so far is to use the embedded browser to go to the Dropbox ...
3
votes
3answers
5k views

Is there a way to run Javascript without a browser, like a shell or batch script?

Is there a way one could run Javascript the way Python, Bash, Windows Batch or other scripting languages are run? File access and other library functions would be nice but are not required - I'm just ...
4
votes
2answers
7k views

How to close large Javascript Alert windows on Chrome/ OSX

I'm using Chrome 14 and OSX 10.5.8. If a website generates a Javascript alert window with a lot of content (like debug information) the bottom of the window disappears off the screen. This places ...
1
vote
1answer
606 views

Does javascript have access to my bookmarks and history?

I'm using RefControl addon for firefox, to avoid sending the referer in the headers. But now I'm wondering if the previous page or even my full history can be viewed by websites with javascript. And ...
16
votes
5answers
9k views

How to make Firefox always stop a script when it's not responding

On some pages I get the "Script not responding" error with an option to stop it and a checkbox to never ask again. Later I get the same question again, with that pointless checkbox. How do I make ...
0
votes
0answers
27 views

Setting up Visual Studio IDE linting and indentation like it's Atom IDE

for job requirements i have to use Visual Studio Community, the problem is that i always use Atom from github as IDE. I have Atom linters plugins installed: eslint, jscslint Then after installing ...
2
votes
2answers
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 ...
1
vote
0answers
26 views

How to get complete page back in Google Chrome

I was working on a js fiddle and got carried away. I did not think to save and then I hit the reload instead of run, and now I lost a bunch of work. Is there any way to get the cache back? All I need ...
0
votes
0answers
35 views

How can I call up responses from a button? HTML & Javascript

I am trying to figure out how to how to call back which button a person pressed without using my inefficient method of multiple functions. The code is below. I tested it out and this works for what ...
0
votes
1answer
1k views

What are some ways to use my browser, Chrome, as a JavaScript interpreter?

I use an online interpreter. It's just right up there on my favorite's bar. Very convenient for me.... I'd like to see the error messages my browser will give me rather than the messages the ...
0
votes
0answers
31 views

How to prevent these sudden ugly popups in Chrome? [duplicate]

How do I stop those ugly in-your-face popups in html5 from showing? (Most ask for sign up to their newsletters) I installed Pop-up Blocker which seemed to work for most sites but did not for PCMag....
0
votes
0answers
867 views

eps ai to png adobe illustrator js script, how to make it look in sub folders?

I found this script online which allows you to batch convert .ai or .eps to png however it only works on one folder at a time, could someone help/tell me what to adjust to make it work on subfolders? ...
22
votes
4answers
4k 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 ...
0
votes
1answer
2k 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
22 views

How can i download all js files from website with folders structrure

I have webapplication build in ExtJS javascript library. IN the firebug i can see all js files which the site uses with paths. I think some js files are dynamically pulled based on click. But when i ...
1
vote
4answers
7k views

Block “document.location” Javascript redirect on one page

I have a site where I want to prevent the page from reloading using a document.location in a script tag. How can I do this in Firefox?