Efficient JavaScript Redirect Tool for Chrome
ScriptSwitch is a free Chrome add-on designed to redirect specific JavaScript requests to designated URLs without the need for code modification. It is particularly useful for replacing CDN links, applying hotfixes, or conducting experimental overrides. The tool provides a straightforward interface for users to input the original and target URLs, select matching methods like exact, prefix, or regex, and specify the domain scope to minimize impact on other sites.
The functionality of ScriptSwitch is enhanced by its lightweight architecture, built on MV3 and Declarative Net Request, ensuring quick performance without constant background activity. It supports rule activation and deactivation, as well as JSON export and import for easy management of redirection rules. Users can verify the success of redirects using Chrome's DevTools Network tab, making ScriptSwitch a powerful tool for developers and testers alike.