tag:danbooru.me,2005:/forum_topics/14673 [Userscript] Translate Pixiv Tags 2020-03-11T07:06:55-04:00 tag:danbooru.me,2005:ForumPost/163944 2020-03-11T07:06:55-04:00 2020-03-11T07:06:55-04:00 @7nik: Release 2020.03.12Fixes* Artist translating... <h4>Release 2020.03.12</h4><h5>Fixes</h5><ul> <li>Artist translating broken by API changes.</li> <li>pixiv, Twitter: breakages caused by updates.</li> </ul><h5>Changes</h5><ul> <li>Network and speed improvements (credit to BrokenEagle).</li> <li>Now aliased tags are translated as well.</li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/162552 2020-01-26T08:34:30-05:00 2020-01-26T08:34:30-05:00 @7nik: Release 2020.01.26Fixes* #43: fixed artist... <h4>Release 2020.01.26</h4><h5>Fixes</h5><ul> <li>#43: fixed artist translate spamming in some cases.</li> <li>Pawoo: fixed translating of authors of non-pawoo posts.</li> <li>Improved some translating rules.</li> </ul><h5>Changes</h5><ul> <li>Added translating of aliases.</li> <li>Pawoo: added translating of the expanded post author.</li> <li>Settings: option to print some debug info in the console.</li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/162325 2020-01-13T23:49:52-05:00 2020-01-13T23:49:52-05:00 @BrokenEagle98: The problem is that you guys upgraded to the... <p>The problem is that you guys upgraded to the latest version of TPT which has issues. Use the following version, and disable automatic updates until it gets fixed.</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://github.com/evazion/translate-pixiv-tags/raw/f46b46ecf6d8a62665160d5ae63468f9c6426c20/translate-pixiv-tags.user.js">https://github.com/evazion/translate-pixiv-tags/raw/f46b46ecf6d8a62665160d5ae63468f9c6426c20/translate-pixiv-tags.user.js</a></p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/162324 2020-01-13T22:51:59-05:00 2020-01-13T22:57:06-05:00 @DreamFromTheLayer: > BrokenEagle98 said: > > @DreamFromTheLayer... <blockquote> <p>BrokenEagle98 said:</p> <p><a href="/users?name=DreamFromTheLayer">@DreamFromTheLayer</a> Do you have an example, because I just tried it out and it works just fine for me.</p> </blockquote><p>If I open <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://www.pixiv.net/fanbox/creator/3732275">https://www.pixiv.net/fanbox/creator/3732275</a> for example, it looks like this:</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://i.gyazo.com/6aba3fb3733bfbb53c8f091e2becc678.png">https://i.gyazo.com/6aba3fb3733bfbb53c8f091e2becc678.png</a><br><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://i.gyazo.com/2ef7dea062245bcca4b57af3c604cb66.png">https://i.gyazo.com/2ef7dea062245bcca4b57af3c604cb66.png</a></p><p>Firefox, btw.</p><blockquote><p>You mean you don't want the popup tooltip?</p></blockquote><p>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.)</p> DreamFromTheLayer /users/547400 tag:danbooru.me,2005:ForumPost/162323 2020-01-13T22:26:30-05:00 2020-01-13T22:26:30-05:00 @Unbreakable: It's happening to me as well, tried the link... <p>It's happening to me as well, tried the link you used.</p> Unbreakable /users/430030 tag:danbooru.me,2005:ForumPost/162322 2020-01-13T22:22:58-05:00 2020-01-13T22:26:23-05:00 @BrokenEagle98: > DreamFromTheLayer said: > > Found a bug,... <blockquote> <p>DreamFromTheLayer said:</p> <p>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.</p> </blockquote><p><a href="/users?name=DreamFromTheLayer">@DreamFromTheLayer</a> Do you have an example, because I just tried it out and it works just fine for me.</p><ul> <li>Artist tested: <a class="dtext-link dtext-wiki-link tag-type-1" href="/artists/show_or_new?name=ma-2_%28konkon_kitakitsune%29">ma-2 (konkon kitakitsune)</a> </li> <li>Pixiv fanbox: <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://www.pixiv.net/fanbox/creator/12519877">https://www.pixiv.net/fanbox/creator/12519877</a> </li> </ul><blockquote><p>(also, I wonder if the artist link part could be made to work by itself...)</p></blockquote><p>You mean you don't want the popup tooltip?</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/162320 2020-01-13T22:00:40-05:00 2020-01-13T22:00:40-05:00 @DreamFromTheLayer: Found a bug, opening the FANBOX page of an... <p>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.</p><p>(also, I wonder if the artist link part could be made to work by itself...)</p> DreamFromTheLayer /users/547400 tag:danbooru.me,2005:ForumPost/162282 2020-01-11T05:05:30-05:00 2020-01-11T05:05:30-05:00 @7nik: Release 2020.01.11Fixes* #42: pixiv: was broken... <h4>Release 2020.01.11</h4><h5>Fixes</h5><ul> <li>#42: pixiv: was broken due to new links to the profile page.</li> <li>pixiv: artists were not translated on the search page.</li> <li>fixed treating the asterisk in tags as a wildcard.</li> </ul><h5>Changes</h5><ul> <li>#43: Twitter: now happy-birthday-somebody and some-anime-one-hour-draw-challenge are translated.</li> <li>Added Safebooru for sending requests and using it in links.</li> <li>Settings: you can hide deleted posts.</li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/161388 2019-12-05T10:56:37-05:00 2019-12-05T10:56:37-05:00 @7nik: Release 2019.12.05Fixes* BCY: new profile page... <h4>Release 2019.12.05</h4><h5>Fixes</h5><ul> <li>BCY: new profile page support.</li> <li>DevianArt: added support of new layout.</li> <li>Pixiv: new search page support.</li> <li>Pixiv: added translating of an artist in popups.</li> <li>Pawoo, Pixiv, pixivFanbox, SauceNAO, twitter: minor fixes and updates due to site changes.</li> <li>English tags were not translated in some cases.</li> <li>Fixed hiding of the script tooltip when the cursor hovers a browser tooltip.</li> </ul><h5>Changes</h5><ul> <li>#37: Now all links open a new tab.</li> <li>Internal improvements.<br> </li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/159895 2019-09-19T15:52:29-04:00 2019-09-19T15:52:29-04:00 @7nik: Release 2019.09.19Fixes* #32: no obvious way to... <h4>Release 2019.09.19</h4><h5>Fixes</h5><ul> <li>#32: no obvious way to cancel settings changes.</li> <li>#33: settings menu doesn't open for some artist tags.</li> <li>DevianArt: fixed overridden color of the artist tag.</li> <li>Fixed breakages caused by sites updating.</li> </ul><h5>Changes</h5><ul> <li>Added <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="http://tweetdeck.twitter.com">TweetDeck</a> support.</li> <li>Added <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="http://fanbox.pixiv.net">pixivFanbox</a> support.</li> <li>Added alternative way to open settings: via Tampermonkey menu.</li> <li>Added handling of network request limit (credit to BrokenEagle).</li> <li>Internal improvements.</li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/159198 2019-08-23T17:29:28-04:00 2019-08-23T17:29:28-04:00 @7nik: Release 2019.08.24Fixes* #25: displayed... <h4>Release 2019.08.24</h4><h5>Fixes</h5><ul> <li>#25: displayed incorrect image size</li> <li>BCY: everything was broken.</li> <li>DevianArt: uncolored tags.</li> <li>SauceNAO: could translated deleted artists.</li> <li>Simultaneous triggering of native and script tooltips.</li> <li>Tag translating could use deleted wikis.</li> </ul><h5>Changes</h5><ul> <li>Added UI for settings.</li> <li>Updated and cleaned CSS.</li> <li>Updated some selectors for translating.</li> <li>Pixiv: now native translations are removed only for translated tags.</li> <li>Mobile Twitter: removed.</li> <li>Improved choosing of background color in case of semi-transparent ones.</li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/158787 2019-08-06T15:41:50-04:00 2019-08-06T15:41:50-04:00 @BrokenEagle98: Just wanted to chime in specifically about... <p>Just wanted to chime in specifically about styling with the parts as mentioned by 7nik.</p><h5>Parts</h5><p>There are several part identifiers for the QTip popup in Translate Pixiv Tags:</p><ul> <li> <strong>container</strong> - The whole popup.</li> <li> <strong>other-names</strong> - The other artist names located beneath the artist name.</li> <li> <strong>url-list</strong> - The list of URLs beneath the header <strong>URLs</strong>.</li> <li> <strong>post-list</strong> - The thumbnail section beneath the header <strong>Posts</strong>.</li> <li> <strong>post-preview</strong> - The <code>&lt;img&gt;</code> element for each thumbnail.</li> <li> <strong>rating-s</strong> - The <code>&lt;img&gt;</code> elements with a safe rating.</li> <li> <strong>rating-q</strong> - The <code>&lt;img&gt;</code> elements with a questionable rating.</li> <li> <strong>rating-e</strong> - The <code>&lt;img&gt;</code> elements with a explicit rating.</li> </ul><h5>Usage</h5><p>To specify a part, you use the CSS specifier for the outer container (<code>.qtip-content</code>) and then the part specifier.</p><pre>.qtip-content::part(post-preview)</pre><p>The above will address the images for each thumbnail.</p><p><strong>Note:</strong> Only those elements with parts can be affected. Descendant elements cannot be affected.</p><h5>Example</h5><p>A scenario where one might want to use the above would be to hide all of the explicit images.</p><pre>.qtip-content::part(rating-e) { display: none; } </pre><p>The above will hide all images with an explicit rating.</p> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/158782 2019-08-06T12:09:52-04:00 2019-08-06T12:09:52-04:00 @7nik: > Lucalo said: > > Artist name tag and the... <blockquote> <p>Lucalo said:</p> <p>Artist name tag and the popup with artist info don't show up with this script as of some weeks ago, even with the newest version 2019.07.26</p> </blockquote><p>If it still actual for the new release, could you provide more info: is it broken for all sites or only one; a few links were the script does not work.</p> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/158781 2019-08-06T11:48:30-04:00 2019-08-06T11:48:30-04:00 @7nik: Release 2019.08.06Fixes* In some cases the... <h4>Release 2019.08.06</h4><h5>Fixes</h5><ul> <li>In some cases the artist tooltip could be mostly outside the viewport.</li> <li>The userscript couldn't automatically update if was installed via copy/paste (credit to BrokenEagle).</li> </ul><h5>Changes</h5><ul> <li>Now post preview also includes file size, resolution, source, rating, and time of upload.</li> <li>NSFW previews are blurred, hover over them to unblur. This behavior can be adjusted in settings.</li> <li>Limited size of main sections in the artist tooltip.</li> <li>Main parts of the artist tooltip can be customized via pseudoelement ::part().</li> <li>Added dark theme of the tooltip and adaptive background color.<br> </li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/158642 2019-07-31T03:08:37-04:00 2019-07-31T03:08:37-04:00 @Lucalo: Artist name tag and the popup with artist info... <p>Artist name tag and the popup with artist info don't show up with this script as of some weeks ago, even with the newest version 2019.07.26</p> Lucalo /users/599116 tag:danbooru.me,2005:ForumPost/158551 2019-07-26T10:55:25-04:00 2019-07-26T10:55:25-04:00 @7nik: Release 2019.07.26Fixes* Twitter: new design... <h4>Release 2019.07.26</h4><h5>Fixes</h5><ul> <li>Twitter: new design support</li> <li>ArtStation: fixed the followers and the following lists</li> </ul><h5>Changes</h5><ul><li>Now the popup window mimics the background color of the sites</li></ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/158042 2019-07-04T12:33:15-04:00 2019-07-04T12:33:15-04:00 @7nik: Release 2019.07.04Fixes* Added ignoring of... <h3>Release 2019.07.04</h3><h4>Fixes</h4><ul> <li>Added ignoring of false-positive results that Danbooru returns for some unsupported domains (bug #18)</li> <li>Sometimes the popup with artist info was empty</li> <li>Artist tag could be added multiple times (bug #9)</li> <li>Fixed running the script in iframes (bug #10)</li> <li>Pixiv: sometimes tags were not translated (bug #15)</li> <li>Twitter: fixed blocked thumbnails (credit to BrokenEagle)</li> </ul><h4>Changes</h4><ul> <li>Improved performance by adding caching and the "only" parameter in Danbooru API calls (credit to BrokenEagle)</li> <li>Now tags are also "translated" by their main name</li> <li>Added ability to choose Danbooru server, number of previews, and cache lifetime (credit to BrokenEagle)</li> <li>Twitter: added translating of hastags (credit to BrokenEagle)</li> <li>SauceNAO: added initial support</li> <li>Pawoo: added initial support</li> <li>CSS improvements<br> </li> </ul> 7nik /users/522108 tag:danbooru.me,2005:ForumPost/153986 2019-01-14T22:29:13-05:00 2019-01-14T22:29:13-05:00 @evazion: Release 2019.01.14* Artstation: Add Artstation... <h4>Release 2019.01.14</h4><ul> <li>Artstation: Add Artstation support (credit to 7nik for implementing this).</li> <li>Pixiv: Fix artist tags not appearing on profile pages.</li> <li>Pixiv: Fix artist tags not appearing on profile pages when artist has no followers.</li> <li>Misc: Fix artist tags returning matches for deleted artists.</li> </ul> evazion /users/52664 tag:danbooru.me,2005:ForumPost/152739 2018-11-29T18:38:45-05:00 2018-11-29T18:39:04-05:00 @evazion: > 7nik said: > > On pixiv, the script often... <blockquote> <p>7nik said:</p> <p>On pixiv, the script often doesn't translate tags, but always translate after page reloading.</p> </blockquote><p>This is a known issue that I haven't been able to resolve. Pixiv dynamically renders their pages in Javascript, which makes it hard for userscripts to hook into things. The script uses mutation observers to detect when the page changes, but apparently it doesn't always pick up changes when it should.</p> evazion /users/52664 tag:danbooru.me,2005:ForumPost/152738 2018-11-29T18:33:01-05:00 2018-11-29T18:33:01-05:00 @evazion: Release 2018.11.29* Pixiv: Fix artist tags not... <h4>Release 2018.11.29</h4><ul> <li>Pixiv: Fix artist tags not being translated on work pages.</li> <li>Fixed exception when rendering artist names in artist tooltips.</li> </ul><p>Credit to 7nik for these fixes.</p> evazion /users/52664