Skip to content

Instantly share code, notes, and snippets.

@Ilithy
Ilithy / No-Google.json
Created October 18, 2022 18:55
Google privacy friendly redirects
"Google images ➔ Mojeek image": {
"regex": "^https?:\/\/([a-z]+\\.)*?google\\.[a-z]+\/search\\?(.*&)*(q=[^&]*).*",
"replacement": "https:\/\/www.mojeek.com\/search?$3&fmt=images",
"automatic": "false",
"enabled": "true"
},
"Google search ➔ Mojeek search": {
"regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?google.*\/(.*)",
"replacement": "https:\/\/www.mojeek.com\/$1",
"automatic": "false",
@Ilithy
Ilithy / fr-rFR_privacy-redirect.json
Last active October 18, 2022 18:59
French version of privacy redirector for urlcleaner app
{
"Avertissement! Caractères non ascii détectés": {
"regex": "[^\\p{ASCII}]"
},
"Lien http, pensez à utiliser l'https": {
"regex": "^http:\/\/",
"replacement": "https:\/\/"
"automatic": "false",
"enabled": "true"
},