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

learn more… | top users | synonyms

0
votes
2answers
27 views

Embedding an excel file on a website for further editing?

I have been provided with an excel sheet that has a tonne of calculations on it (an economics model) and have been asked to place it online. It would take days to debunk and code into a webpage, so ...
-1
votes
0answers
5 views

Error while calling javascript function twice [migrated]

var ret = 1; ret += Checkyou( "Rock" ); ret = Checkme( "Sensitive" ); ret += Checkme( "Brave" ); function CheckMe(SvcName) { CheckMe = 1; var Pro= SvcName.toLowerCase(); var loc = ...
0
votes
0answers
7 views

Can I retrieve Firefox localStorage data for a URL that no longer exists?

Kind of a weird question, but here's the basic situation. A while back I wrote a basic little todo app for use by some coworkers on an internal corporate network, and I was hosting it on a shared ...
0
votes
0answers
10 views

how to create a bookmark file with multiple javascript bookmarklets

I have created a bunch of javascript bookmarklets and would like to import them all en masse into Firefox. I considered creating a Netscape formatted bookmarks.htm file but all of my javascript ...
-1
votes
0answers
32 views

Disable JavaScript *scrolling* in Chrome

I am sick of websites like this one that hijack my browser's natural scrolling in an apparent attempt to make it smoother or something (?). But I have a ratchetless mouse wheel that gives me very fast ...
-6
votes
0answers
19 views

designing a website in javascript [on hold]

i am new to javascript, i got a template for a website that runs intensively on javascript, i can't get it to work, basically the website has a frontend and backend, it is the backend that i can't get ...
1
vote
1answer
35 views

Browser inside a browser

My employees and I frequently need to open several internal web pages next to each other on the screen. Currently we do this by opening several Chrome windows and spending time to arrange for ...
14
votes
3answers
5k views

How to enable inline JavaScript autocomplete in Eclipse IDE with the Aptana extension

Background I have Eclipse IDE. 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 ...
0
votes
0answers
10 views

Something like OpenProcessing and ShaderToy for python, javascript, julia etc [on hold]

I'm enthusiast in computer graphics and physics related computer simulations. I like a lot processing (kind of java), and hosting of sketches openprocessing (but now it kind of sucks because of java ...
-2
votes
0answers
12 views

write subfolder name to array in js [on hold]

I have a program (for android) and even if my phone comes with a file explorer, i can't use the <input type="file"> tag so i need to build a file browser. I already have the var location = ...
0
votes
0answers
5 views

Chrome JavaScript exceptions

I typically use Chrome with JavaScript disabled via the Content Manager, allowing certain sites via exception match rules. I've tried writing an exception rule to allow JavaScript on pages that are ...
0
votes
3answers
532 views

how do I block downloading data from a web domain, including by javascript code?

I am unhappy with google's javascript loading various BS from *.gstatic.com domain. I tried telling my firewall to block *.gstatic.com but apparently this only blocked loading webpages into the ...
0
votes
0answers
29 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 ...
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
13 views

If a live audio input and adjust the volume by using the web api

enter image description here I want to make a cross-platform application for deaf people. from pic run only on the web but on mobile it does not work. Why? ...
3
votes
1answer
3k views

In Google Chrome, how can I get rid of the big gray box that displays “The server refused the connection.”?

I got sick of blocking sites such as facebook.com and facebook.net per browser, and decided to add them to my /etc/hosts file so the sites would be blocked entirely: 0.0.0.0 facebook.com facebook.net ...
0
votes
0answers
12 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 ...
2
votes
1answer
5k 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 ...
8
votes
1answer
846 views

<noscript> is triggered for no reason in Chrome

I think I found a bug in Chrome, and I kind of have no idea where to post but it may as well be a misconfiguration on my part or something. Here is the issue. I'll include a screenshot which should ...
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
1answer
7k 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 ...
0
votes
0answers
9 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 ...
-2
votes
0answers
10 views

Autocomplete data not being set properly in dynamic row list

HTML: I have a table to generated dynamic row. This charge name input field is for Autocomplete, generated on AJAX. Ajax request is giving me charge name and charge id as JSON. <c:forEach ...
17
votes
4answers
19k 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
28 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
29 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
41 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
21 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
11 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
36 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
36 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
39 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
22 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
722 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
41 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
26 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
23 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
23 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
20 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
11 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
61 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
70 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
12 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
43 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 ...