Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

question from:https://stackoverflow.com/questions/65937001/pinboard-bookmarklet-is-blocked-after-upgrade-to-firefox-85

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...