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

learn more… | top users | synonyms

0
votes
0answers
14 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
56 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
58 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
2answers
52 views

HTML select drop box with if statement and alert box

I want to make an HTML select drop box with 25 options. After selection I want with a command button to show an alert box showing the type of the selection. Options are divided to three (3) types: ...
0
votes
0answers
28 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
731 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
50 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
11 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
30 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
24 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
36 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
16 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
73 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
76 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
14 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
71 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
191 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
16k 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
16 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
598 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 ...
15
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
24 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
24 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
28 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
853 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
21 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?
0
votes
3answers
30 views

Why can't I identify the elements on the history page in Chrome?

The first element in the chrome history is a checkbox whose id is checkbox-0 But I can't see it from the console. I can't see any checkboxes from the console. and see this pic The elements ...
10
votes
2answers
5k views

How to prevent JavaScript alerts that fire when leaving a page?

Lots of pages have alerts when you leave them: if you close tabs, navigate away without saving, etc, there are numerous reasons why a site would alert/block you from leaving until you confirm an alert,...
0
votes
0answers
25 views

Disabling fancy animations for heavyweight websites

I am currently using a low end laptop with the Chrome browser and sometimes I stumble upon a heavyweight website that I want to visit. (for example: http://www.recalbox.com/). Chrome on my laptop can'...
0
votes
0answers
41 views

Chrome Extension to record user events in a webpage?

Is there any Google Chrome Extensions that record the user doing events and display as a template of what are the events occurred in the page. For example , if a user goes through certain links by ...
0
votes
1answer
36 views

Multiple redirects on lighttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> ...
0
votes
0answers
79 views

View local webpage using Powerpoint's LiveWeb add-in

I realize this exact question was asked here, but I haven't had any luck viewing my particular webpage within Powerpoint with the LiveWeb add-in. I recall reading somewhere to enter the local file as ...
15
votes
4answers
7k 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 ...
19
votes
2answers
8k views

Javascript trick? How does scribd make it difficult to even copy & paste text

Lately, I have seen that scribd makes it very difficult for users (free users) to browse through a document hosted on their site. There is no ability to search within a document, let alone being able ...
2
votes
2answers
3k views

How to get IE to open JavaScript as text

I am running IE 9. Up until last week sometime, if I would put the URL of a JavaScript file in the address bar, it would show the JavaScript as text in the browser window. Now when I do that, it wants ...
0
votes
0answers
101 views

keep on screen soft keyboard visible in chrome on surface pro 3 windows 10

I have a web app that I'm running in chrome - I want to keep the keyboard visible on screen at all times. I've selected "automatically show the touch keyboard in windowed apps when there's no keyboard ...