JavaScript Proxy URI Pattern Test

Default Pattern

Default pattern: uploads\/plugin-version\/\d+\/file_name\/.*\.js(\?.*)?

This should match JavaScript files in the uploads/plugin-version/* path on any domain.

URLs That Should Match (Will Redirect)

https://example.com/uploads/plugin-version/123/file_name/script.js
https://westernightwall.zenith-develop.env.eventfinity.app/uploads/plugin-version/3/file_name/T9OvqS1727804478.js
https://different-domain.com/uploads/plugin-version/456/file_name/myfile.js?signature=abc123&expires=789
https://api.staging.example.org/uploads/plugin-version/999/file_name/component.js?token=xyz

URLs That Should NOT Match (No Redirect)

https://example.com/uploads/versions/123/file_name/script.js (different path: versions instead of plugin-version)
https://example.com/uploads/plugin-version/123/file_name/style.css (not a .js file)
https://example.com/other-path/plugin-version/123/file_name/script.js (wrong base path)
https://localhost:3060/src/Plugin.vue (localhost - prevent redirect loops)

Test Actions

Click the buttons below to test loading JavaScript files:

Instructions

  1. Install and enable the JavaScript Proxy extension
  2. Configure it to redirect to your local development server
  3. Open browser developer tools to see network requests
  4. Click the test buttons above to see which URLs get redirected
  5. URLs matching the pattern should redirect to your local server
  6. URLs not matching should load normally (and probably fail)