Amndeep7 / ptw-extender

Extension that 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.
Other
10 stars 0 forks source link

Prettify pasted links #12

Closed Amndeep7 closed 5 years ago

Amndeep7 commented 5 years ago

Figure out a way to make it so that \<a>links\<\/a> are clickable - maybe paste urls in a special way such that it's identifiable from anything else that might be in there and then split it into its own special row or something

Amndeep7 commented 5 years ago

MAL: b47b69e3bbbe364f167f778b5fa5dd2d93805f78

Amndeep7 commented 5 years ago

Actually, probably gonna have to put them in content scripts to be loaded separately - so gonna have to extract MAL's and implement the other two this way.

Moreover, need to change from using insertadjacenthtml to the createelement/node or whatever it was called format cause of a possible security risk of accepting raw user input from the textarea.

Amndeep7 commented 5 years ago

Made it a bug cause it's "working" for mal (have to move it to a content script still) and need to add it for anilist and kitsu but it makes it seem like it's working cause the option is there in the generic options section