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

learn more… | top users | synonyms

-2
votes
0answers
19 views

How to program a form that can submitted without user authentication only once per 24 hours? [migrated]

I want to allow people that visiting the website to submit a form only once a day (24 hours). This is a reporting form (few fields) that are sent by visitors coming to our website to report something ...
-1
votes
0answers
10 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
0answers
24 views

How to create social follow buttion counter? [closed]

This my code but i cant set follow counter. Link to the page <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>www.appzzhunt.com</title> ...
-3
votes
0answers
27 views

Convert numbers in words [closed]

the code below is converting the number and only whole numbers into words. How to convert the whole numbers as well as the decimals as well into words? Thank you! <html> <head> <meta ...
-3
votes
0answers
13 views

My javascript is not seeking the right amount of time on my audio files [closed]

I am able to play pause and stop audio files through the keyboard, but when I am seeking back and forth, I am using left and right arrow keys, and it is being seeking 15 sec. I need to do it for 5 or ...
-1
votes
1answer
16 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
13 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 ...
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
5 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 ...
0
votes
0answers
18 views

How to check a user watched the full video in html5 video player [migrated]

Does anyone knows how i can check if a video completely watched or not? I am using html5 video players: <video width="480" height="400" controls="true" poster=""> <source ...
9
votes
2answers
895 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
vote
0answers
14 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) ...
-1
votes
0answers
22 views

How to test my web design on mobile without hosting it?

I'm currently designing a responsive front-end project. I want to test how it's gonna look on mobile phones. I've tried to copy my html / css / js files into my phone and try to execute the HTML file, ...
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
8 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
14 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/
15
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
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
57 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
41 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
11 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
43 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 ...
1
vote
1answer
56 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
535 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
32 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
16 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
11 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
22k 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
29 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
35 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
46 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
27 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
12 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
47 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
44 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
43 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
24 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
726 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
46 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.