All Questions
27
questions
1
vote
0
answers
36
views
Can FindProxyForURL() discern the HTTP-method of the request?
I'd like my FindProxyForURL() to recommend a different proxy depending on the HTTP-method of the request -- GET, POST, or PUT.
For example, the GETs can be routed through a caching proxy, whereas the ...
2
votes
0
answers
167
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 ...
0
votes
3
answers
1k
views
Capture text from website that's disabled copy-paste, printing and viewing source
I'd like to capture text from a website (for personal usage, not business) but unfortunately they have disabled copy-paste, printing and viewing the source.
Is there another way of capturing the text?
0
votes
1
answer
556
views
How to call garbage collect on firefox?
I wonder if someone could guide me on some questions about GC on firefox.
Is possible to call the action performed when I click on the button GC using javascript?
https://i.sstatic.net/JgoNx.png
on ...
3
votes
0
answers
637
views
How to disable a portion of JavaScript on a website
I'm trying to disable smooth scrolling. I tried a bunch of JavaScript in Tampermonkey. It worked on some sites, some don't and some disable scrolling altogether, which leads me to believe that there's ...
1
vote
0
answers
33
views
How to proxy an url
I want to do some local debugging of local javascript files instead of production javascripts.
But I am getting all kinds of CORS blocking , What I need is
if I open something like ...
1
vote
0
answers
470
views
Is it possible to save browser tab, including javascript variables, content of form fields, cookies, etc. for offline viewing later?
I'm trying to save a state of card in browser (preferably firefox or chrome). Is it possible? Something like snapshot in VirtualBox.
Let's say I'm using javascript app that doesn't have save feature ...
0
votes
1
answer
47
views
When I save this page, I always get NOCAPTCHA error and Javascript does not work, why?
I have been trying to save this page:
http://www.geopostcodes.com/Bolton?loc=Bolton
(and others like it from the same domain) but always get an error about NOCAPTCHA not working, and the Javascript ...
132
votes
17
answers
134k
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 ...
1
vote
0
answers
145
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 ...
1
vote
0
answers
1k
views
How to open JavaScript "onclick" links in new browser tab [duplicate]
Some websites, for reasons I'll never understand, implement links using JavaScript in the onclick event, like this:
<div onclick="document.location='/target_url';">
This doesn't allow me to ...
3
votes
2
answers
2k
views
Disable Google Search page's arrows besides results when scrolling up/down using keyboard
The blue arrow (marked in the figure above) hijacks the UP and DOWN in the keyboard and causes the page to jump on each result instead of scrolling smoothly. This page says that it has been bundled ...
6
votes
1
answer
6k
views
Modify URL using Javascript bookmarklet
Very new to Javascript but this seems to be a relatively easy task...
I want to modify a URL using a Javascript bookmarklet for Chrome, etc. Here's what I need to change it from to:
Original URL: ...
0
votes
1
answer
10k
views
Google Chrome: How to edit JavaScript / CSS files and preview changes without reloading?
I want to make changes through the sources tab in Inspect Elements and want to see a preview quickly without refreshing the browser.
Is there a way to do this?
For example, in JavaScript I have a ...
0
votes
1
answer
1k
views
Google Chrome inactivity redirect
I have chrome opening in kiosk mode - I added the --kiosk flag to the chrome shortcut which works as expected.
We would now like to have the browser re-direct to www.MyDomain.com after x minutes of ...