HACKING MADE EASY

LEARN ETHICAL HACKING TO PREVENT BEING HACKED

 

  HOME                                                            WELCOME TO YOU                                          YOUR COMMENTS        CONTACT US

                  FOR MORE INFO CONTACT at   info@hackingmadeeasy.com or call at +91-8800646642                                  

ABOUT US           OUR BOOKS           HOW TO ORDER            SERVICES           HACKING OVERVIEW        HACKING TRICKS

 

 

 

 

How to Enable Right-Clicking on Web Sites That Block It

 

top

Though itís less common these days, many sites still use JavaScript or an HTML attribute to disable right-clicking on their pages. Itís a practice we hope goes away, but in the meantime, itís not too hard to get around those restrictions.

Many of these sites seem under the impression that disabling the context menu in your browser is a good way to keep you from stealing their content. But disabling the context menu in your browser also deprives you of a lot of other tools. While you can take the nuclear option and just disable JavaScript in your browser, that limits the functionality of a lot of sites that use JavaScript to deliver useful features. Instead, weíre going to show you how you can re-enable right-clicking for specific pages youíre viewing, and a couple of extensions that limit these sitesí ability to impose the restriction in the first place.

 

Enable Right-Clicking on Individual Sites with a Bit of Your Own JavaScript

This first method is probably the least intrusive. Itís just a bit of JavaScript that resets the context menu value for a page. When viewing a page with right-click disabled, you can just type or paste this code into your address bar and hit Enter. You donít even have to reload the page. Right-clicking should be enabled immediately.

javascript:void(document.oncontextmenu=null);

Even better, you can create a bookmarklet out of that code so itís always just one click away. Select the code above and drag it to your browserís toolbar (or wherever you store bookmarks). Rename it something that makes sense to you, but leave the code intact for the URL.

Enable Right-Clicking and Copying on All Sites with a Browser Extension

rc_pic1

While the JavaScript bookmarklet works well for re-enabling right-click on individual sites, you may want a more comprehensive solution if you find yourself running afoul of this problem more frequently. That solution is a browser extension.

In Chrome, we recommend installing the RightToCopy extension. As its name suggests, it does more than just enable right-clicking. It also enables text selection and copying on sites that have disabled those functions, and even removes text that web sites inject into the text you copy (such as ďRead More atÖĒ).

Unfortunately, there is no directly comparable Firefox extension at this time. Of course, there are more comprehensive script blocking extensions available, such as NoScript(Firefox) and ScriptSafe (Chrome). Extensions like these block all scripts from running on any web pages unless you enable it. Both are worth looking into for a little added peace of mind, but note that they can be problematic on sites that use scripts for useful features.

And thatís it. Disabling right-clicking on web pages may be only an occasional problem, but itís annoying when it happens. Itís also super easy to fix.

 

 

 -----------------------------------------------------------------------------------------------------------------------------------------------------------   

Disclaimer : The information provided on this web pages are for educational purposes only. The author of this book or the CEO of this website is in no way responsible for any kind of damage resulted by the information given on this site or book. This does not have any hacking or cracking software on it. The soul purpose of this site and book is to make impart knowledge and make people aware of the security concern and make themselves ready towards safe computing.

 -----------------------------------------------------------------------------------------------------------------------------------------------------------   

HOME  |  ABOUT US   |  OUR BOOKS  | HOW TO ORDER | SERVICES | HACKING OVERVIEW | HACKING TRICKS | CONTACT US

Copyright © 2014-2015. www.hackingmadeeasy.com  Reproduction Strictly Prohibited. All Rights Reserved 

 

Clicky