You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when installing from sites like greasyfork, Tampermonkey has to redirect to a temporary URL in order to circumvent the lack of proper redirection in ManifestV3, w3c/webextensions#610.
Looks like a better workaround might be to change the content-type header of .user.js URLs to an html page to prevent Chrome's built-in handling, so instead a normal navigation is performed, which will be seen by a non-blocking webRequest or chrome.tabs.onUpdated or chrome.webNavigation.
This example only shows one pattern in urlFilter. I don't know what's best for multiple patterns, either several identical rules with different urlFilter or one rule with regexFilter.
The text was updated successfully, but these errors were encountered:
Currently when installing from sites like greasyfork, Tampermonkey has to redirect to a temporary URL in order to circumvent the lack of proper redirection in ManifestV3, w3c/webextensions#610.
Looks like a better workaround might be to change the content-type header of .user.js URLs to an html page to prevent Chrome's built-in handling, so instead a normal navigation is performed, which will be seen by a non-blocking webRequest or chrome.tabs.onUpdated or chrome.webNavigation.
This example only shows one pattern in urlFilter. I don't know what's best for multiple patterns, either several identical rules with different urlFilter or one rule with regexFilter.
The text was updated successfully, but these errors were encountered: