Update prose.

Bauke 2022-09-26 21:06:00 +00:00
parent c5124076d9
commit 51685903cd
1 changed files with 6 additions and 6 deletions

@ -1,4 +1,4 @@
In an attempt to be transparent about what Queue does and how it works, without needing to have to go through the code yourself, here are all the [WebExtension permissions](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions) Queue uses and why. In an attempt to be transparent about what Queue does and how it works, and without needing to go through the code yourself, here are all the [WebExtension permissions](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions) Queue uses and why.
## Required Permissions ## Required Permissions
@ -12,7 +12,7 @@ Queue requires this permission to add various buttons to context menus (right-cl
* [MDN Web Docs](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/storage) * [MDN Web Docs](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/storage)
Since Queue is all about saving links for later, we have to store them somewhere. For this we use sync storage (such as Firefox Sync or Chrome Sync) so it's possible to sync them between devices. You don't need to be signed in to Firefox or Chrome to use it though, all the data is stored locally in that case. The exact data that is saved for each link is: Since Queue is all about saving links for later, they have to be stored somewhere. For this Queue uses sync storage (such as Firefox Sync or Chrome Sync) so it's possible to sync them between devices. You don't need to be signed in to Firefox or Chrome to use it though, all the data is stored locally in that case. The exact data that is saved for each link is:
* The date when you added the link. * The date when you added the link.
* The text of the link if it's different from the URL. * The text of the link if it's different from the URL.
@ -24,13 +24,13 @@ After you've gone to your next link or removed a link in the options page, it wi
* [MDN Web Docs](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs) * [MDN Web Docs](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs)
To send you to your next saved link we'll use the `tabs` API. To send you to your next saved link Queue uses the `tabs` API.
In previous versions of Queue prior to 0.2.1 this was done by injecting a [content script](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts) and having it wait for a message from Queue to open the next link. This required having access to every website you visited which isn't particularly ideal. In versions of Queue before 0.2.1, this was done by injecting a [content script](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts) and having it wait for a message from Queue to open the next link. This required having access to every website you visited, which wasn't particularly ideal.
In 0.2.1 this was made much simpler and safer by using the `tabs` API instead. Now Queue, from the main background process, just asks the current active tab to go to the link and that's it. In 0.2.1 this was made much simpler and safer by using the `tabs` API instead. Now, from the main background process, Queue simply asks the current active tab to go to the link and that's it.
As of 0.2.6, we don't require the tabs permission anymore. Only certain parts of `tabs` API are locked behind the permission and we don't use any of those parts. And in 0.2.6, Queue doesn't require the tabs permission anymore at all. Only certain parts of the `tabs` API are locked behind the permission and Queue don't use any of those parts.
## Optional Permissions ## Optional Permissions