Skip to content

Commit

Permalink
doc: FF restrictions for GM_openInTab
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Mar 3, 2023
1 parent 7caf14b commit da6f888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/api/gm.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ Opens URL in a new tab.
- <Field name="url" type="string" />

The URL to open in a new tab. URL relative to current page is also allowed.
Note: Firefox does not support data URLs.

Note that [Firefox disallows](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/create#:~:text=security%20reasons) `data:`, `blob:`, `chrome:`, `file:`, and many `about:` URLs.

- <Field name="options?" type="object" />

Expand Down

0 comments on commit da6f888

Please sign in to comment.