Skip to main content

All 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 ...
Mikhail T.'s user avatar
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 ...
Tom's user avatar
  • 2,087
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?
intrigued_66's user avatar
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 ...
Cesar's user avatar
  • 101
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 ...
tguy's user avatar
  • 31
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 ...
Gracie williams's user avatar
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 ...
MarioPL98's user avatar
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 ...
avenas8808's user avatar
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 ...
user6329530's user avatar
  • 1,473
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 ...
Rob C's user avatar
  • 121
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 ...
EM0's user avatar
  • 1,852
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 ...
Sanny's user avatar
  • 1,607
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: ...
jmt's user avatar
  • 61
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 ...
user2899728's user avatar
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 ...
jonboy's user avatar
  • 231

15 30 50 per page