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
9 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? [on hold]

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 ...
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?
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 ...
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
21 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, ...
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. ...
0
votes
0answers
56 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
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
1answer
14 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
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
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 ...
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/
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 ...
-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 ...
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 ...
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
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 ...
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
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 ...
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
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, ...
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: ...
-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.
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
27 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 ...
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 ...
1
vote
1answer
26 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
27 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
13 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 ...
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
13 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
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 ...
0
votes
1answer
50 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 ...
0
votes
0answers
21 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 ...
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 ...