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

learn more… | top users | synonyms

0
votes
0answers
38 views

Google Chrome doesn't load small images (icons)

Something is wrong with my Google Chrome. Many times, it doesn't load small images associated with DOM objects such as edit boxes, text views and such (i.e. Icons or whatever). It shows a rectangle ...
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
1answer
39 views

Sublime Text 3 Automatically adds Javascript to Ignored Packages

I'm running Sublime Text 3 with the following Packages: "CSSLint", "HTML-CSS-JS Prettify", "Javascript Beautify", "JavaScript Completions", "JavaScript Ultimate", "JSLint", "Package Control", "Theme ...
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 ...
0
votes
0answers
17 views

running an html page on localhost from another html page

I'm using this Google Developer javascript to read the next event in my calendar. (https://developers.google.com/google-apps/calendar/quickstart/js) It works fine by using http://localhost:8000/...
0
votes
0answers
21 views

Recommendation of CI Tools for JavaScript package

My company is building a javascript library that works very much like a google analytics javascript package: Our customers are adding a <script> tag. The javascript code is running against our ...
16
votes
3answers
6k 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 ...
9
votes
2answers
949 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 ...
-1
votes
0answers
12 views

Pass variable through new <script> element [migrated]

this function with function setStorage() { localSorage.setItem("value", radio); } can only be executed and allow other functions to be executed if it is in a separate <script> element. ...
0
votes
0answers
6 views

Integrating a javascript framework into Chrome

Browsing github I stumbled upon this, and reading the description it says there You can use it in any JavaScript environment (Browser, Electron, Node.js). Now this got me curious. How do I ...
0
votes
1answer
28 views

Blocking the ISP's ads appearing after a possible DNS grab and redirect via port 53?

I'm asking this question here because I already asked it on ProWebmasters and the moderators said the people on SuperUser might be able to answer it. The question: http://webmasters.stackexchange....
0
votes
0answers
18 views

How to store info on client machine without using cookies in JavaScript [migrated]

I am building a little HTML program (well, not little), but I have got options that I would like to permanently write to the client's machine without using cookies. reason being is cookies will expire,...
-1
votes
2answers
44 views

How does this website know I have copied data (and how can I stop it?) [closed]

Navigate to the following website: www.currys.co.uk - and look at any product. Here's a TV for example: http://www.currys.co.uk/gbuk/tv-and-home-entertainment/televisions/televisions/panasonic-viera-...
0
votes
0answers
9 views

Update Local HTML Template in CMS

I have built an HTML template for an ongoing project that is being reused multiple times by multiple divisions. Each time the topic, all the copy and images change, and we update the HTML/CSS file, ...
0
votes
1answer
31 views

How to use javascript for calling terminal or windows command in Client Side?

I want to use javascript for send command to command line for Client side , How to take it ? or it can possible? thank you
1
vote
1answer
39 views

Send separate attachements in Outlook 2010 to separate email addresses

I have separate attachments I want to send out to 70 different email addresses. Is there some kind of macro or script one can run to make this possible instead of having to send each email one by one?
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
16 views

Run Javascript on a webpage on a server

I have a Ubuntu Server VPS. I want to use it to run Javascript on a specific website (which requires to log in, to see the page I want to execute the Javascript on). How can I do this without using ...
4
votes
4answers
9k views

How to get Firefox Greasemonkey script to use a local cascading stylesheet?

What's the correct syntax to link to a CSS file in the same directory as a Greasemonkey JavaScript? I've tried the following but it doesn't work: var cssNode = document.createElement('link'); cssNode....
0
votes
0answers
18 views

Jenkins hosted website: misleading message: “Please activate JavaScript to enable the search functionality”

I have a strange situation here: A html folder generated by Sphinx is being http-served with two different HTTP-servers: a Python-based HTTP server started with python -m SimpleHTTPServer a nginx ...
-1
votes
0answers
15 views

Find solution for Guacamole html5

I am using Guacamole (Web RDP client developped with angularjs) and I would like to pre fill the login field. i try so many think.but I can not find the proper solution for that. can you help me ...
-2
votes
0answers
12 views

ReferenceError: webcam is not defined

I get the webcam simply not to take a picture. Who can help me? <script language="JavaScript"> webcam.set_api_url( 'https://www.*****/webcampicture.php?id=186' ); webcam.set_quality( 90 ); ...
-1
votes
1answer
28 views

simulate(trigger) CTRL key press with click event

I am working on some kind of script. It needs to remain on the same tab when performing click event but clicked link should open in new tab. I can use Ctrl + Click but how to press CTRL ...
0
votes
0answers
14 views

Backbonejs: Multiple users viewing same UI page unable to see updates

I am working with Backbone and twitter bootstrap. The problem I am running into is when I have multiple users looking at the same UI page and one user updates a table row, the user who made the change ...
0
votes
0answers
6 views

Tokenize string synchronously in ace editor?

Is it possible with ace editor to synchronously tokenize a string whose value is not read from the editor?
1
vote
4answers
7k views

What tools can be used to download all images in a webpage?

I would like to download all images in a web page. The tool should be smart enough to examine the css and javascript files in the page source to look for the images. Ideally, it should also replicate ...
1
vote
0answers
16 views

Secure a PDF document on a future date

I'd like to "secure" a PDF document on some future date (specified by me). By "secure" I mean either of the following: the document becomes encrypted with a password (and cannot be open without one) ...
0
votes
0answers
9 views

Finding blocked elements

I run noscript on mozilla and most of the time it works just fine. However, every once in a while I encounter an element on the page that just won't fxn. I click on a button and nothing happens. ...
1
vote
1answer
35 views

Disable the `onselectedtext()` JavaScript 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
1answer
15 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
15 views

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

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? https://demos.subinsb.com/Francium/voice/
0
votes
0answers
73 views

High CPU Usage caused by JavaScript

I have a big problem with my new Ultrabook. It is a Asus UX305LA with an i7-5500U processor. The problem is, that my CPU Usage while surfing on web pages using Javascript is extreme high. For ...
-1
votes
2answers
48 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 ...
0
votes
0answers
14 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
vote
1answer
78 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 ...
0
votes
0answers
8 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
541 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
36 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
14 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 ...
18
votes
4answers
26k 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
30 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
49 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
49 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
29 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 ...