fix(chrome): load amazon worker patch locally instead of from remote CDN (#232) * fix(chrome): load amazon worker patch from bundled file instead of remote CDN Chrome loaded the patch from the jsdelivr CDN, which fails when the CDN is blocked/rate-limited (see issue #220) and is a remote code execution dependency. Mirror the Firefox behaviour by bundling and loading src/patch_amazonworker.js locally via web_accessible_resources. Also add defensive guards and diagnostic logging for null seekPreviewsURL and missing qualities. * fix(firefox): remove local storage patch URL for amazon worker (remove twitchnosub.js) * refactor: consolidate setItem and patch_url into global scripts Remove browser-specific app.js (chrome/firefox) and the redundant firefox/twitchnosub.js. The tns_internal_patch_url setItem is now done in the global src/twitchnosub.js and patch_url is read directly at the top of src/app.js. Update both manifests to drop the removed files.
fix(chrome): load amazon worker patch locally instead of from remote CDN (#232) * fix(chrome): load amazon worker patch from bundled file instead of remote CDN Chrome loaded the patch from the jsdelivr CDN, which fails when the CDN is blocked/rate-limited (see issue #220) and is a remote code execution dependency. Mirror the Firefox behaviour by bundling and loading src/patch_amazonworker.js locally via web_accessible_resources. Also add defensive guards and diagnostic logging for null seekPreviewsURL and missing qualities. * fix(firefox): remove local storage patch URL for amazon worker (remove twitchnosub.js) * refactor: consolidate setItem and patch_url into global scripts Remove browser-specific app.js (chrome/firefox) and the redundant firefox/twitchnosub.js. The tns_internal_patch_url setItem is now done in the global src/twitchnosub.js and patch_url is read directly at the top of src/app.js. Update both manifests to drop the removed files.
fix(chrome): load amazon worker patch locally instead of from remote CDN (#232) * fix(chrome): load amazon worker patch from bundled file instead of remote CDN Chrome loaded the patch from the jsdelivr CDN, which fails when the CDN is blocked/rate-limited (see issue #220) and is a remote code execution dependency. Mirror the Firefox behaviour by bundling and loading src/patch_amazonworker.js locally via web_accessible_resources. Also add defensive guards and diagnostic logging for null seekPreviewsURL and missing qualities. * fix(firefox): remove local storage patch URL for amazon worker (remove twitchnosub.js) * refactor: consolidate setItem and patch_url into global scripts Remove browser-specific app.js (chrome/firefox) and the redundant firefox/twitchnosub.js. The tns_internal_patch_url setItem is now done in the global src/twitchnosub.js and patch_url is read directly at the top of src/app.js. Update both manifests to drop the removed files.