firefox - Allow specific local javascript -


I am using pinboard for all my bookmark storage, and they have a little javascript Provide bookmarks, found in my Firefox toolbar, beautify code:

  javascript: q = location.href; If (document.getSelection) {d = document.getSelection (); } And {d = ''; }; P = document.title; Zero (open ('https://pinboard.in/add?showtags=yes&url=' + encodeurIComponent (q) + 'and Description =' + Encodericonant (D) + '& amp; title =' + encodeurIComponent (P ), 'Pinboard', 'toolbar = no, scrollbar = yes, width = 750, height = 700'));  

which works wonders for all http sites, but when I try to bookmark HTTPS sites, I get it in the console:

 < Code> Content security policy: The page's settings blocked the loading of the resource: An attempt to execute inline scripts has been blocked.  

I am not sure if the SE site is right for this, but I am wondering how can I allow that particular script to be executed everywhere. If I copy javascript to the address field and work it manually to run it as it should.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -