The Copy Real Link userscript enhances your browsing experience by disabling the original context menu of the browser. Instead, it allows you to copy the real link (direct URL) on right-click, bypassing any redirecting URLs. This script works seamlessly on Google Search, Yahoo Search, Facebook, and Hangouts.
- Install a userscript manager extension like Tampermonkey or Violentmonkey in your browser.
- Install the "Copy Real Link" script by visiting this link on Greasy Fork.
- or Create a new script and replace the default code with the code from the GitHub Repo.
- Save the script to make a try.
When navigating through Google Search results, Yahoo Search, Facebook, or Hangouts, this userscript offers a convenient Copy real link
option. Simply right-click on any link on the page, you will see a "Copy real URL" button next to the link.
You have the flexibility to enable or disable the script as needed using your Tampermonkey extension.
Using Default Copy Link Address:
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCMQFjAB&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FRuqyah&ei=DFHnU8_mK4Hi8AXqpIDAAg&usg=AFQjCNHIjSJNblTZM7fbhcTkrPNp14SnKw&sig2=L95WqCRVToubyMsGNnBFWg&bvm=bv.72676100,d.dGc
Using Copy Real Link:
http://en.wikipedia.org/wiki/ruqyah
For Facebook Chat links and links in Hangouts, the userscript provides similar functionality, offering the real link for copying.
Not working with facebook's big link previews, Contributions are welcome! Feel free to submit pull requests in GitHub
- Added a "Copy real URL" button next to the link on right-click.
- Improved the user interface of the copy action.
- Maintained the original functionality of copying the direct link to the clipboard.
This userscript is inspired by the Copy Real URL Chrome extension.