evsamson
3bfdc5c755
FIX: Chromium window-size example format ( #630 )
...
Co-authored-by: smsnbv <active.sock7816@fastmail.com >
2024-04-22 07:12:30 -05:00
Aaron
acb75543ff
docs: Add docs about handling updates
...
Related to #620
2024-04-20 00:04:05 -05:00
Aaron
a94d673f31
docs: Fix typo in assets page
2024-04-15 12:17:02 -05:00
Can Rau
aa5a9d4fa9
docs: Tix typo in entrypoints.md ( #614 )
2024-04-14 17:21:12 -05:00
日高 凌
77da2d6ade
docs: Fix typo on example for wxt.config.ts. ( #609 )
2024-04-12 09:00:15 -05:00
couriourc
c09994263e
doc: Fix bad extension API examples ( #608 )
2024-04-12 01:01:07 -05:00
Vlad Fedosov
05db264e02
docs: Fixed "Reload the Extension" section ( #559 )
...
Co-authored-by: Aaron <aaronklinker1@gmail.com >
2024-03-20 16:52:52 -05:00
Guillaume
e087a0d6ef
docs: Add examples for GitHub Actions ( #540 )
...
Co-authored-by: Aaron <aaronklinker1@gmail.com >
2024-03-13 23:07:17 -05:00
Sunshio
16c2e3218b
docs: Add documentation for Bun.sh ( #543 )
...
Co-authored-by: Aaron <aaronklinker1@gmail.com >
2024-03-12 07:46:46 -05:00
Luca Dalli
0d540a6df9
docs: Replace pnpx with pnpm dlx ( #527 )
2024-03-06 16:04:52 -06:00
Aaron
f19e6908b0
feat: Automatically generate browser_action based on action for MV2 ( #519 )
2024-03-03 09:52:43 -06:00
Aaron
5f651cc3fe
feat: Automatically remove top-level MV2-only or MV3-only keys ( #518 )
...
When targeting MV2, all MV3 keys will be removed. When targeting MV3, all MV2 keys will be removed.
2024-03-03 09:22:24 -06:00
Aaron
9ff90d0acf
feat: Download and override private packages for Firefox code review ( #507 )
2024-03-01 10:17:45 -06:00
Aaron Klinker
195d2cceaf
docs: Add docs about configuring the manifest as a function
2024-02-29 11:39:06 -06:00
btea
b35e499355
docs: Fix typos ( #503 )
2024-02-28 21:36:43 -06:00
Aaron Klinker
35778f70cb
docs: Update comparison page
2024-02-28 10:39:47 -06:00
Aaron Klinker
cb4f9aa752
docs: Add CRXJS to comparison page
2024-02-28 08:05:39 -06:00
Aaron
c793d3cf6b
fix(storage): Revert #478 and run migrations when item is defined and properly wait for migrations before allowing read/writes ( #487 )
2024-02-24 10:40:03 -06:00
Leo Shklovskii
e7880fcde0
docs: Lots of small typo fixes ( #480 )
2024-02-23 11:45:58 -06:00
Aaron
1649785826
fix(storage)!: Only run migrations when the extension is updated ( #478 )
2024-02-22 11:46:59 -06:00
Aaron Klinker
91fc41cb15
docs(storage): Update docs
2024-02-22 11:46:59 -06:00
Aaron
9d31a4eba1
chore: Simplify entrypoint types ( #464 )
2024-02-19 16:17:54 -06:00
Aaron Klinker
bc24ea45a4
docs: Add wrapper div to react's createShadowRootUi example
...
Related to #456 .
2024-02-17 09:20:35 -06:00
Aaron Klinker
87a62a1791
docs: Remove anchor from content script ui examples
2024-02-14 14:43:34 -06:00
Aaron Klinker
a0d1643021
docs: Add section about dev mode differences
2024-02-14 14:41:40 -06:00
Aaron Klinker
946072fc5a
docs: Fix createShadowRootUi unmount calls
2024-02-10 04:04:16 -06:00
Aaron
a38ccd8624
doc: Fix custom block
2024-02-09 05:20:51 -06:00
Chen Hua
557ccb4854
docs: fix typo of opinionated ( #416 )
2024-02-04 03:11:03 -06:00
Chen Hua
83e7e8aab9
docs: Fix typo of intuitive ( #415 )
2024-02-04 03:10:20 -06:00
Aaron Klinker
1e12ce2a0d
docs: Document how to opt into ESM
2024-02-02 10:48:00 -06:00
Aaron
26e30aaae9
feat: Add submit command ( #370 )
2024-01-30 12:55:17 -06:00
0x7a7a
9049804413
docs: Fixed doc errors on the guide/extension-api page ( #383 )
...
Co-authored-by: Aaron Klinker <aaronklinker1@gmail.com >
2024-01-29 14:06:27 -06:00
Aaron
927aca612e
fix!: Move browser constants to import.meta.env ( #380 )
...
BREAKING CHANGE: Renamed undocumented constants:
- `__BROWSER__` → `import.meta.env.BROWSER`
- `__COMMAND__` → `import.meta.env.COMMAND`
- `__MANIFEST_VERSION__` → `import.meta.env.MANIFEST_VERSION`
- `__IS_CHROME__` → `import.meta.env.CHROME`
- `__IS_FIREFOX__` → `import.meta.env.FIREFOX`
- `__IS_SAFARI__` → `import.meta.env.SAFARI`
- `__IS_EDGE__` → `import.meta.env.EDGE`
- `__IS_OPERA__` → `import.meta.env.OPERA`
2024-01-29 11:14:18 -06:00
Aaron Klinker
fc45c37f22
docs: Add missing await to createShadowRootUi examples
...
This closes #374
2024-01-27 11:02:15 -06:00
Aaron Klinker
68874e607e
docs: Document defined constants for the build target
2024-01-27 10:56:14 -06:00
東奈比
d32e59e38f
docs: fix incorrect sample code ( #372 )
2024-01-26 10:26:10 -06:00
Aaron Klinker
dab8efa140
docs: Add matches to content script examples
2024-01-24 07:58:47 -06:00
Armin
6ed61d0766
docs: Fix typos and outdated ui function usage ( #347 )
2024-01-16 13:01:12 -06:00
Aaron
89d8ef9a50
fix: Improve error message and document use of imported variables outside an entrypoint's main function ( #346 )
2024-01-14 09:36:22 -06:00
Aaron
5343430c0f
feat!: Refactor content script UI functions and add helper for "integrated" UIs ( #333 )
...
BREAKING CHANGES: Several APIs/options have been renamed:
- `type: "inline" | "overlay" | "modal"` has been changed to `position: "inline" | "overlay" | "modal"`
- `createContentScriptUi({ ... })` → `createShadowRootUi({ ... })`
- `createContentScriptIframe({ ... })` → `createIframeUi({ ... })`
- `onRemove` is now called ***before*** the UI is removed from the DOM, previously it was called after the UI was removed
2024-01-10 20:48:17 -06:00
Aaron Klinker
8683bd4b77
docs: Add section about customizing other browser options during development
2024-01-08 13:42:50 -06:00
Aaron
b0eb7da9b4
chore: Refactor manifest generation E2E tests to unit tests ( #323 )
2024-01-02 17:05:23 -06:00
Aaron
4f649fc872
feat(DX): Add ctrl+E/cmd+E shortcut to reload extension during development ( #322 )
2024-01-02 12:06:22 -06:00
冯不游
e347f4529f
feat: Add isolateEvents option to createContentScripUi ( #313 )
...
Co-authored-by: Aaron <aaronklinker1@gmail.com >
2024-01-01 10:01:33 -06:00
Aaron
e7775f291a
docs: Use example tags to automate relevant example lists ( #311 )
2023-12-29 17:25:46 -06:00
Aaron Klinker
2ad099bf7e
docs: General fixes and improvements
2023-12-27 12:32:59 -06:00
Aaron
d1b9e5ded6
feat!: New wxt/storage APIs ( #300 )
...
BREAKING CHANGE: `wxt/storage` no longer relies on `unstorage`. Some `unstorage` APIs, like `prefixStorage`, have been removed, while others, like `snapshot`, are methods on the new `storage` object. Most of the standard usage remains the same.
2023-12-27 11:00:10 -06:00
Aaron
ad0e8e4144
fix: Correctly mock webextension-polyfill for Vitest ( #294 )
2023-12-22 22:21:09 -06:00
Aaron Klinker
291d25b675
docs: Fix dead links
2023-12-13 15:50:09 -06:00
Aaron
6f902cc598
docs: Improve content script UI guide ( #272 )
2023-12-13 15:43:40 -06:00