Greasy Fork is available in English.

Discussions » Creation Requests

Sharecode Script

§
Posted: 18.02.2018

Sharecode Script

Hi, can anyone make a simple script that will resolve a URL posted in a sharecode format and automatically open the complete URL in a new tab?

A URL posted in a sharecode format is typically of the format:

Site: https://www.upload.ee
Sharecode: /files/7901729/Patch-R-Wipe._.Clean.11.x.rar.html

Resolved URL: https://www.upload.ee/files/7901729/Patch-R-Wipe._.Clean.11.x.rar.html

Can a script be coded such that when the user selects the two lines as shown above (against "Site" and "Sharecode") and clicks on a extension icon/right click menu/some other suitable method, the script should automatically open the resolved link in a new tab.

Thanks!

Post reply

Sign in to post a reply.