Make images work in Picture-in-Picture
- Image downloading needs CORS (crossOrigin anonymous)
- content-script can't fetch images; need to fetch and send blob by messaging background script
- can't get permissions on all sites unless we use Manifest v2
"<all_urls>"
in permissions
https://github.com/gorhill/uBlock/blob/master/.github/workflows/main.yml
- Firefox Addon: https://addons.mozilla.org/en-US/firefox/addon/imgpip/
- Original CodePen: https://codepen.io/bozdoz/pen/WNaXdRm