Last active
November 9, 2025 02:11
My custom rules for URLCheck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "My custom rules for URLCheck": { | |
| "Amazon": { | |
| "urlPattern": "^https?:\/\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}", | |
| "rules": [ | |
| "psc", | |
| "spc", | |
| "sp_csd" | |
| ], | |
| "exceptions": [ | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}\/gp\/.*?(?:redirector.html|cart\/ajax-update.html|video\/api\/)", | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}\/(?:hz\/reviews-render\/ajax\/|message-us\\?|s\\?)" | |
| ], | |
| "redirections": [ | |
| "^https:\/\/aax-(?:[a-z\\-]{2,}){1,}\\.amazon(?:\\.[a-z]{2,}){1,}\/x\/c\/[a-zA-Z0-9_-]+\/clv1_[^\/]+\/(https?[^&]+)" | |
| ] | |
| }, | |
| "amazon-adsystem (won’t work unless you remove the default rule)": { | |
| "completeProvider": false, | |
| "urlPattern": "^https?:\/\/(?:[a-z0-9-]+\\.)*?amazon-adsystem(?:\\.[a-z]{2,}){1,}", | |
| "exceptions": [ | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?amazon-adsystem(?:\\.[a-z]{2,}){1,}\/v3\/oor\\?" | |
| ], | |
| "redirections": [ | |
| "^https:\/\/aax-(?:[a-z0-9\\.\\-]{2,}){1,}\\.amazon-adsystem(?:\\.[a-z]{2,}){1,}\/x\/c\/[a-zA-Z0-9_-]+\/clv1_[^\/]+\/(https?[^&]+)" | |
| ] | |
| }, | |
| "Google": { | |
| "forceRedirection": true, | |
| "urlPattern": "^https?:\/\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}", | |
| "rules": [ | |
| "#sbfbu", | |
| "pi", | |
| "sg_ss" | |
| ], | |
| "exceptions": [ | |
| "^https?:\/\/mail\\.google\\.com\/mail\/u\/", | |
| "^https?:\/\/accounts\\.google\\.com\/o\/oauth2\/", | |
| "^https?:\/\/accounts\\.google\\.com\/signin\/oauth\/", | |
| "^https?:\/\/(?:docs|accounts)\\.google(?:\\.[a-z]{2,}){1,}", | |
| "^https?:\/\/([a-z0-9-\\.])*(chat|drive)\\.google\\.com\/videoplayback", | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}(?:\/upload)?\/drive\/", | |
| "^https?:\/\/news\\.google\\.com.*\\?hl=.", | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\/s\\?tbm=map.*?gs_[a-z]*=.", | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\/(?:complete\/search|setprefs|searchbyimage)", | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\/(?:appsactivity|aclk\\?)", | |
| "^https?:\/\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\/safe[-]?browsing\/([^&]+)" | |
| ] | |
| }, | |
| "Instagram": { | |
| "urlPattern": "^https?:\/\/(?:[a-z0-9-]+\\.)*?instagram\\.com", | |
| "rules": [ | |
| "ig_rid", | |
| "ig_mid" | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment