Comments (5)
Thanks! With the commit 816117e now such special placeholders are filled with blank string if the tab has no permission to execute content scripts.
from copy-selected-tabs-to-clipboard.
A bit disconcerting as Description is in the pages, and Google can see it, and you would have to put in an error indication for me to really notice immediately that output is not what I expect from some pages.
Does it have anything to do with data-react-helmet which appears both in TITLE and META.
Is there a configuration option that you know of to change that.
I have no idea what we're supposedly being protected from.
I used old Firefox and old Multiple Tab Handler to work on my web pages as my source is on another computer. I'm not really using new Firefox even though Extensions are coming back, but then learned Mozilla was dropping Bookmark Descriptions, so 56.0.2 on that computer, and the small computer I use the most is strictly for browsing and email.
Must have been very rough on you as a developer.
from copy-selected-tabs-to-clipboard.
Found: (have to figure out what it means and what to change)
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/content_security_policy
extensions.webextensions.base-content-security-policy
script-src 'self' https://* moz-extension: blob: filesystem: 'unsafe-eval' 'unsafe-inline'; object-src 'self' https://* moz-extension: blob: filesystem:;
extensions.webextensions.default-content-security-policy
script-src 'self'; object-src 'self';
from copy-selected-tabs-to-clipboard.
I like a blank text instead of error information when failed to get content text due to some reasons, but your idea is also reasonable, so I've added an option to do that with commits 80b36b8 and e68e432.
from copy-selected-tabs-to-clipboard.
Content Security Policy is not related to the problem failing to get content text. It just allows to load remote resources into pages (panels, popups, the options page, etc.) contained in this addon.
This addon uses a content script to fetch description of the page because it is not exposed via regular WebExtensions API. But content scripts cannot be executed on some special webpages including addons.mozilla.org due to security reasons.
from copy-selected-tabs-to-clipboard.
Related Issues (20)
- %DESCRIPTION% not working HOT 2
- Attributes in alphabetical not in order presented in pattern HOT 6
- Option for prefix and suffix
- Add "Copy This Tree" command for TST HOT 4
- Toggle notifications HOT 2
- Values for formats are restored to default after restarting Firefox
- Wanting to replace the whole URL with a few potential things HOT 7
- Option for copying all open tabs if no Multiselection HOT 1
- Support Manifest v3 HOT 1
- Preferences tab is blank HOT 1
- Once copied, how can a list of urls be reopened within Firefox ? HOT 2
- [Feature Request] Copy formatted links to clipboard HOT 5
- All tabs copied by default, even when only some are selected HOT 4
- I want to change the newline code. HOT 2
- Copying multiple tabs in rich-text HTML format sometimes/randomly creates a blank small Firefox window and does not copy (race condition?) HOT 4
- Error with some "Formats Strings" since version 1.50 HOT 6
- Very slow to paste clipboard contents HOT 5
- URLs separated by space HOT 1
- Offer multiple copy modes/selects HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copy-selected-tabs-to-clipboard.