Copy Real Link

Extract and copy real URLs from redirect URLs on Google, Fb, etc., with a copy button.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
almahmud
日安装量
0
总安装量
192
评分
0 0 0
版本
1.3
创建于
2023-12-24
更新于
2024-10-16
大小
3.9 KB
许可证
CC BY
适用于

Copy Real Link Userscript

Overview

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.

Installation

  1. Install a userscript manager extension like Tampermonkey or Violentmonkey in your browser.
  2. Install the "Copy Real Link" script by visiting this link on Greasy Fork.
  3. or Create a new script and replace the default code with the code from the GitHub Repo.
  4. Save the script to make a try.

Usage

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.

Example

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.

Known Bug

Not working with facebook's big link previews, Contributions are welcome! Feel free to submit pull requests in GitHub

Changelog

Version 1.2

  • 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.

Credits

This userscript is inspired by the Copy Real URL Chrome extension.