Skip to content

Commit

Permalink
Update index.md | top and left is supported in Firefox version >= 109
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush-r-bhaskar authored Oct 29, 2024
1 parent 478f9f9 commit ce83c2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ let creating = browser.windows.create(
- `incognito` {{optional_inline}}
- : `boolean`. Whether the new window should be an incognito (private) window. Note that if you specify `incognito` and `tabId`, the ID must refer to a private tab — that is, you can't move a non-private tab to a private window.
- `left` {{optional_inline}}
- : `integer`. The number of pixels to position the new window from the left edge of the screen. If not specified, the new window is offset naturally from the last focused window. (Firefox < 109, `left: value` is ignored for popups (BUG 1271047) and workaround is using browser.windows.update(). From Firefox 109, the `left: value` is considered (FIX D73419).)
- : `integer`. The number of pixels to position the new window from the left edge of the screen. If not specified, the new window is offset naturally from the last focused window. (For Firefox versions earlier than 109, `left: value` is ignored for popups (bug 1271047) and workaround is using browser.windows.update(). From Firefox Version 109, the `left: value` is considered (fix D73419).)
- `state` {{optional_inline}}
- : A {{WebExtAPIRef('windows.WindowState')}} value. The initial state of the window. The `minimized`, `maximized` and, `fullscreen` states cannot be combined with `left`, `top`, `width`, or `height`.
- `tabId` {{optional_inline}}
- : `integer`. If included, moves a tab of the specified ID from an existing window into the new window.
- `titlePreface` {{optional_inline}}
- : `string`. Use this to add a string to the beginning of the browser window's title. Depending on the underlying operating system, this might not work on browser windows that don't have a title (such as about:blank in Firefox).
- `top` {{optional_inline}}
- : `integer`. The number of pixels to position the new window from the top edge of the screen. If not specified, the new window is offset naturally from the last focused window. (Firefox < 109, `top: value` is ignored for popups (BUG 1271047) and workaround is using browser.windows.update(). From Firefox 109, the `top: value` is considered (FIX D73419).)
- : `integer`. The number of pixels to position the new window from the top edge of the screen. If not specified, the new window is offset naturally from the last focused window. (For Firefox versions earlier than 109, `top: value` is ignored for popups (bug 1271047) and workaround is using browser.windows.update(). From Firefox version 109, the `top: value` is considered (fix D73419).)
- `type` {{optional_inline}}
- : A {{WebExtAPIRef('windows.CreateType')}} value. Specifies what type of browser window to create. Specify `panel` or `popup` here to open a window without any of the normal browser UI (address bar, toolbar, etc.).
- `url` {{optional_inline}}
Expand Down

0 comments on commit ce83c2b

Please sign in to comment.