Closed Bug 1691834 Opened 4 years ago Closed 4 years ago

Popup windows opened from bookmarklets are blocked

Categories

(Firefox :: Bookmarks & History, defect)

Firefox 85
defect

Tracking

()

RESOLVED DUPLICATE of bug 1689853

People

(Reporter: ddascalescu, Unassigned)

Details

This seems to be a regression in v85. I have some bookmarklet code (the "popup" one from https://pinboard.in/howto) that opens a window to save the current page to Pinboard.in. The code is this:

javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=700,height=350'));

Before, this used to work fine. Now, I get "Firefox prevented this site from opening a pop-up window". I have "Block pop-up windows" checked in Preferences, as it was pre-85.

IMO, popups opened from JS code in bookmarks should be allowed, because it was the user's intention to have bookmarked that JS code and trigger it.

Repro steps:

  1. Create a bookmark with the code above as the "Location"
  2. Navigate to a web page. Right now I'm seeing the popup blocked for https://www.mentalfloss.com/article/48795/9-little-translation-mistakes-caused-big-problems
  3. Click the bookmark.

This doesn't seem to happen so far in the current Firefox Nightly.

Looks like this has been fixed in Firefox 86 (just released), by bug 1689853.

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