All Questions
Tagged with javascript browser
114
questions
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 ...
-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 ...
0
votes
0
answers
31
views
After changing the windows system time, the Date in the browser console is not updated immediately
After I changed the system date to '2024/2/27', the browser console still returns today's date. When I execute new Date().toISOString(), it returns '2024-02-28T05:37:55.404Z'. But after some time, it ...
1
vote
1
answer
4k
views
How to prevent a web browser from following redirects in a specific website?
I am trying to block myself from using Google Search Console by bringing myself back to Google Search, due to addictive behavior with Google Search Console*.
The following JavaScript code works from ...
4
votes
2
answers
1k
views
Loading a URL in the current tab through the Firefox “Browser Console” (or command-line)
For debugging purposes, I need to automatically load a large number of URLs (successively) in a given Firefox tab.
More precisely, my goal is to load URL1, URL2, etc., as if the user had typed these ...
2
votes
1
answer
243
views
Gmail not responsive, errors in console
Recently (since around Sep. 2022) I often recognize, that Gmail opened in most recent Chrome browser quite frequently fails to open an e-mail clicked on, or fails to close the e-mail (does not return ...
1
vote
0
answers
122
views
What is this script that's injected in every webpage I visit, and if malicious how to get rid of it?
I found this script when inspecting webpages and I have no idea where this is coming from or if this is malicious. Is this malicious, how can I find out where it came from and how to get rid of that?
...
1
vote
1
answer
676
views
How do I fully save a modern webpage which uses JavaScript (e.g. Facebook), in its intended viewable formatting, for fully offline viewing?
I'm having trouble saving web pages as I build an archive of reference material for a project.
Some web pages - older styles of forums or blog pages with simple formatting - save just fine with the ...
1
vote
0
answers
559
views
How do you change Tor Circuit For Site using javascript via Tampermonkey?
In Tor Browser, I can set "New Tor Circuit for site". You can also do this by pressing ctrl+shift+L.
I have installed Tampermonkey-Addon in Tor Browser and was thinking, maybe it is possible ...
2
votes
0
answers
169
views
Can CORS be selectively disabled for the empty browser tab?
I'd like to play with the JavaScript fetch API, fetching various urls, etc. so I opened an empty browser tab, popped up the console, typed the JavaScript, but the request failed because of CORS.
I ...
1
vote
0
answers
88
views
Is it possible for browser-hosted Javascript to alter html during page load?
I can put Javascript in TamperMonkey to tamper with the HTML. Does it process the HTML as it is received, or does it alter the DOM after it is fully loaded?
I want to alter links that contain ...
1
vote
1
answer
13k
views
Is it possible to run a custom script whenever loading a web page on web browsers?
I would like to block content on some specific languages whenever I open a page on my browsers (Safari and Chrome on macOS 11.4). I think the best solution is to use Google Translate API and check ...
1
vote
1
answer
106
views
Why is there a 100 times difference in the execution time of the same JS code between Google Chrome and Chromium?
Recently, I found a website that uses a third-party chromium browser badly, but it is normal in Google Chrome; After comparative analysis, it is found that the reason is probably that there is a long ...
0
votes
0
answers
30
views
Field content from other site in hint on a site
Today on some site when I've clicked into guest name field on some site, I saw my full name as been written in state declarations and official documents and never was given on the site, yet I come the ...
1
vote
1
answer
5k
views
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”) Error on a lot of different websites
Since a couple of days ago, i cannot reach a lot of Well-Known Websites like : Github.com,linkedIn,... .
I am using Firefox 81.0.1.
when i open console, in found this error line:
Content Security ...