Open a Link in new tab/window without right-click
This trick is especially useful on sites like irctc.co.in , ultimatix and others which have right-click disabled on them (for some reasons).
Basically, these sites use JavaScript to do this. This can be broken by one-liner JavaScript into address bar(where you enter site name).
Just Write this on address bar of irctc :
javascript:void(document.oncontextmenu=null)
Well, I have found a very simple way that works on most sites.
Just press CTRL key and left-click on the link, it will open in a new tab/window(depending on your browser settings.).
So , it has two benefits:
- You can open links freely in sites that have disabled right-click
- When link is opened in new tab, it does not switches over automatically (which I feel is irritating normally) .
Enjoy the all-powerful CTRL key.
Keep Exploring. Keep Discovering.
this is not working for irctc website..disabled for both clicks
ReplyDelete