this post was submitted on 14 Oct 2023
67 points (100.0% liked)

Chat

7499 readers
6 users here now

Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

This just appeared on my screen when visiting YouTube. Yes, I use Ublock Origin. However, what is all of this about? Will I be banned from YouTube if I don't comply?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Penguincoder@beehaw.org 12 points 1 year ago (1 children)

Time once again for me to share something helpful that can be used with one of my favorite extensions

{
    "createdBy": "Redirector v3.5.3",
    "createdAt": "2023-10-12T00:00:00.357Z",
    "redirects": [
       {
            "description": "YouTube>YewTube",
            "exampleUrl": "https://youtube.com/watch?v=ckatAzemRHk/",
            "exampleResult": "https://yewtu.be/watch?v=ckatAzemRHk/",
            "error": null,
            "includePattern": "^(?:https?):\\/\\/(?:\\w+\\.)?youtube\\.com(.+)?\\b",
            "excludePattern": "",
            "patternDesc": "Redirect Youtube",
            "redirectUrl": "https://yewtu.be$1",
            "patternType": "R",
            "processMatches": "noProcessing",
            "disabled": false,
            "grouped": false,
            "appliesTo": [
                "main_frame"
            ]
        },
    ]
}
[โ€“] Leon@beehaw.org 1 points 1 year ago

sorry to reply to this old comment but i just wanted to say the comma after the } on line 21 breaks it, remove that and it imports in and works great. thanks for the code!