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?

  • PenguinCoder@beehaw.org
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      1
      ·
      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!