Danbooru

[Userscript] Translate Pixiv Tags

Posted under General

Release 2019.12.05

Fixes
  • BCY: new profile page support.
  • DevianArt: added support of new layout.
  • Pixiv: new search page support.
  • Pixiv: added translating of an artist in popups.
  • Pawoo, Pixiv, pixivFanbox, SauceNAO, twitter: minor fixes and updates due to site changes.
  • English tags were not translated in some cases.
  • Fixed hiding of the script tooltip when the cursor hovers a browser tooltip.
Changes
  • #37: Now all links open a new tab.
  • Internal improvements.

Release 2020.01.11

Fixes
  • #42: pixiv: was broken due to new links to the profile page.
  • pixiv: artists were not translated on the search page.
  • fixed treating the asterisk in tags as a wildcard.
Changes
  • #43: Twitter: now happy-birthday-somebody and some-anime-one-hour-draw-challenge are translated.
  • Added Safebooru for sending requests and using it in links.
  • Settings: you can hide deleted posts.

Found a bug, opening the FANBOX page of an artist who doesn't have a FANBOX URL causes the script to attempt make as many artist links to artists with FANBOX URLs as it can get away with (10), and of course does this for every post.

(also, I wonder if the artist link part could be made to work by itself...)

DreamFromTheLayer said:

Found a bug, opening the FANBOX page of an artist who doesn't have a FANBOX URL causes the script to attempt make as many artist links to artists with FANBOX URLs as it can get away with (10), and of course does this for every post.

@DreamFromTheLayer Do you have an example, because I just tried it out and it works just fine for me.

(also, I wonder if the artist link part could be made to work by itself...)

You mean you don't want the popup tooltip?

BrokenEagle98 said:

@DreamFromTheLayer Do you have an example, because I just tried it out and it works just fine for me.

If I open https://www.pixiv.net/fanbox/creator/3732275 for example, it looks like this:

https://i.gyazo.com/6aba3fb3733bfbb53c8f091e2becc678.png
https://i.gyazo.com/2ef7dea062245bcca4b57af3c604cb66.png

Firefox, btw.

You mean you don't want the popup tooltip?

I want the pop-up. What I meant was I only want the part of the script that generates artist links, since I mainly use the script to check if an artist or URL has an entry on Danbooru and what's recently been upped. (or in other words, Translate Pixiv Tags without the Translate Pixiv Tags. Although I do occasionally use it to see what tag is aligned to what and what tags need to be created.)

Updated

Release 2020.01.26

Fixes
  • #43: fixed artist translate spamming in some cases.
  • Pawoo: fixed translating of authors of non-pawoo posts.
  • Improved some translating rules.
Changes
  • Added translating of aliases.
  • Pawoo: added translating of the expanded post author.
  • Settings: option to print some debug info in the console.

Release 2020.03.12

Fixes
  • Artist translating broken by API changes.
  • pixiv, Twitter: breakages caused by updates.
Changes
  • Network and speed improvements (credit to BrokenEagle).
  • Now aliased tags are translated as well.
1 2 3