Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Warning! Non-ASCII characters found.": {
- "regex": "[^\\p{ASCII}]"
- },
- "HTTP link. Consider using HTTPS.": {
- "regex": "^http:\/\/",
- "replacement": "https:\/\/"
- },
- "Missing HTTP scheme.": {
- "regex": "^(?!.*:)",
- "replacement": "http:\/\/$0"
- },
- "Missing HTTPS scheme.": {
- "regex": "^(?!.*:)",
- "replacement": "https:\/\/$0"
- },
- "Invalid http scheme capitalization.": {
- "regex": "^(?!http:)[hH][tT]{2}[pP]:(.*)",
- "replacement": "http:$1",
- "automatic": "true"
- },
- "Invalid https scheme capitalization.": {
- "regex": "^(?!https:)[hH][tT]{2}[pP][sS]:(.*)",
- "replacement": "https:$1",
- "automatic": "true"
- },
- "Reddit ➔ Redlib": {
- "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?reddit.com\/(.*)",
- "replacement": "https:\/\/farside.link\/redlib\/$1",
- "enabled": "true"
- },
- "X ➔ Nitter": {
- "regex": "^https?:\/\/x.com\/(.*)",
- "replacement": [
- "https:\/\/xcancel.com\/$1",
- "https:\/\/nitter.poast.org\/$1",
- "https:\/\/nitter.privacydev.net\/$1"
- ],
- "enabled": "true"
- },
- "YouTube Desktop": {
- "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube.com\/watch\\?v=(.*)",
- "replacement": [
- "https:\/\/youtube.com\/v\/$1"
- ],
- "enabled": "true"
- },
- "Youtube ➔ Invidious": {
- "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube.com\/(.*)",
- "replacement": [
- "https:\/\/yewtu.be\/$1",
- "https:\/\/farside.link\/invidious\/$1"
- ],
- "enabled": "false"
- },
- "Google Translate": {
- "regex": "^https?:\/\/(?!([a-z0-9-]+\\.)?(google\\.com|translate\\.goog|.*\\.us$))",
- "replacement": [
- "https:\/\/translate.google.com\/translate?sl=auto&tl=en&hl=en&u=$0"
- ],
- "enabled": "true"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment