Skip to main content
104 votes
Accepted

How do websites block selecting text and how do I unblock that?

https://www.angst-panik-hilfe.de/angst-panik.css shows: body{-webkit-user-select:none;-moz-user-select:-moz-none; -ms-user-select:none;user-select:none} So, that effect applies to the entire BODY ...
TOOGAM's user avatar
  • 16k
56 votes
Accepted

Force Google Chrome to check for new JavaScript files every time I access a web site

Option 1: Disable cache temporarily Open Developer Tools (Press F12 or Menu, More Tools, Developer Tools) Open Developer Tools Settings (Press F1 or DevTools Menu, Settings) Check "Disable cache (...
Steven's user avatar
  • 28k
39 votes

How do websites block selecting text and how do I unblock that?

As has already been stated, setting user-select: none in the page's CSS is what disables selection of text on a page. The easiest way to remove that text selection block would be through a user script ...
Herohtar's user avatar
  • 828
19 votes

How do I prevent pages I visit from overriding selected Firefox shortcut keys?

Since Firefox 58 it is possible to disable keyboard shortcuts override per web site. "Override Keyboard Shortcuts" and many other permissions are available in "Page Info -> Permissions" (under info ...
Alec Istomin's user avatar
18 votes

How Can I Stop Scripts on a Page in Firefox?

It's been answered on a later question. For short: Open the developer console from the menu or by F12. Click the debugger tab. Click the pause button.
minghua's user avatar
  • 618
18 votes

How do websites block selecting text and how do I unblock that?

The simplest way to solve this problem is by using a bookmarklet: In your browser create a new bookmark. Name it, for example, "Enable Selection" (without quotes), or however you like. In ...
and his dog's user avatar
17 votes

How do websites block selecting text and how do I unblock that?

You can hit Ctrl + P and grab what you need from the print preview.
Oliver Salzburg's user avatar
16 votes

How do websites block selecting text and how do I unblock that?

Open the developer tools (F12), change to the Elements tab, and untick the following CSS rules under body: user-select: none; webkit-user-select: none;
JMK's user avatar
  • 3,310
16 votes
Accepted

How to halt javascript execution after page load (Firefox)

You can probably break into the developer tools and pause all scripts. Hit F12 to open the Developer Console. Click on Debugger Click the Pause Button If F12 doesn't open the Developer Console, then ...
Geoduck's user avatar
  • 564
16 votes

Removing annoying click-handling logic from websites

I have been using the FF version of this extension and it works fine: Absolute Enable Right Click & Copy
stop zionism's user avatar
12 votes

How do websites block selecting text and how do I unblock that?

With Firefox, there's a really easy way: View > Page Style > No Style In German: Ansicht > Webseiten-Stil > Kein Stil It also works great to download embedded images on which right-click ...
Eric Duminil's user avatar
12 votes

Removing annoying click-handling logic from websites

If you don't mind removing all event listeners from the current page: Open Chrome Dev Tools (Ctrl+Shift+I) and select Console Type the following to remove all event listeners: $("*").off(); ...
Alex's user avatar
  • 121
11 votes

How do you download a PDF from Viewer.js?

Hope am not too late in answering your question. Here are the steps: Open the particular pdf in the reader to full screen. Launch inspect. Look for a hidden download button with id download styled as ...
Vincent Omondi's user avatar
11 votes

Removing annoying click-handling logic from websites

As part of uBlock Origin which many (over 10 million) people are using (including myself) and is the de-facto best ad-blocker available. You can simply disable javascript for the site, which allows ...
Idos's user avatar
  • 211
10 votes

Don't let websites overwrite clipboard in Firefox without explicitly giving permission

Firefox has an about:config setting called dom.event.clipboardevents.enabled, which allows Firefox to emit oncopy, oncut, and onpaste events which websites can use to modify the clipboard. You can set ...
mic's user avatar
  • 522
9 votes

Force Google Chrome to check for new JavaScript files every time I access a web site

It may not be 100% related to the chrome refresh but for further developpment. Like @Dom said, you can add a ?v=# after your ressource. One way to automate the process is to hash the content of the ...
fred beauchamp's user avatar
9 votes

Module not found: Can't resolve 'uuid/v4'

I had the same problem learning from the same tutorial from WebDevSimplified.  For me the following worked fine (i.e., with import): import { v4 as uuidv4 } from 'uuid'; See Hoàng Vũ Tgtt's answer to ...
m19v's user avatar
  • 191
8 votes

Turn JavaScript into bookmark or bookmarklet?

You were actually quite close. You just need to put it this way: javascript:(function(){mycode})(); In your example, you can try this: javascript:(function(){function text(){this.type="text"};...
Kar.ma's user avatar
  • 1,089
8 votes

How do I disable Javascript in Chrome?

Open Developer tools (Ctrl+Shift+I or F12) -> Preferences (F1) -> Section Debugger -> Disable JavaScript
Andriy F.'s user avatar
  • 181
8 votes

Removing annoying click-handling logic from websites

NoScript should help you with most websites which mess with context menus and other annoying things that mess with website experience. It auto-blocks all scripts which it considers unsafe. You can ...
Razetime's user avatar
  • 1,066
8 votes
Accepted

Is it possible to run a custom script whenever loading a web page on web browsers?

Yes, it possible to inject custom scripts when the page is opened. Many browser extensions are available for this like tampermonkey, violentmonkey, requestly. Using requestly extension you can run ...
Nafees Nehar's user avatar
7 votes

Modify URL using Javascript bookmarklet

You could change window.location property which specifies the current location of the document you are viewing. A simple replace can work: javascript:(function() { window.location=window.location....
lscherber's user avatar
7 votes

How do you download a PDF from Viewer.js?

document.getElementById('download').click() Answer by Matt C and Vincent Omondi
Bijan's user avatar
  • 189
7 votes
Accepted

Firefox 57 / block Javascript per site

Solved it by developing an extension myself: https://addons.mozilla.org/en-US/firefox/addon/yesscript2/
log69's user avatar
  • 163
7 votes
Accepted

How to prevent bare windows in Firefox and related browsers?

Found it: http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features In about:config find dom.disable_window_open_feature.* There are quite a few entries here that correspond to ...
music2myear's user avatar
  • 42.3k
7 votes
Accepted

How to get the client sidecomputer bios serial number

There's really good reasons you don't want to run arbitrary code on a client side system - if you can run wmic bios get serialnumber you could also run a virus, ransomware or other nasty stuff. Being ...
Journeyman Geek's user avatar
  • 130k
7 votes
Accepted

uglifyjs - hangs when run with any options

You have to pass the list of files to minify before the options list. uglifyjs [input files] [options] So you should have this instead: uglifyjs file.js --compress --mangle -o outfile.min.js ...
Lindsay-Needs-Sleep's user avatar
7 votes
Accepted

Enable JavaScript in URL bar in Firefox

browser.urlbar.filter.javascript: false doesn't seem to work. Indeed it doesn't. You can work around it using Bookmarks (at least until Mozilla block that as well): Set up a Bookmark with the ...
DavidPostill's user avatar
  • 158k
6 votes

Is there a way to disable a specific JS script from a specific website?

Chrome has this functionality built in now, its comes under Request Blocking in the dev tools. This answer over on StackOverflow has a great description on how to use it.
Gavinvin's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible