Popup windows opened from bookmarklets are blocked
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
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:
- Create a bookmark with the code above as the "Location"
- 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
- Click the bookmark.
Reporter | ||
Comment 1•4 years ago
|
||
This doesn't seem to happen so far in the current Firefox Nightly.
Comment 2•4 years ago
|
||
Looks like this has been fixed in Firefox 86 (just released), by bug 1689853.
Description
•