Commit 7d9e851f44
Unsigned
Layout: unified · split
regex.txt added +266
| @@ -0,0 +1,266 @@ | ||
| 1 | ||*.googletagmanager.com^$important | |
| 2 | ||*.youtube.com^$important | |
| 3 | ||*.ytimg.com^$important | |
| 4 | ||*.googleapis.com^$important | |
| 5 | ||*.gstatic.com^$important | |
| 6 | ||*.google.com^$important | |
| 7 | ||*.google.fr^$important | |
| 8 | ||*.twitter.com^$important | |
| 9 | ||*.facebook.com^$important | |
| 10 | ||*.pki.goog^$important | |
| 11 | ||*.scdn.co^$important | |
| 12 | ||*.facebook.net^$important | |
| 13 | ||*.cookielaw.org^$important | |
| 14 | ||*.fontawesome.com^$important | |
| 15 | ||*.twitch.tv^$important | |
| 16 | ||*.sentry.io^$important | |
| 17 | ||*.sentry.infra-hellowork.com^$important | |
| 18 | ||*.google-analytics.com^$important | |
| 19 | ||*.newrelic.com^$important | |
| 20 | ||*.ntercom.io^$important | |
| 21 | ||*.cloudflareinsights.com^$important | |
| 22 | ||*.cloudflare-dns.com^$important | |
| 23 | ||*.cdn-apple.com^$important | |
| 24 | ||*.recaptcha.net^$important | |
| 25 | ||*.gmail.com^$important | |
| 26 | ||*.yandex.com^$important | |
| 27 | ||*.googleusercontent.com^$important | |
| 28 | ||*.nnmtools.com^$important | |
| 29 | ||*.gvt1.com^$important | |
| 30 | ||*.office.com^$important | |
| 31 | ||*.office.net^$important | |
| 32 | ||*.msn.com^$important | |
| 33 | ||*.bing.com^$important | |
| 34 | ||*.google.com.tw^$important | |
| 35 | ||*.amazon.it^$important | |
| 36 | ||*.wp.com^$important | |
| 37 | ||*.amazon.us^$important | |
| 38 | ||*.amazon.sg^$important | |
| 39 | ||*.amazon.in^$important | |
| 40 | ||*.amazon.com.be^$important | |
| 41 | ||*.amazon.co.jp^$important | |
| 42 | ||*.amazon.com.br^$important | |
| 43 | ||*.amazon.es^$important | |
| 44 | ||*.amazon.de^$important | |
| 45 | ||*.amazon.nl^$important | |
| 46 | ||*.amazontrust.com^$important | |
| 47 | ||*.ssl-images-amazon.com^$important | |
| 48 | ||*.media-amazon.com^$important | |
| 49 | ||*.payments-amazon.com^$important | |
| 50 | ||*.amazon.com^$important | |
| 51 | ||*.googleapis.cn^$important | |
| 52 | ||*.googleapis.co^$important | |
| 53 | ||*.microsoft.com^$important | |
| 54 | ||*.s-microsoft.com^$important | |
| 55 | ||*.live.com^$important | |
| 56 | ||*.xboxlive.com^$important | |
| 57 | ||googlevideo.com^$important | |
| 58 | ||*.amazon.fr^$important | |
| 59 | ||*.instagram.com^$important | |
| 60 | ||*.fbcdn.net^$important | |
| 61 | ||*.goo.gl^$important | |
| 62 | ||*.youtu.be^$important | |
| 63 | ||*.amzn.eu^$important | |
| 64 | ||*.apple.com^$important | |
| 65 | ||*.linkedin.com^$important | |
| 66 | ||*.adobedtm.com^$important | |
| 67 | ||*.x.com^$important | |
| 68 | ||*.amazonaws.com^$important | |
| 69 | ||*.szcdn.net^$important | |
| 70 | ||*.azure.com^$important | |
| 71 | ||*.awswaf.com^$important | |
| 72 | ||*.consentframework.com^$important | |
| 73 | ||*.vdo.ai^$important | |
| 74 | ||*.yieldlove.com^$important | |
| 75 | ||*.videoplaza.tv^$important | |
| 76 | ||*.cheggcdn.com^$important | |
| 77 | ||*.studybreakmedia.com^$important | |
| 78 | ||*.microsoftonline.com^$important | |
| 79 | ||*.windowsupdate.com^$important | |
| 80 | ||*.dns.google^$important | |
| 81 | ||*.mcafee.com^$important | |
| 82 | ||*.ka-f.fontawesome.com^$important | |
| 83 | ||*.cdn.cloudflare.net^$important | |
| 84 | ||*.duolingo.com^$important | |
| 85 | ||*.googlecode.com^$important | |
| 86 | ||*.googlesyndication.com^$important | |
| 87 | ||*.googleadservices.com^$important | |
| 88 | ||*.googleads.com^$important | |
| 89 | ||*.doubleclick.net^$important | |
| 90 | ||*.doubleclick.com^$important | |
| 91 | ||*.youtube-nocookie.com^$important | |
| 92 | ||*.googletagservices.com^$important | |
| 93 | ||*.googleoptimize.com^$important | |
| 94 | ||*.googleanalytics.com^$important | |
| 95 | ||*.googlecloud.com^$important | |
| 96 | ||*.googleblog.com^$important | |
| 97 | ||*.appspot.com^$important | |
| 98 | ||*.blogspot.com^$important | |
| 99 | ||*.blogger.com^$important | |
| 100 | ||*.google.com.au^$important | |
| 101 | ||*.google.ca^$important | |
| 102 | ||*.google.co.in^$important | |
| 103 | ||*.google.co.jp^$important | |
| 104 | ||*.google.co.uk^$important | |
| 105 | ||*.google.de^$important | |
| 106 | ||*.google.es^$important | |
| 107 | ||*.google.it^$important | |
| 108 | ||*.google.nl^$important | |
| 109 | ||*.google.pl^$important | |
| 110 | ||*.google.pt^$important | |
| 111 | ||*.google.ru^$important | |
| 112 | ||*.google.se^$important | |
| 113 | ||*.waze.com^$important | |
| 114 | ||*.nest.com^$important | |
| 115 | ||*.googlepixel.com^$important | |
| 116 | ||*.googlehome.com^$important | |
| 117 | ||*.chromecast.com^$important | |
| 118 | ||*.chrome.com^$important | |
| 119 | ||*.android.com^$important | |
| 120 | ||*.storage.googleapis.co^$important | |
| 121 | ||*.skype.com^$important | |
| 122 | ||*.yandex.ru^$important | |
| 123 | ||*.airbnb.com^$important | |
| 124 | ||*.tumblr.com^$important | |
| 125 | ||*.yahoo.com^$important | |
| 126 | ||*.spotify.com^$important | |
| 127 | ||*.vk.com^$important | |
| 128 | ||*.disqus.com^$important | |
| 129 | ||*.meetup.com^$important | |
| 130 | ||*.avast.com^$important | |
| 131 | ||*.baidu.com^$important | |
| 132 | ||*.qwant.fr^$important | |
| 133 | ||*.ecosia.org^$important | |
| 134 | ||*.bcebos.com^$important | |
| 135 | ||*.ecosia.com^$important | |
| 136 | ||*.qwant.com^$important | |
| 137 | ||*.yastatic.net^$important | |
| 138 | ||*.windows.net^$important | |
| 139 | ||*.quad9.net^$important | |
| 140 | ||*.tiktok.com^$important | |
| 141 | ||*.tiktokcdn.com^$important | |
| 142 | ||*.cdninstagram.com^$important | |
| 143 | ||*.whatsapp.com^$important | |
| 144 | ||*.whatsapp.net^$important | |
| 145 | ||*.apple-mapkit.com^$important | |
| 146 | ||*.aws.judge.me^$important | |
| 147 | ||*.sedoparking.com^$important | |
| 148 | ||*.adobe.com^$important | |
| 149 | ||*.acrobat.com^$important | |
| 150 | ||*.gamepass.com^$important | |
| 151 | ||*.growthbook.io^$important | |
| 152 | ||*.writefull.com^$important | |
| 153 | ||*.writefull.ai^$important | |
| 154 | ||*.msftconnecttest.com^$important | |
| 155 | ||*.config-rog-live-service.asus.com^$important | |
| 156 | ||*.dc-telemetry.net^$important | |
| 157 | ||*.easeus.com^$important | |
| 158 | ||*.flagcdn.com^$important | |
| 159 | ||*.transcend-cdn.com^$important | |
| 160 | ||*.jwpltx.com^$important | |
| 161 | ||*.yandex.ru^$important | |
| 162 | ||*.taboola.com^$important | |
| 163 | ||*.parsely.com^$important | |
| 164 | ||*.onesignal.com^$important | |
| 165 | ||*.abtasty.com^$important | |
| 166 | ||*.wp.com^$important | |
| 167 | ||*.servenobid.com^$important | |
| 168 | ||*.wixstatic.com^$important | |
| 169 | ||*.parastorage.com^$important | |
| 170 | ||*.mediavine.com^$important | |
| 171 | ||*.quicksearchui.com^$important | |
| 172 | ||*.firebaseio.com^$important | |
| 173 | ||*.hs-scripts.com^$important | |
| 174 | ||*.demdex.net^$important | |
| 175 | ||*.consensu.org^$important | |
| 176 | ||*.blogspot.com^$important | |
| 177 | ||*.engineeringresources.site^$important | |
| 178 | ||*.adnxs.com^$important | |
| 179 | ||*.blogger.com^$important | |
| 180 | ||*.criteo.com^$important | |
| 181 | ||*.netflix.com^$important | |
| 182 | ||*.fullmonitorstory.com^$important | |
| 183 | ||*.servenobid.com^$important | |
| 184 | ||*.xiti.com^$important | |
| 185 | ||*.tenor.com^$important | |
| 186 | ||*.giphy.com^$important | |
| 187 | ||*.pinterest.com^$important | |
| 188 | ||*.gravatar.com^$important | |
| 189 | ||*.online-metrix.net^$important | |
| 190 | ||*.paypalobjects.com^$important | |
| 191 | ||*.statcounter.com^$important | |
| 192 | ||*.sharethis.com^$important | |
| 193 | ||*.quantserve.com^$important | |
| 194 | ||*.getclicky.com^$important | |
| 195 | ||*.adapex.io^$important | |
| 196 | ||*.wainscotedpolygraphchiromancy.com^$important | |
| 197 | ||*.addtoany.com^$important | |
| 198 | ||*.licdn.com^$important | |
| 199 | ||*.outbrain.com^$important | |
| 200 | ||*.teads.tv^$important | |
| 201 | ||*.crazyegg.com^$important | |
| 202 | ||*.ads-twitter.com^$important | |
| 203 | ||*.adthrive.com^$important | |
| 204 | ||*.internetbestsecrets.com^$important | |
| 205 | ||*.polyfill.io^$important | |
| 206 | ||*.cloudfunctions.net^$important | |
| 207 | ||*.aticdn.net^$important | |
| 208 | ||*.uidapi.com^$important | |
| 209 | ||*.mediavine.com^$important | |
| 210 | ||*.connatix.com^$important | |
| 211 | ||*.tinypass.com^$important | |
| 212 | ||*.permutive.com^$important | |
| 213 | ||*.adsafeprotected.com^$important | |
| 214 | ||*.the-ozone-project.com^$important | |
| 215 | ||*.gscontxt.net^$important | |
| 216 | ||*.optimizely.com^$important | |
| 217 | ||*.visualwebsiteoptimizer.com^$important | |
| 218 | ||*.manychat.com^$important | |
| 219 | ||*.klaviyo.com^$important | |
| 220 | ||*.mccdn.me^$important | |
| 221 | ||*.ww91.intel.com^$important | |
| 222 | ||*.ageverif.com^$important | |
| 223 | ||*.ampproject.org^$important | |
| 224 | ||*.cxense.com^$important | |
| 225 | ||*.adnami.io^$important | |
| 226 | ||*.go-mpulse.net^$important | |
| 227 | ||*.jwpsrv.com^$important | |
| 228 | ||*.azurewebsites.net^$important | |
| 229 | ||*.marketo.net^$important | |
| 230 | ||*.piano.io^$important | |
| 231 | ||*.agego.com^$important | |
| 232 | ||*.agv18.net^$important | |
| 233 | ||*.google-maps.pro^$important | |
| 234 | ||*.dictivatted-foothers.cloud^$important | |
| 235 | ||*.html-load.cc^$important | |
| 236 | ||*.online-metrix.net^$important | |
| 237 | ||*.trinitymedia.ai^$important | |
| 238 | ||*.ziffstatic.com^$important | |
| 239 | ||*.ipify.org^$important | |
| 240 | ||*.vntsm.com^$important | |
| 241 | ||*.zeustechnology.com^$important | |
| 242 | ||*.ingress.linktr.ee^$important | |
| 243 | ||*.edge.browser-fp.production.linktr.ee^$important | |
| 244 | ||*.edge.browser-fp.production.linktr.ee^$important | |
| 245 | ||
| 246 | ! redirections | |
| 247 | ||reddit.com$document,uritransform=/^https:\/\/.+?\//https:\/\/redlib.miningtcup.me\// | |
| 248 | ||www.reddit.com$document,uritransform=/^https:\/\/.+?\//https:\/\/redlib.miningtcup.me\// | |
| 249 | ||imgur.com$document,uritransform=/^https:\/\/.+?\//https:\/\/rimgo.libre.tw\// | |
| 250 | ||fandom.com$document,uritransform=/^https:\/\/.+?\//https:\/\/phantom.libre.tw\// | |
| 251 | ||github.com$document,uritransform=/^https:\/\/.+?\//https:\/\/gothub.libre.tw\// | |
| 252 | ||tenor.com$document,uritransform=/^https:\/\/.+?\//https:\/\/soprano.libre.tw\// | |
| 253 | ||stackoverflow.com$document,uritransform=/^https:\/\/.+?\//https:\/\/overflow.libre.tw\// | |
| 254 | ||superuser.com$document,uritransform=/^https:\/\/.+?\//https:\/\/overflow.libre.tw\/exchange\/superuser.com\// | |
| 255 | ||stackexchange.com$document,uritransform=/^https:\/\/.+?\//https:\/\/overflow.libre.tw\/exchange\/unix\// | |
| 256 | ||wikipedia.org$document,uritransform=/^https:\/\/.+?\//https:\/\/wikiless.miningtcup.me\// | |
| 257 | ||en.wikipedia.org$document,uritransform=/^https:\/\/.+?\//https:\/\/wikiless.miningtcup.me\// | |
| 258 | ||
| 259 | ||x.com$document,uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\// | |
| 260 | ||tweeter.com$document,uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\// | |
| 261 | ||pic.tweeter.com$document,uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\// | |
| 262 | ||youtube.com$document,uritransform=/^https:\/\/.+?\//https:\/\/invidious.nerdvpn.de\// | |
| 263 | ||youtube-nocookie.com$document,uritransform=/^https:\/\/.+?\//https:\/\/invidious.nerdvpn.de\// | |
| 264 | ||youtu.be$document,uritransform=/^https:\/\/.+?\//https:\/\/invidious.nerdvpn.de\// | |
| 265 | ||
| 266 | ||
user.js added +46
| @@ -0,0 +1,46 @@ | ||
| 1 | // ==UserScript== | |
| 2 | // @name Redirect to Privacy-Friendly Frontends | |
| 3 | // @version 1.0 | |
| 4 | // @description Redirect supported websites to alternative frontend instances | |
| 5 | // @match *://*.reddit.com/* | |
| 6 | // @match *://*.youtube.com/* | |
| 7 | // @match *://*.imgur.com/* | |
| 8 | // @match *://*.pinterest.com/* | |
| 9 | // @match *://*.instagram.com/* | |
| 10 | // @match *://*.wikipedia.org/* | |
| 11 | // @match *://*.medium.com/* | |
| 12 | // @run-at document-start | |
| 13 | // @grant none | |
| 14 | // ==/UserScript== | |
| 15 | ||
| 16 | (() => { | |
| 17 | 'use strict'; | |
| 18 | ||
| 19 | const redirects = { | |
| 20 | 'reddit.com': 'redlib.catsarch.com', | |
| 21 | 'youtube.com': 'inv.nadeko.net', | |
| 22 | 'imgur.com': 'rimgo.nadeko.net', | |
| 23 | 'pinterest.com': 'binternet.privacyredirect.com', | |
| 24 | 'instagram.com': 'kittygram.nadeko.net', | |
| 25 | 'wikipedia.org': 'wikiless.privacyredirect.com', | |
| 26 | 'medium.com': 'scribe.privacyredirect.com' | |
| 27 | }; | |
| 28 | ||
| 29 | const hostname = location.hostname.toLowerCase(); | |
| 30 | ||
| 31 | // Match the domain itself and any of its subdomains. | |
| 32 | const sourceDomain = Object.keys(redirects).find(domain => | |
| 33 | hostname === domain || hostname.endsWith(`.${domain}`) | |
| 34 | ); | |
| 35 | ||
| 36 | if (!sourceDomain) return; | |
| 37 | ||
| 38 | const targetHost = redirects[sourceDomain]; | |
| 39 | ||
| 40 | // Preserve the path, query string, and fragment. | |
| 41 | const targetUrl = | |
| 42 | `${location.protocol}//${targetHost}${location.pathname}${location.search}${location.hash}`; | |
| 43 | ||
| 44 | location.replace(targetUrl); | |
| 45 | })(); | |
| 46 | ||