Skip to content

youtu.be seems to have is parameter in url when using mobile app #202

Open

Description

@peltsippi

Just fyi. I utilised your good blocklist in my more manual static web page based approach and immediately spotted that youtube mobile app uses is -parameter and pc browser uses si -parameter. So the data.min.json spots the latter but not the former.

Suggested edit:
Now:
"youtube": { "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?(youtube\\.com|youtu\\.be)", "completeProvider": false, "rules": [ "feature", "gclid", "kw" , "si", "pp" ], "referralMarketing": [], "rawRules": [], "exceptions": [ "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/signin\\?.*?" ], "redirections": [ "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/redirect?.*?q=([^&]*)" ], "forceRedirection": false },

Suggested modification
"youtube": { "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?(youtube\\.com|youtu\\.be)", "completeProvider": false, "rules": [ "feature", "gclid", "kw" , "si", "is", "pp" ], "referralMarketing": [], "rawRules": [], "exceptions": [ "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/signin\\?.*?" ], "redirections": [ "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/redirect?.*?q=([^&]*)" ], "forceRedirection": false },

If you want to protect against links sent from smartphone apps this should be added too at some point.

Ps. thanks for really good blocklist! It made my day.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions