To workaround the CSP problem in Firefox, I use the bookmark keyword feature.
I setup a simple php which would bring me to add link page of my site, with the an input link url. The php would read the document title and link url and auto fill for me in the link form.
Then I add in firefox the link url like
https://site/newlink?link_url=%s with a keyword
nl. So when I want to bookmark a site with CSP limitation (e.g. github), I can just move to the address bar (
Ctrl-L), move the cursor (
nl[space] and then