Comments (7)
I've now looked into this some more. In fact, the "access your data for all websites" is only necessary for running the script that extracts the description and keywords (from metatag or selected text). Making this optional, requesting only permissions for pinboard.api at install time and the permission for all other websites when the option is selected is in principle possible using browser.permissions. However, I'm currently blocked by a bug in Firefox which prevents requesting the permission from the options popup or about page.
from pinboard-pin.
This is a good idea. Thanks for the pointer to the permissions API. I wasn't aware that it exists - seems it was added this summer and not yet available when I created the extension. But I appretiate very much that this is possible now. I don't like it either when apps require access to microphone and camera because there is some hidden feature for audio and video messages which I don't use anyway.
from pinboard-pin.
That bothers me as well. I hate when apps require such scary sounding permissions - not only scary, but also ambiguous, since what is meant with "your data" in this permission?
The reason here is that Pinboard-Pin needs to know the URL and title of the page that you want to store on Pinboard and also must inject a small script into the page in order to get the description and keywords from the meta data to prefill the description and tag input fields.
If you have any suggestions how this can be done with less scary permissions, let me know. I'll also experiment a bit to see if that permission can be avoided.
from pinboard-pin.
Thanks for the fast response!
Of the features you describe, URL & title are obviously vital, but the other metadata less so. I have my own tagging scheme, so I don't think I'm interested in how the site has tagged itself. As for description, I'm guessing this is generally useful when pinning a site's front page, less so for individual articles, but I've never tried it so I don't know.
Note that I'm working on a sample size of one here, and I've not even used your extension yet because the permission requests put me off. It could be that this metadata is far more useful to most other people.
However, if my comments above don't sound too out-of-touch with reality, would it be possible to have the description & keyword filling be off by default, then request expanded permissions when the user turns it on in the settings? Obviously this depends on you being okay with the extended work this requires, and the insidious, often inadequate nature of "just make it a configurable setting" feedback.
from pinboard-pin.
Note to self: Should revisit this since it has allegedly been fixed in FF 61.
from pinboard-pin.
In FF 77 we now have optional permissions which probably can be used to implement this.
from pinboard-pin.
Note to self: See also "Requesting the right permissions".
Also note that we now require an additional permission for the context menu, but it seems this does not trigger a permission request.
Also: Don't forget to update DEVELOP.md when this has been implemented.
from pinboard-pin.
Related Issues (20)
- All textboxes are greyed out HOT 5
- Turn off automatic fill of description HOT 3
- Bug? ER? Pinboard-Pin doesn't work as expected in Tab Containers HOT 3
- Tags are not being saved HOT 3
- Shortcut not registering when HOT 6
- Unable to bookmark page due to description too long HOT 2
- Better error message when Pinboard API is down HOT 3
- '+' characters are removed from tags when saving a page HOT 3
- null HOT 6
- "Add bookmark" button disabled on some pages HOT 3
- I noticed I can't bookmark this link weirdly enough no matter what I try HOT 2
- Suddenly stopped working for me HOT 1
- Saving the page via context menu HOT 1
- Please add a screenshot to the README HOT 1
- Improve readibility of buttons HOT 2
- Is it possible to hide the 'popular' tags? HOT 2
- New CSS is low contrast, not configurable, and a bit garish HOT 6
- Suggestion: Search characters not just from the beginning HOT 1
- Cannot login HOT 3
- How to donate? HOT 1
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 pinboard-pin.