Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pinboard bookmarklet is blocked after upgrade to Firefox 85

Tags:

firefox

popup

The popup bookmarklet worked well until updated to Firefox 85. Now it is blocked by Firefox. As I use this bookmarklet to bookmark websites to Pinbord, It is not practical to make exceptions for all websites. How can I make this bookmarklet not being blocked?

The code of this bookmarklet is:

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'
));

The screenshot when Firefox blocked the bookmarklet: enter image description here

like image 247
aruku7230 Avatar asked Jan 28 '21 12:01

aruku7230


1 Answers

It was a bug of Firefox 85 as pointed by @stmoebius. Now it has been fixed by Firefox 86.

like image 131
aruku7230 Avatar answered Nov 05 '22 03:11

aruku7230