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

learn more… | top users | synonyms

0
votes
0answers
4 views

Disabled JavaScript and JS-based extensions in Google Chrome

Some sites I visit tend to use heavy JS scripting causing some lags if they are open in multiple tabs simultaneously. I would really love to disable JS for all of them that might not require JS to ...
0
votes
0answers
8 views

What does orange highlighting mean in Javascript in Atom?

Some of my identifiers -- namely, "all", "width", and "height" -- are being highlighted in orange and I don't know why. Picture of highlighting
-1
votes
0answers
12 views

function DelCust(id) { $.ajax({ url:'@Url.Action(“DelCustomer”, “Customer”)', [on hold]

Action method delcustomer() with parameter id is not populating in debugging function DelCust(id) { $.ajax({ url:'@Url.Action("DelCustomer", "Customer")', is it correct ...
-2
votes
0answers
15 views

How to download pdf files which are maybe generating (from database) when the user click them?

I have a thousands of pdf files which are on some webpage and they are only downloaded when I click them. They have some sort of java-script code behind them, so I don't have any specific link of ...
0
votes
1answer
36 views

how do i disable javascript in microsoft edge on win 10 home?

I found a similar question (How do I disable JavaScript in Microsoft Edge?), but the solution to it is not suitable to me described as Windows 10 Home does not contain the gpedit.msc
0
votes
1answer
12 views

Alter specific text to string as a key in JSON

I'm trying to convert numbers as shown in figure below to a JSON key with value in an object. Please can someone help me with that? The image below shows what I'm trying to do in notepad++.
0
votes
0answers
6 views

Adobe javascript decrypt

this is an old subject but in regards to a question asked awhile back there were multiple ways to do this. the question asked was in this link, it was about the algorithym used to decrypt the adobe ...
-2
votes
0answers
15 views

Best tool to demo Javascript [closed]

I have a Javascript course to teach to some students in a couple of days. I'm looking for a Google developer console like interface (native) so that I can demo some functionalities. The problem is ...
0
votes
2answers
64 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: ...
1
vote
0answers
9 views

Why can't I see my debug errors in Chrome's Sources tab

I am using web dev tools in Chrome to debug some JavaScript. The question is not about code, but what the browser is doing. In the below JavaScript, I've added some code to create an exception. The ...
0
votes
0answers
12 views

Firefox: howto force loading of all images (disable image lazy loading with scrolling)

More and more sites uses image lazy loading (JavaScript that loads images during scrolling). I wish to force loading all images in Firefox and Feed Reader. In Reeder 3.0 you see only placeholders: ...
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 ...
-1
votes
0answers
16 views

How to get around “Policy, Signature, Key-Pair-Id” values for a Signed URL?

I am trying to download music from a website, and in Chrome Dev tools, I find that the website is sending the audio file in parts. I opened one particular part's URL in a new tab and it reads ...
-2
votes
0answers
17 views

Reversing my encrypt method [migrated]

I created minor encrypt method to convert a small string based on distance between characters, but can't for the life of me figure out how to reverse it without knowing the distance between each ...
0
votes
0answers
7 views

Ctrl+space autocompletion for TernJS (ST3)

I have a problem getting Ctrl+space autocompletion working per TernJS description (Sublime Text 3). Autocompletion as such seems to work, because if I define bbb variable as string per below, type .t,...
24
votes
4answers
2k views

How do I prevent pages I visit from overriding selected Firefox shortcut keys?

In Firefox, how can I prevent pages from overriding Firefox built-in keyboard shortcuts through Javascript on a per-key basis? Preferably on a per-site basis, too? The most frustrating override is the ...
0
votes
0answers
6 views

how to make a javascript which list all the files from the list of web pages of a google search?

i wanna make a search engine for files using help of google, which list files and their sizes while searching, uses google web crawler algorithm and does not show web pages but files from the web ...
-1
votes
0answers
35 views

Why do IE11 and Firefox not use JavaScript when they could? [migrated]

Most important: Any ideas on what I'm doing wrong with using JavaScript, especially on IE11 and Firefox? Bonus question; if this is out of scope, please feel free to leave this alone: Any ideas why 3 ...
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 ...
-2
votes
0answers
22 views

How to find string after string in between "s in string in JavaScript

The title says it all. I have a JSON string with the weather forcast: Weather API I want to output the value of "main" for each day. eg.: findValue(input, startingPoint, valueToFind) findValue(...
16
votes
4answers
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 ...
0
votes
0answers
43 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
71 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 ...
0
votes
0answers
21 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 ...
9
votes
2answers
1k 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
0answers
7 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
31 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....
-1
votes
2answers
60 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
10 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, ...
1
vote
1answer
41 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
42 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
0answers
24 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
26 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
1answer
44 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
15 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
8 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
17 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
36 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
25 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
16 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
102 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
59 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
19 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
142 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
11 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 ...