Closed Bug 1694013 Opened 4 years ago Closed 4 years ago

bookmarklets can't open popups

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 85
defect

Tracking

()

RESOLVED DUPLICATE of bug 1689853

People

(Reporter: grosser.meister.morti, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

I have a bookmarklet that window.open()s the current page with minimal chrome. Since a while (probably Firefox 85) the popup blocker broke that bookmarklet and there is no way to do that anymore.

This is the bookmarklet:

    javascript:(function(){window.open(location.href,'_blank',"width=640,height=360,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,titlebar=no,toolbar=no");})();void(0)

Actual results:

Popup blocker blocks popup.

Expected results:

Popup should open.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Component: Widget: Gtk → DOM: Core & HTML

Edgar, is there a way we can ensure that bookmarklets have user activation? It seems this is a general problem.

Flags: needinfo?(echen)
See Also: → 1693750
See Also: → 1693746

This is a regression of bug 1679456 and fixed by bug 1689853.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(echen)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.