Skip to main content

All Questions

1 vote
0 answers
37 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
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 ...
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
561 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
640 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
471 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
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 ...
user6329530's user avatar
  • 1,483
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
9 votes
1 answer
8k views

Is there any way to block javascript pop-overs in Firefox or Chrome? [duplicate]

Like the kind pointed to in this image Many sites have these, and I find them highly annoying. Often you'll be reading an article and suddenly the pop-over blanks out the page and asks "WOULDN'T YOU ...
user avatar
0 votes
2 answers
7k views

Download full web page: css, js, images and one or more levels of links

I am trying to download a web page including everything. I tried several methods and so far what worked better is the build in save page in Firefox, nevertheless it does not allow me to include one or ...
nest's user avatar
  • 103
0 votes
1 answer
5k views

Re-enable right click on the Images where it is prevented

I swear that I don't have any bad Intentions, I just want to know the reason. In the below you can see an alert that this website returns when I do a right-click on the Images : I want to re-enable ...
Ebrahim Ghasemi's user avatar
0 votes
1 answer
609 views

Preventing javascript from grabbing arrow keys

It's becoming more and more popular for websites to grab the arrow keys via JavaScript and use them for site navigation in ways that breaks scrolling with the arrow keys. Short of NoScript, is there ...
R.. GitHub STOP HELPING ICE's user avatar
8 votes
3 answers
10k views

Advertisement suddenly appearing on top of almost every page

Since this morning strange advertisement is appearing on top of many pages I open in webbrowser (see screenshot at the end). It's happening in any browser (tested FF, IE and Chrome), on any of three ...
Martin Prikryl's user avatar
0 votes
1 answer
4k views

How to Open/Close An HTML Select Using JavaScript in Internet Explorer, FireFox and Chrome

How to open an HTML select using the JavaScript that ... I - Have good aesthetics (preserves layout); II - Be compatible with Internet Explorer, FireFox and Chrome; III - Use the select itself; ...
Eduardo Lucio's user avatar
10 votes
7 answers
54k views

How can I copy text from a web page where it been has disabled?

I use FF27 with noscript, but solutions for Chrome are also welcome. I use online chat for customer support when available, and I'd like to keep the chat transcript in case of a dispute with the ...
Yonatan's user avatar
  • 113
0 votes
2 answers
2k views

Failed to load .js resource

Hello, using "Inspect the element" function on Google Crome browser, on almost every site I have the same error Failed to load resource http://content.magnipic.info/shopping/ppapp.js one of this ...
Gio's user avatar
  • 273
0 votes
1 answer
439 views

Why is javascript being blocked on three browsers except in private mode without an extension conflict?

I am running Windows 7, 32-bit java up to date. On Chrome, Firefox and IE (also up to date) whenever I load lowes.com the scroll over menus (shop & learn) will work while the page is loading. At ...
William Everett's user avatar
1 vote
1 answer
188 views

lock browser to troubleshoot javascript and css

Let's say I created some tooltip which displays a popup when the cursor is placed over a given part of the page, and removes it when I move the mouse. For an example, see http://jsbin.com/aCoboQo/1 ...
user1032531's user avatar
  • 1,691
1 vote
2 answers
2k views

What's the option to view changes in the DOM inspector in Chrome?

I think I saw that Chrome has done this before or maybe I set the settings off. In Firefox with Firebug installed, the DOM inspector will make me see what the changes happened in scripts manipulating ...
user1076813's user avatar
2 votes
3 answers
1k views

Complex JavaScript page to test browsers performance?

I have three different browsers I want to compare: Mozilla Firefox, Google Chrome, and Safari. I don't need very sophisticated mechanism; it can simply open a webpage and render. I tried Gmail, ...
OscarRyz's user avatar
  • 4,131