How to Enable Pasting Text on Sites That Block It

Hello there! From time to time we at the business desk are pleased to bring
you an article of interest and for this week we have a great one for you!
We now invite you to read on!
The Sterling Creations team

+++++++++++++++

Contributed by Dan Thompson
How to Enable Pasting Text on Sites That Block It

Some companies think they’re increasing security by disabling your ability
to paste into form fields, such as the password field. But in reality, all
they’re doing is frustrating users-and probably decreasing security by
blocking password managers. Here’s how to solve this annoyance in Chrome and
Firefox.

Every now and then I come across sites on the Internet that prevent you from
copying some or all of the text displayed to the clipboard, or even
selecting it in first place using the mouse or keyboard.

I noticed this on a bank’s site recently for example where I was not allowed
to copy the bank account number to the clipboard.

This guide looks at methods to overcome the limitation put in place by
websites on the Internet. But first, why do sites implement these
restrictions in first place?

While reasons are provided by companies and individuals who implement the
functionality on their web properties, the most likely reason is some form
of copy protection.

Method 1: Turn off JavaScript:

Most websites use JavaScript to block mouse functionality. If you turn off
JavaScript on the site temporarily or even permanently, you will be able to
copy text displayed on it using the mouse.

Some websites rely on JavaScript on the other hand which means that you may
run into issues doing so. Some may even refuse to display at all when
JavaScript is turned off.

* Firefox users can press F12, there on the preferences icon to
disable JavaScript in the menu that opens.
* Chrome users can disable JavaScript in the Content settings:
chrome://settings/content
* Internet Explorer users can turn off JavaScript in Internet Option >
Security > Zone > Custom Level > Active Scripting
* Opera users can disable JavaScript under Websites in the Opera
settings: opera://settings/

Extensions like NoScript
can be useful in
this regard as they block the execution of scripts as well.

The Extensions like NoScrip extention can be found here:

https://addons.mozilla.org/en-US/firefox/addon/noscript/

Method 2: The source

Another option that you have is to display the source code of the website
you are on. Since it is displayed in a plain text editor it is possible to
copy anything from it without restriction.

Simply press Ctrl-u while you are on the site to display its source code.
This works in most browsers including Firefox, Chrome and Internet Explorer.

It is still necessary to find the text or content that you are looking for
in the source. Use Ctrl-f to jump directly to it.

There you may also find links to images and other contents that you could
not save or copy.

Method 3: Extensions and scripts

The third and final option is most suitable if you encounter sites regularly
that prohibit right-click use or text copying when you are on them, and if
the methods outlined above don’t work or are not really suitable.

RightToClick for Firefox

disables JavaScript annoyances such as forbidding right-clicks or text
selection on sites.

The extention of “RightToClick 2.9.6” can be found at this firfox add ons
page.\

https://addons.mozilla.org/en-US/firefox/addon/righttoclick/?src=search

RightToCopy for Chrome
offers similar features.

This extention is found here:

https://chrome.google.com/webstore/detail/righttocopy/plmcimdddlobkphnofejme
idjblideca

You find numerous extensions for these two web browsers that remove
annoyances on websites.

Author Martin Brinkmann

gHacks Tech News

http://www.ghacks.net/2014/12/24/how-to-highlight-and-copy-text-on-sites-tha
t-block-it/

A seconded article written by Rhiannon of the site “Daily Tech Treats”
posted the following article about the same issues on June 24 2016.

http://www.techsupportalert.com/content/finds-week-paste-text-sites-block-it
-nosquint-plus-firefox-and-chrome-instant-logo-search

*In Chrome: Use the “Don’t F*ck with Paste” Extension

If Chrome is your browser of choice, the easiest solution to your pasting
problems is to dd the extention of ”
Don’t F*ck with Paste” to Chrome, and it will just
work quietly in the background. It tells the browser to accept all paste
events and skip any paste event handlers on the page.

The extention can be found at this link.

https://chrome.google.com/webstore/detail/dont-fuck-with-paste/nkgllhigpcljn
hoakjkgaieabnkmgdkb

This is
the code by developer Vivek Gite, in case
you’re interested:

var allowPaste = function(e){

e.stopImmediatePropagation();

return true;

};

document.addEventListener(‘paste’, allowPaste, true);

But you don’t really need to know that. It’s just a simple extension that
worked for me with PayPal and Western Union (which a similar extension,
Allow Copy, couldn’t fix).

*In Firefox: Modify Your Configuration Settings

Firefox users don’t need to use an extension, but instead can change the
browser’s behavior in the configuration settings.

Head to about:config in Firefox and click the “I’ll be careful, I promise!”
button to proceed past the warning.

firefox-config650

Search for dom.event.clipboardevents.enabled in the search box. It’ll be
the only option once you type in “dom.event.cl”:

firefox-config650-2

Double-click on the setting to change the value from “true” to “false”.

firefox-config650-3

Now websites can’t mess with your clipboard or block your ability to copy
and paste.

It’s terrible that we have to jump through hoops to easily use our long
passwords on many sites, but at least it only takes a couple of minutes to
fix this frustration.

This entry was posted in Uncategorized. Bookmark the permalink.