Commit Graph

522 Commits

Author SHA1 Message Date
Daniel Jacobs 8481d9925f extension: Reword SWF takeover option 2024-08-07 19:47:09 -04:00
Daniel Jacobs d723988237 extension: Don't explicitly check swfTakeover option initially 2024-08-07 19:47:09 -04:00
Daniel Jacobs 6096ac2a5f extension: Don't enable SWF takeover if Ruffle is disabled when toggled 2024-08-07 19:47:09 -04:00
Daniel Jacobs aa647317e7 extension: Hide toggle for SWF redirect on browsers without support 2024-08-07 19:47:09 -04:00
Daniel Jacobs 125d0a84e4 extension: Mention switching to the browser namespace as a TODO 2024-08-07 19:47:09 -04:00
Daniel Jacobs b4eb73ba6c extension: Use more accurate regex for SWF/SPL URLs 2024-08-07 19:47:09 -04:00
Daniel Jacobs eb22fe2151 extension: Allow manually enabling or disabling SWF takeover 2024-08-07 19:47:09 -04:00
Daniel Jacobs 38965e65e4 extension: Don't add dynamic rules where responseHeaders rules ignored 2024-08-07 19:47:09 -04:00
Daniel Jacobs 3a47f8a20f extension: Allow this to work on Firefox when its eventually supported 2024-08-07 19:47:09 -04:00
Daniel Jacobs 10edaf2c48 extension: Add ability to download SWF to local player page 2024-08-07 19:47:09 -04:00
Daniel Jacobs 724442997b extension: Re-enable SWF takeover using declarativeNetRequest 2024-08-07 19:47:09 -04:00
Crowdin Bot c7ecaf9ae4 chore: Update translations from Crowdin 2024-08-05 23:56:21 +02:00
dependabot[bot] 532f043cd4 build(deps): bump the npm-minor group in /web with 8 updates
Bumps the npm-minor group in /web with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.9.2` | `48.11.0` |
| [globals](https://github.com/sindresorhus/globals) | `15.8.0` | `15.9.0` |
| [stylelint](https://github.com/stylelint/stylelint) | `16.8.0` | `16.8.1` |
| [tsx](https://github.com/privatenumber/tsx) | `4.16.2` | `4.16.5` |
| [chromedriver](https://github.com/giggio/node-chromedriver) | `127.0.0` | `127.0.1` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.19` | `10.4.20` |
| [axios](https://github.com/axios/axios) | `1.7.2` | `1.7.3` |
| [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) | `4.3.16` | `4.3.17` |


Updates `eslint-plugin-jsdoc` from 48.9.2 to 48.11.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.9.2...v48.11.0)

Updates `globals` from 15.8.0 to 15.9.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.8.0...v15.9.0)

Updates `stylelint` from 16.8.0 to 16.8.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.8.0...16.8.1)

Updates `tsx` from 4.16.2 to 4.16.5
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.16.2...v4.16.5)

Updates `chromedriver` from 127.0.0 to 127.0.1
- [Commits](https://github.com/giggio/node-chromedriver/compare/127.0.0...127.0.1)

Updates `autoprefixer` from 10.4.19 to 10.4.20
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.19...10.4.20)

Updates `axios` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.3)

Updates `@types/chai` from 4.3.16 to 4.3.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: chromedriver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 16:58:22 +02:00
Crowdin Bot 3b482b176e chore: Update translations from Crowdin 2024-08-05 13:37:33 +02:00
Nathan Adams cd8125fbf5 web: Extract interfaces for RufflePlayer 2024-08-05 04:10:43 +02:00
Crowdin Bot 2ac4e7e62d chore: Update translations from Crowdin 2024-07-28 01:00:18 +02:00
Crowdin Bot 9065ce3a03 chore: Update translations from Crowdin 2024-07-24 21:57:36 +02:00
dependabot[bot] eb2c98b8e6 build(deps-dev): bump the npm-minor group in /web with 2 updates
Bumps the npm-minor group in /web with 2 updates: [typescript](https://github.com/Microsoft/TypeScript) and [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome).


Updates `typescript` from 5.5.3 to 5.5.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)

Updates `@types/chrome` from 0.0.268 to 0.0.269
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@types/chrome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 18:50:44 +02:00
Daniel Jacobs d8da4ffaa5 extension: Don't redefine the window.close() method 2024-07-24 17:49:10 +02:00
Daniel Jacobs 141eab4292 extension: Unregister event listeners before adding new ones 2024-07-24 17:49:10 +02:00
Daniel Jacobs 830b5df3dc extension: Request permission for SWF origins loaded in player as needed 2024-07-24 17:49:10 +02:00
Crowdin Bot db1e4208e3 chore: Update translations from Crowdin 2024-07-22 19:41:49 +02:00
Daniel Jacobs ecc3cc4242 extension: Change from switch/toggle to proper boolean for tab reload 2024-07-17 14:54:13 -04:00
Daniel Jacobs 95ac802c4d extension: Don't auto-reload tab when permissions are granted 2024-07-17 14:54:13 -04:00
Nathan Adams e613fb73dd web: Use eslint2021 as target, all our min browser versions support this 2024-07-17 13:00:01 +02:00
riku-42 e93cf15b7c web/extension: Use source-map as webpack devtool for debug builds 2024-07-12 13:22:16 +02:00
Nathan Adams adebb04e3d web: Removed some unneeded eslint configs 2024-07-08 11:34:35 +02:00
Nathan Adams f5dc3c8975 web: Enable tseslint.configs.strict (it caught a bug!) 2024-07-08 11:34:35 +02:00
Nathan Adams 6e74f57318 web: Update to eslint 9 2024-07-08 11:34:35 +02:00
Nathan Adams 53d56573c1 web: Migrate to 'flat config' style for eslint 2024-07-08 11:34:35 +02:00
dependabot[bot] 6a9b8a5e1b build(deps-dev): bump the npm-minor group in /web with 8 updates
Bumps the npm-minor group in /web with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli) | `8.39.0` | `8.39.1` |
| [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner) | `8.39.0` | `8.39.1` |
| [mocha](https://github.com/mochajs/mocha) | `10.5.2` | `10.6.0` |
| [tsx](https://github.com/privatenumber/tsx) | `4.16.0` | `4.16.2` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.5.0` | `48.5.2` |
| [replace-in-file](https://github.com/adamreisnz/replace-in-file) | `8.0.2` | `8.1.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.2` | `5.3.3` |
| [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) | `8.39.0` | `8.39.1` |


Updates `@wdio/cli` from 8.39.0 to 8.39.1
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.39.1/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.39.1/packages/wdio-cli)

Updates `@wdio/local-runner` from 8.39.0 to 8.39.1
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.39.1/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.39.1/packages/wdio-local-runner)

Updates `mocha` from 10.5.2 to 10.6.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.5.2...v10.6.0)

Updates `tsx` from 4.16.0 to 4.16.2
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.16.0...v4.16.2)

Updates `eslint-plugin-jsdoc` from 48.5.0 to 48.5.2
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.5.0...v48.5.2)

Updates `replace-in-file` from 8.0.2 to 8.1.0
- [Release notes](https://github.com/adamreisnz/replace-in-file/releases)
- [Changelog](https://github.com/adamreisnz/replace-in-file/blob/main/CHANGELOG.md)
- [Commits](https://github.com/adamreisnz/replace-in-file/commits)

Updates `vite` from 5.3.2 to 5.3.3
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.3/packages/vite)

Updates `webdriverio` from 8.39.0 to 8.39.1
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.39.1/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.39.1/packages/webdriverio)

---
updated-dependencies:
- dependency-name: "@wdio/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: "@wdio/local-runner"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: replace-in-file
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: webdriverio
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-07 12:50:16 +02:00
Daniel Jacobs a5a9ef9a03 extension: Don't register 4399 content script if Ruffle is disabled 2024-07-06 12:55:37 +02:00
Daniel Jacobs 772518d25a extension: Switch to declarativeNetRequestWithHostAccess 2024-07-03 13:35:59 +02:00
Crowdin Bot ac6f78f8a8 chore: Update translations from Crowdin 2024-07-02 23:56:16 +02:00
dependabot[bot] 353fa41a7f build(deps): bump the npm-minor group in /web with 10 updates
Bumps the npm-minor group in /web with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.14.1` | `7.15.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.14.1` | `7.15.0` |
| [mocha](https://github.com/mochajs/mocha) | `10.5.0` | `10.5.2` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.5.2` | `5.5.3` |
| [tsx](https://github.com/privatenumber/tsx) | `4.15.7` | `4.16.0` |
| [chromedriver](https://github.com/giggio/node-chromedriver) | `126.0.3` | `126.0.4` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.4.0` | `48.5.0` |
| [replace-in-file](https://github.com/adamreisnz/replace-in-file) | `8.0.0` | `8.0.1` |
| [typedoc](https://github.com/TypeStrong/TypeDoc) | `0.26.2` | `0.26.3` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.1` | `5.3.2` |


Updates `@typescript-eslint/eslint-plugin` from 7.14.1 to 7.15.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 7.14.1 to 7.15.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/parser)

Updates `mocha` from 10.5.0 to 10.5.2
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.5.0...v10.5.2)

Updates `typescript` from 5.5.2 to 5.5.3
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3)

Updates `tsx` from 4.15.7 to 4.16.0
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.15.7...v4.16.0)

Updates `chromedriver` from 126.0.3 to 126.0.4
- [Commits](https://github.com/giggio/node-chromedriver/compare/126.0.3...126.0.4)

Updates `eslint-plugin-jsdoc` from 48.4.0 to 48.5.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.4.0...v48.5.0)

Updates `replace-in-file` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/adamreisnz/replace-in-file/releases)
- [Changelog](https://github.com/adamreisnz/replace-in-file/blob/main/CHANGELOG.md)
- [Commits](https://github.com/adamreisnz/replace-in-file/commits)

Updates `typedoc` from 0.26.2 to 0.26.3
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.2...v0.26.3)

Updates `vite` from 5.3.1 to 5.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: chromedriver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor
- dependency-name: replace-in-file
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:46:01 +02:00
Crowdin Bot 4b849cd52a chore: Update translations from Crowdin 2024-07-01 01:17:52 +02:00
Nathan Adams 07cfa51731 web: Use automatic publicPath in extension 2024-06-30 23:42:23 +02:00
Nathan Adams fd5ca6ae39 web: Specify the correct path of assets for webpack in extension 2024-06-30 21:00:28 +02:00
Nathan Adams 97396a1007 web: Changed installRuffle to always work with window.RufflePlayer, saves boilerplate 2024-06-30 13:09:01 +02:00
Nathan Adams 6827d4f086 web: Rename PublicAPI.negotiate() to a more accurate installRuffle() 2024-06-30 13:09:01 +02:00
Crowdin Bot c07f5cfca5 chore: Update translations from Crowdin 2024-06-30 10:13:29 +02:00
TÖRÖK Attila 9d11eb9816 web/extension: Fix AMO submission status checking 2024-06-30 10:06:27 +02:00
Crowdin Bot f2bbd241f9 chore: Update translations from Crowdin 2024-06-29 10:18:55 +02:00
TÖRÖK Attila 7374c89ee8 web/extension: Check last version on AMO, skip submission if not yet approved 2024-06-29 09:16:31 +02:00
Daniel Jacobs 948987b743 extension: Only show onboarding page on first install 2024-06-28 13:31:23 -04:00
Crowdin Bot 02f15fd27c chore: Update translations from Crowdin 2024-06-28 00:59:58 +02:00
Crowdin Bot c470adfe71 chore: Update translations from Crowdin 2024-06-27 10:06:38 +02:00
Crowdin Bot c6ed64cced chore: Update translations from Crowdin 2024-06-26 03:16:13 +02:00
Daniel Jacobs 38e48099d0 chore: Fix formatting 2024-06-24 20:17:34 -04:00
Daniel Jacobs 3b6cc37324 extension: On Chrome, adding permissions for a specific site adds many 2024-06-24 20:17:34 -04:00