Redirector icon indicating copy to clipboard operation
Redirector copied to clipboard

[bug] unreliable script redirect

Open HookedBehemoth opened this issue 3 years ago • 2 comments

I'm working on twitter/nitter embeds right now and setting up a rule to redirect https://platform.twitter.com/widgets.js to my nitter instance only works sometimes.

config

{
    "createdBy": "Redirector v3.5.3",
    "createdAt": "2022-06-19T23:37:15.611Z",
    "redirects": [
        {
            "description": "",
            "exampleUrl": "https://platform.twitter.com/widgets.js",
            "exampleResult": "https://nitter.cunnycon.org/js/widgets.js",
            "error": null,
            "includePattern": "https://platform.twitter.com/widgets.js",
            "excludePattern": "",
            "patternDesc": "",
            "redirectUrl": "https://nitter.cunnycon.org/js/widgets.js",
            "patternType": "W",
            "processMatches": "noProcessing",
            "disabled": false,
            "grouped": false,
            "appliesTo": [
                "script"
            ]
        }
    ]
}

e.g. on https://www.reddit.com/live/18hnzysb1elcs/ Screenshot from 2022-06-20 01-34-14

On here and here it works fine. On here it doesn't work at all.

This has been tested on firefox nightly (103), firefox (101) and fenix nightly (firefox android; 103).

HookedBehemoth avatar Jun 19 '22 23:06 HookedBehemoth

Behaves equally on chromium image

HookedBehemoth avatar Jun 20 '22 00:06 HookedBehemoth

image Found the culprit. I see no way to disable this :/

HookedBehemoth avatar Jun 20 '22 00:06 HookedBehemoth