fluks / redirect-link

A browser addon to redirect a link to somewhere else.
GNU General Public License v3.0
22 stars 2 forks source link

Propose or share a new redirection #7

Open fluks opened 6 years ago

fluks commented 6 years ago

In this issue you can propose or share a new redirection.


Name URL Enable URL
AMP to normal https://%r[^https://www.google.[^/\]+/amp/(?:[a-z\]/)?(.*?)(?:\.amp$\|/amp/.*)] ^https://www.google.[^/]+/amp/.*(\.amp)?$
archive.is (save) https://archive.today/?run=1&url=%u -
archive.is (search) https://archive.today/%u -
BitChute https://www.bitchute.com/video/%q[v]/ ^https://www.youtube.com/watch\?v=
Clone Page %u -
Geotool https://iplookup.flagfox.net/?search=%h -
Google Drive Download https://drive.google.com/uc?export=download&id=%p[2] ^https://drive.google.com/file/d/\w+/(view\|edit)
Google Image Search https://www.google.com/searchbyimage?image_url=%u -
Google Translate (en) https://translate.google.com/translate?sl=auto&tl=en&hl=en&ie=UTF-8&u=%u -
Google Translate (fi) https://translate.google.com/translate?sl=auto&tl=fi&hl=en&ie=UTF-8&u=%u -
Google WebCache https://webcache.googleusercontent.com/search?q=cache:%u -
HookTube https://hooktube.com/watch?%q -
Imgur Image https://i.imgur.com/%p[0].jpg ^https://imgur.com/[A-Za-z0-9]{7}$
invidio.us https://yewtu.be/watch?v=%q[v] ^https://www.youtube.com/watch\?v=
Is it up? https://isitup.org/check.php?domain=%h -
is.gd (shorten URL) https://is.gd/create.php?format=simple&url= -
Netcraft https://toolbar.netcraft.com/site_report?url=%h -
Nitter https://nitter.net/%p ^https://(mobile\.)?twitter.com/
PrintFriendly https://www.printfriendly.com/print/?url=%u -
SafeBrowsing Site Status https://transparencyreport.google.com/safe-browsing/search?url=%u -
SaveClipBro https://www.saveclipbro.com/convert?main_search[linkToDownload]=%u -
securityscorecard https://securityscorecard.com/security-rating/%r[(?:https?:\/\/)(?:[^.]+.)?([^.\/]+.[^.\/]+)] -
SocialBlade https://socialblade.com/youtube/channel/%p[1] ^https://www.youtube.com/channel/
SSL Server Test https://www.ssllabs.com/ssltest/analyze.html?d=%h&latest -
TinEye https://www.tineye.com/search?url=%u -
TinyURL https://tinyurl.com/create.php?url=%u -
Twitter Shadowban https://shadowban.eu/%p[0] ^https://twitter.com/[^/]+
Unshorten URL https://unshorten.me/s/ -
VirusTotal https://www.virustotal.com/en/url/submission/?force=1&url= -
W3C CSS Validator https://jigsaw.w3.org/css-validator/validator?uri=%u&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en -
W3C HTML Validator https://validator.w3.org/nu/?doc= -
Wayback Machine (save) https://web.archive.org/save/%u -
Wayback Machine (search) https://web.archive.org/web/*/%u -
Webbkoll https://webbkoll.dataskydd.net/en/results?url=%u -
whois https://www.whois.com/whois/%h -
WOT https://www.mywot.com/en/scorecard/%h -
YouPak https://www.youpak.com/search?q=%u -
fluks commented 6 years ago

Name: HookTube URL: https://hooktube.com/watch?%q Description: Open YouTube video at HookTube

fluks commented 6 years ago

Name: SafeBrowsing Site Status URL: https://transparencyreport.google.com/safe-browsing/search?url=%u Description: Google's Safe Browsing site status

fluks commented 6 years ago

Name: whois URL: https://www.whois.com/whois/%h Description: Make a whois query for the domain

fluks commented 6 years ago

Name: SSL Server Test URL: https://www.ssllabs.com/ssltest/analyze.html?d=%h&latest Description: Test the server's SSL quality

fluks commented 6 years ago

Name: Google Translate (fi) URL: https://translate.google.com/translate?sl=auto&tl=fi&hl=en&ie=UTF-8&u=%u Description: Translate page using Google Translate (change to language to your liking [tl=fi in the URL, fi in this case])

fluks commented 6 years ago

Name: VirusTotal URL: https://www.virustotal.com/en/url/submission/?force=1&url= Description: Analyze URLs to detect malware using VirusTotal.

fluks commented 6 years ago

Name: Unshorten URL URL: https://unshorten.me/s/ Description: Expand shortened URL

fluks commented 6 years ago

Name: WOT URL: https://www.mywot.com/en/scorecard/%h Description: See site's reputation on WOT

fluks commented 6 years ago

Name: Is it up? URL: https://isitup.org/check.php?domain=%h Description: Check is a website up

fluks commented 6 years ago

Name: is.gd (shorten URL) URL: https://is.gd/create.php?format=simple&url= Description: Shorten a URL using is.gd

fluks commented 6 years ago

Name: YouPak URL: https://www.youpak.com/search?q=%u Description: Watch YouTube videos, without JavaScript.

fluks commented 5 years ago

Name: Clone Page URL: %u Description: Clone the current page or link

fluks commented 5 years ago

Name: Google Drive Download URL: https://drive.google.com/uc?export=download&id=%p[2] Enable URL: https://drive.google.com/file/d/\w+/(view|edit) Description: Download file from Google Drive

fluks commented 5 years ago

Name: Imgur Image URL: https://i.imgur.com/%p[0].jpg Enable URL: https://imgur.com/[A-Za-z0-9]{7}$ Description: Redict Imgur link to image only

fluks commented 5 years ago

Name: Twitter Shadowban URL: https://shadowban.eu/%p[0] Enable URL: https://twitter.com/[^/]+ Description: Check is Twitter user shadowbanned

fluks commented 5 years ago

Name: invidio.us URL: https://invidio.us/watch?v=%q[v] Enable URL: https://www.youtube.com/watch\?v= Description: Redirect YouTube video to invidio.us

fluks commented 5 years ago

Name: BitChute URL: https://www.bitchute.com/video/%q[v]/ Enable URL: https://www.youtube.com/watch\?v= Description: Redirect YouTube video to BitChute

ghost commented 5 years ago

Hi,

I have a redirection which works fine as a bookmarklet but which poses me a problem when modifying it to become a Redirect Link redirection.

The purpose of this redirection is to send an html5 audio/video page to SaveClipBro

Bookmarklet is: javascript:(function(){window.open('https://www.saveclipbro.com/convert?main_search[linkToDownload]='+location.href)+'&main_search[submit]=';})();

Redirect Link redirection should be: https://www.saveclipbro.com/convert?main_search[linkToDownload]=%h +'&main_search[submit]=

How do I add this +'&main_search[submit]= at the end of my Redirect Link redirection?

That's what I can't manage to understand/achieve ... Thanks for your help!

fluks commented 5 years ago

%h is the domain, %u is the whole URL, you need to use that. And just append that query parameter to the end, although you don't need to, since it's empty and SaveClipBro doesn't care about it.

So the redirection URL becomes: https://www.saveclipbro.com/convert?main_search[linkToDownload]=%u&main_search[submit]=

ghost commented 5 years ago

That was %u of course, not %h within this whole url redirect. I'm aware of that : brain bug!

just append that query parameter to the end, although you don't need to, since it's empty and SaveClipBro doesn't care about it.

I don't need that query indeed. I had in mind SaveClipBro could require it for a whatever reason. Works fine without.

I'll recall for any future similar case that I need only to append the query parameter by replacing a bookmarklet's + with &

Many thanks, @fluks. Redirect Link is very useful, works like a charm.

ghost commented 5 years ago

To make it clear and correspond to this thread's protocol:

Name: SaveClipBro URL: https://www.saveclipbro.com/convert?main_search[linkToDownload]=%u Description: Redirect a html5 audio-video page to SaveClipBro.com

Note regarding Enable URL: See SaveClipBro Supported Services (YouTube, Dailymotion, Vimeo and much more video portals...)

fluks commented 5 years ago

Name: Webbkoll URL: https://webbkoll.dataskydd.net/en/results?url=%u Enable URL: - Description: Check what data-protecting measures a site has taken

ghost commented 5 years ago

Another four redirections ...

Name: Geotool URL: https://iplookup.flagfox.net/?search=%h Enable URL: - Description: Gives a detailed map showing the city the server is in and other useful information.

Name: Netcraft URL: https://toolbar.netcraft.com/site_report?url=%h Enable URL: - Description: Netcraft Site Report

Name: PrintFriendly URL: https://www.printfriendly.com/print/?url=%u Enable URL: - Description: Optimize webpages for Print and PDFformat

Name: TinyURL URL: https://tinyurl.com/create.php?url=%u Enable URL: - Description:URL shortening service (with preview option)

fluks commented 5 years ago

Name: Google Image Search URL: https://www.google.com/searchbyimage?image_url=%u Enable URL: - Description: Search by image on Google.

You have to view the image only, then redirect using the toolbar button.

fluks commented 5 years ago

Name: TinEye URL: https://www.tineye.com/search?url=%u Enable URL: - Description: Reverse image search using TinEye.

You have to view the image only, then redirect using the toolbar button.

fluks commented 4 years ago
Name: AMP to normal
URL: https://%r[^https://www.google.[^/\]+/amp/(?:[a-z\]/)?(.*?)(?:\.amp$|/amp/.*)]
Enable URL: ^https://www.google.[^/]+/amp/.*(\.amp)?$
Description: Redirect Google AMP page to normal page.
fluks commented 4 years ago

Name: Nitter URL: https://nitter.net/%p Enable URL: ^https://(mobile\.)?twitter.com/ Description: Redirect Twitter to Nitter.

fluks commented 2 years ago

Name: W3C CSS Validator URL: https://jigsaw.w3.org/css-validator/validator?uri=%u&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en Enable URL: - Description: Validate CSS.

fluks commented 2 years ago

Name: W3C HTML Validator URL: https://validator.w3.org/nu/?doc= Enable URL: - Description: Validate HTML.