您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirect to privacy friendly front-ends of popular services.
当前为
- // ==UserScript==
- // @name Privacy Frontend Redirect
- // @namespace https://greasyfork.org/en/scripts/458875-privacy-frontend-redirect
- // @match *://*youtube.com/*
- // @match *://*youtu.be/*
- // @match *://*twitter.com/*
- // @match *://*reddit.com/*
- // @match *://*imgur.com/*
- // @match *://*instagram.com/*
- // @match *://*tiktok.com/*
- // @match *://*imdb.com/*
- // @match *://*fandom.com/*
- // @match *://*translate.google.com/*
- // @match *://*medium.com/*
- // @grant none
- // @version 2.1.3
- // @author NoUser
- // @description Redirect to privacy friendly front-ends of popular services.
- // @run-at document-start
- // @license MIT
- // ==/UserScript==
- // YouTube
- if (window.location.hostname === "www.youtube.com") {
- window.location.href = window.location.href.replace("www.youtube.com", "inv.librefront.com");
- }
- const t = ["nitter.sneed.network", "canada.unofficialbird.com", "nitter.privacytools.io", "nitter.foss.wtf", "nitter.privacy.com.de", "nitter.1d4.us", "nitter.pussthecat.org", "nitter.poast.org", "twitter.censors.us"]
- const rt = t[Math.floor(Math.random() * t.length)];
- if (window.location.hostname === "twitter.com") {
- window.location.href = window.location.href.replace("twitter.com", rt);
- } else if(window.location.hostname === "mobile.twitter.com") {
- window.location.href = window.location.href.replace("mobile.twitter.com", rt);
- }
- const r = ["libreddit.eu.org", "libreddit.spike.codes", "lr.odyssey346.dev", "rd.funami.tech", "libreddit.dcs0.hu", "lr.vern.cc", "www.troddit.com"]
- const rr = r[Math.floor(Math.random() * r.length)];
- if (window.location.hostname === "www.reddit.com") {
- window.location.href = window.location.href.replace("www.reddit.com", rr);
- }
- // Imgur
- const i = ["rimgo.pussthecat.org", "rimgo.totaldarkness.net", "rimgo.vern.cc", "imgur.artemislena.eu", "rimgo.privacydev.net", "rimgo.bus-hit.me"]
- const ri = i[Math.floor(Math.random() * i.length)];
- if (window.location.hostname === "imgur.com") {
- window.location.href = window.location.href.replace("imgur.com", ri);
- } else if(window.location.hostname === "i.imgur.com") {
- window.location.href = window.location.href.replace("i.imgur.com", ri);
- }
- const ins = ["bibliogram.froth.zone", "ig.tokhmi.xyz", "bibliogram.priv.pw"]
- const rins = ins[Math.floor(Math.random() * ins.length)];
- if (window.location.hostname === "www.instagram.com") {
- window.location.href = window.location.href.replace("www.instagram.com", rins);
- }
- // TikTok
- const ti = ["proxitok.pussthecat.org", "proxitok.esmailelbob.xyz", "tok.habedieeh.re", "tok.artemislena.eu", "proxitok.privacydev.net", "proxitok.manasiwibi.com"]
- const rti = ti[Math.floor(Math.random() * ti.length)];
- if (window.location.hostname === "www.tiktok.com") {
- window.location.href = window.location.href.replace("www.tiktok.com", rti);
- }
- // IMDB
- const im = ["ld.vern.cc", "libremdb.esmailelbob.xyz", "lmdb.tokhmi.xyz", "libremdb.iket.me", "libremdb.pussthecat.org"]
- const rim = im[Math.floor(Math.random() * im.length)];
- if (window.location.hostname === "www.imdb.com") {
- window.location.href = window.location.href.replace("www.imdb.com", rim);
- }
- // Fandom
- const fan = ["https://bw.vern.cc", "https://breezewiki.esmailelbob.xyz", "https://bw.artemislena.eu", "https://breezewiki.pussthecat.org"]
- const rfan = fan[Math.floor(Math.random() * fan.length)];
- var sub = window.location.host.split('.')[0]
- if (window.location.href.match(/^https:\/\/(.+)?\.fandom\.com\//)) { window.location.replace(rfan + "/" + sub + window.location.pathname) }
- // Google Translate
- const tr = ["lingva.ml", "translate.plausibility.cloud", "lingva.lunar.icu", "translate.projectsegfau.lt", "translate.jae.fi"]
- const rtr = tr[Math.floor(Math.random() * tr.length)];
- if (window.location.hostname === "translate.google.com") {
- window.location.href = window.location.href.replace("translate.google.com", rtr);
- }
- // Medium
- const m = ["scribe.rip", "scribe.nixnet.services", "scribe.citizen4.eu", "scribe.bus-hit.me", "scribe.froth.zone", "scribe.rawbit.ninja"]
- const rm = m[Math.floor(Math.random() * m.length)];
- if (window.location.hostname === "medium.com") {
- window.location.href = window.location.href.replace("medium.com", rm);
- }