Greasy Fork is available in English.

View Full Twitter Image

Undo Twitter's insistence to down-res images when viewing on its dedicated page and add a button to download the full image without the weird file extensions which don't count as actual images.

< Обсуждения View Full Twitter Image

Отзыв: Хороший — скрипт работает как нужно

New URL redirection not working - url being treated as string

Was having some issues for a while with some new URLs not redirecting properly using tampermonkey on Brave, haven't tested out other browsers to see if it's Brave-exclusive.

Figured out that the url was being set as a string, so it didn't have a search parameter. It was working previously, so something other than the script must have changed.

Anyway, assigning it as

let url = new URL(location.href);

fixes the issue on my end.

Whoops. That bug certainly won't be Brave-exclusive, and indeed your code should fix it. Truth be told, I wrote that without testing it, because I haven't seen any URLs in the new format yet. Could you send an example URL for me to test future updates with?

Ответить

Войдите, чтобы ответить.