PTW Extender
Adds titles to your MyAnimeList, Ani..
基本信息
- 更新日期:
- 包名:
- ptw-extender
- 版本:
- 2.2.2
- 大小:
- 2212.58KB
- 类型:
- Firefox
- 平台:
- Firefox
- 评分:
- 发布日期:
- 2018-10-15
- 价格:
- 免费
- 开发者:
- Amndeep7
插件更新
### [2.2.2] - 2018-10-14 #### Fixed - User customized settings no longer completely overwrite defaults (which may include options that the user defined settings haven't seen yet) ### [2.2.1] - 2018-10-14 #### Fixed - Options are now properly set before an attempt is made to access them ### [2.2.0] - 2018-10-14 #### Added - Support for AniList - Doesn't work for Firefox until the fix for the [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1494328) I reported is included in a release, which as of right now is ESR60.3 and release 63 (the latter of which comes out 2018-10-23) - Support for Kitsu #### Changed - The manner in which PTW Extender generates the comments/notes box is now done more securely - The context menu option and all sorts of documentation now reflect that PTW Extender works with multiple sites and not just MAL - Options page - Shows up on install/update - Includes this changelog and an explanation of permissions - Now features lots more options #### Fixed - MAL notifications now include the title when it's added to your list successfully ### [2.1.1] - 2018-09-12 #### Added - Current date/time gets printed alongside the url #### Fixed - Made it so opening the advanced view would be via a simulated button click instead of messing with CSS ### [2.1.0] - 2018-09-12 #### Added - Options/settings page (and correspondingly options) - Display notifications - Prettified comments box (implemented only for MAL thus far) - MAL as a list site option - Autosubmit - Take some action post autosubmit - Changelog #### Fixed - Don't change status to ptw if it's not listed as watching or if any number of episodes/volumes/chapters are listed as watched ### [2.0.2] - 2018-08-17 #### Changed - Instead of using the runtime.onInstalled listener to generate the context menu, just remove them all every time the background script is run and re-add them. ### [2.0.1] - 2018-08-06 #### Fixed - Attempted to fix bug where the context menu wasn't showing up ### [2.0.0] - 2018-08-06 #### Added - Notifications #### Changed - Most nearly everything: separated code into different files and functions, rewrote a lot of code to use promises, etc. ### [1.2.1] - 2018-07-22 #### Fixed - Build file should only create `lib` directory if it doesn't already exist ### [1.2.0] - 2018-07-22 #### Added - Support for Chrome - Started using the [WebExtension `browser` API Polyfill](https://github.com/mozilla/webextension-polyfill) - Build file to convert from the icon from SVG to variously sized PNGs and move libraries over from the node_modules directory - Support for manga #### Changed - Use IDs in selectors as opposed to tags and other stuff - Autoreveal the advanced section for MAL extended information screens ### [1.1.0] - 2018-07-04 #### Fixed - MAL went down and then also changed their urls around, so now PTW Extender is using MAL's new url system ### [1.0.0] - 2017-11-19 #### Added - Basic functionality, i.e. bring up the MAL page for the show and add the url to the comment section for it while making adding the show to your ptw list
PTW Extender插件截图
PTW Extender插件简介
Adds titles to your MyAnimeList, AniList, or Kitsu plan-to-watch/read list with the url of where you found the title added as a comment.
This add-on makes adding titles to one’s MyAnimeList, AniList, or Kitsu plan-to-watch list easier by automating the process: all you have to do is select “Add to PTW list” from the context menu list when you right-click a link to one of the list sites. Moreover, it adds the current datetime and the URL of the tab you found the link into the comments section for that title’s list entry so that you can refer back to why you added it to the list in the first place.
As of the writing of this document, MAL doesn’t have an external API so the extension is forced to take you to the edit details page for that title where it changes settings as appropriate (status to ptw if it wasn’t already completed, comments with the URL added, etc.). By default it just leaves you there, but if you select the appropriate options in the options page, it’ll automatically submit the changes and even close the tab. NOTE: You need to already be logged into MAL in order for this extension to work since, as of the writing of this document, there is no way to access and modify a user’s data without the add-on storing your MAL credentials (i.e. your username and password in plain-text) due to the aforementioned lack of API.
AniList and Kitsu DO have external APIs, so the extension just makes the appropriate requests to (if necessary) add it to your list and change the appropriate settings (ex. having the title be private to just the authenticated user).
—-
Permissions Explanation
https://myanimelist.net/*
As of the time of writing, MAL doesn’t have an API, so in order to access, scrape, and modify the add/edit page, PTW Extender need permissions to view it.
contextMenus
The way the extension is used is to right-click a link and then select PTW Extender’s context menu button in order to add a title to your PTW list.
identity
In order to log into a site securely, PTW Extender needs to follow the OAuth flow, which starts with a window popping up asking for your credentials to AniList, but in order to make that window pop up, PTW Extender needs to call a function defined here.
notifications
This is less relevant for the default settings for MAL since you have to manually click submit and can see if the update went through or not, but if you tweak the options or use an AniList or Kitsu link, then you don’t get that visual confirmation, so notifications come in to fill that gap. If you don’t like them, they can be turned off in the options.
storage
Need access to storage in order to save your settings for PTW Extender. It also stores your accessToken for AniList and Kitsu so you aren’t forced to log in every time you restart the browser.
tabs
Need access to grab the url of the current page you’re on in order to add it to the comments block of whatever title you’re adding to your PTW list. Moreover, it’s necessary in order to open the add/edit pages for titles in MAL (see above).
webNavigation
If you’re using MAL and have tweaked the appropriate options, you can first and foremost autosubmit the changes PTW Extender makes to that entry, and then also tell it to take certain actions post autosubmit. However, in order to know when the submission process has completed requires knowing when the page has finished redirecting to MAL’s “you’ve updated the entry” page, which is where this permission comes in.