Skip to main content

Questions tagged [javascript]

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

0 votes
0 answers
13 views

Setting mute, changing volume, listener [migrated]

this.dsh.initialize(this.v, '/dash.mpd', true); this.dsh.on(dashjs.MediaPlayer.events.PLAYBACK_NOT_ALLOWED, _ => this.dsh.initialize(this.v, '/dash.mpd', this.v.muted = true)); Start playback if ...
0 votes
2 answers
1k views

Running JavaScript in Microsoft Edge browser without installing a userscript manager like Tampermonkey

I have a JavaScript script I desire to run each time I use Microsoft Edge; it should effect all webpages of a particular website. It seems to me that naturally to do so I should install a userscript ...
1 vote
1 answer
78 views

How can I save a Reddit page for offline viewing in HTML format AFTER the user has manually interacted with the page that has a huge comment section?

I'm trying to save a Reddit page for OFFLINE viewing as a single HTML file, EXACTLY as it's displayed on the browser and after having already manually expanded some comment threads. This issue is a ...
2 votes
2 answers
3k views

Is there a tool or something that can "listen" to javascript functions called on a webpage?

I was wondering if there is a tool, or something like this for intercepting JavaScript functions when they're called on a webpage, for example let's say I'm on a webpage and I press on Up Arrow key ...
13 votes
1 answer
5k views

How to Disable Web Page Checks for Focus, or Spoof Focus on Firefox Browser Tabs?

Problem: Some web sites refuse to load unless the tab is active, whereas most users appreciate tabs loading in the background. This behavior may not be specific to Firefox. Examples: https://www....
2 votes
2 answers
6k views

How to get around ERROR 405 Method Not Allowed with HTTP post

I'm trying to make an HTTP post on this website: https://www.colorado.gov/revenueonline/_/#2 (click Verify a Sales Tax License in the bottom right) using wget with the following command: wget --...
1 vote
2 answers
13k 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 example ...
0 votes
1 answer
3k views

Why window.history.go() doesn't work from some pages?

(edit: changed most of the question) I got my answer regarding How to go to the very first page of a tab. Basically a bookmarklet javascript:window.history.go(-(window.history.length - 1)) It ...
133 votes
17 answers
135k 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
1 answer
21 views

Accessing a normal variable inside a javascript function after runtime with a userscript?

Im using a very very old site that displays 3D models on canvasses using JSC3D (Yes, THAT old) and I want to access the scene during runtime if possible... I know userscripts (specifically with ...
3 votes
1 answer
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 ...
2 votes
2 answers
800 views

How does discord know if it's installed on my computer/ how to prevent that?

I recently had to install the discord app to Windows 10, and now clicking on discord invite links in the browser initially opens the webpage, but then immediately redirects and opens the app on my ...
-1 votes
1 answer
24 views

How to expand/collapse all treeview nodes in microsoft documentation?

I'm studying several topics in the Microsoft documentation and often the expanded or collapsed nodes get in my way. Would anyone know how to make all nodes expand or collapse automatically? A link for ...
1 vote
3 answers
9k views

With Chrome how to use the the javascript: URL pseudoprotocol?

With Firefox I can type in the location bar "javascript:" followed by some JavaScript code and have this code executed and the result displayed in the page. For example javascript:x = 3 displays 3 in ...
0 votes
1 answer
5k views

How to disable same origin policy in Chrome v81

It was working before but with the latest Chrome update (version 81), I can't log in to my web app locally. Console error is: Failed to load resource: net::ERR_CONNECTION_RESET Fiddler says its a ...

15 30 50 per page
1
2 3 4 5
59