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

learn more…| top users | synonyms

0
votes
0answers
8 views

Office-js Excel: Access is Denied trying to use localStorage

If I try to run this code in my office-js add-in in Excel 2016 (Desktop), it throws an error and says Access is denied.ngOnInit() {console.log('Writing to localStorage...' );localStorage....
0
votes
1answer
9 views

Animations aren't working with Javascript

I am a highschooler in an extremely basic web design class. Bored, I threw together some dropdown menus with animated arrows. I need to set max-height for the open and close animations to work with ...
0
votes
0answers
16 views

Ran on an Open Port (uh oh)

I've been working to create a basic HTML page with some simple online features (just experimenting, nothing serious). I'm using Nodejs and Socket.io for the data sharing in this project. I tested ...
-1
votes
2answers
25 views

How to trace which JavaScripts are being loaded (Malware in Wordpress)

I'm having trouble with an infected Wordpress website. At random the page is redirected to some shady advertisement. It's similar to the description here: https://blog.sucuri.net/2016/05/wordpress-...
0
votes
3answers
27 views

Web site does not show ads - GoogleSyndication.com Server not found [closed]

I put a Google Ad in a MOST BASIC web page.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta content="...
64
votes
8answers
6k views

How do websites block selecting text and how do I unblock that?

There's a website (example) that somehow blocks selecting text. Also it blocks Ctrl+A to select everything, there is also no “Copy” in the popup menu.What I have tried:Some sites use JavaScript to ...
0
votes
0answers
30 views

Strange browser time behavior in Chrome on a MacBook Pro running macOS High Sierra

Since time and time zones can be a little confusing, to begin with, I have stumbled onto something truly bizarre in regards to JavaScript and macOS High Sierra time.While trying to figure out ...
0
votes
0answers
30 views

Prevent websites to scroll on their own

I sometimes encounter websites that scroll "on their own", e.g. move the scroll bar for me. I don't want that. I want to control what part of a website I'm viewing on my own. Having something I read ...
0
votes
0answers
20 views

How do I select multiple parts in 3d pdf?

How do I select multiple parts in 3d pdf? I think it should be working by default(pressing CTRL and clicking parts) but for some reason it is not. Thanks in advance.
0
votes
0answers
49 views

Google Chrome - block certain JavaScript function

I have been searching around superuser for answers to this question but couldn't find anything that gave me the results I wanted.What happens?A script tag on a website is redirecting me to another ...
0
votes
1answer
36 views

Javascript, Coding help requested [closed]

To start I am a noob, so explanation of whats happening or what needs to be done to complete the code would be extremely helpful. I had an issue come up at work, and I found an helpful stack ...
1
vote
1answer
38 views

How to POST HTTP data into a 'disabled' input field in HTTP form?

I need to post data into a box that is showed to me but I am unable to click on it. After inspecting the element in Firefox, I noticed that the input field says 'disabled'=disabled in the tags and ...
1
vote
1answer
41 views

Windows Setting inhibiting More than 2 tabs to open from script file

I have a number of sites that I have to monitor as part of my job. I created a .vbs (though in troubleshooting this issue, I also created and had the same problem with .js and .bat files). This file ...
0
votes
0answers
21 views

Click ng-click=“validate()”>I Accept</button> from command line in linux

When I try to access the internet over a linux machine I get the following error that requires me to click on accept.How can I click it from a linux command line?<B>I accept the Terms ....&...
0
votes
0answers
21 views

List and disable specific scripts on a web page

I want to go through a list of JavaScript elements on a web page and delete some of them.I have done this before years ago, I can't remember if it was chrome developer tools or an extension....

153050per page