Script Summary: English translation of pixiv with a handy tag selection interface. Forked from Better Pixiv Translation. (61162)
• Stop blocking all iframes as ads
• Stop using and delete localStorage if GM_setValue is available
• Bug fix
• Better Google translate
• Exclude message pages
• Made the script run on pixiv clones. (nijie||tinami||seiga)
• Fixed native install in Chrome (Tampermonkey is still recommended)
• Changed tag export method to hopefully avoid size limits/truncations
• Updated some ad-hiding and misc CSS.
• IMPORTANT- Now (mostly) works on dic.pixiv.net - Go to pixiv.net first to have your data transferred to dic.pixiv.net. Note: Custom tags can't be sync'd in real time between different domains.
• Removed page translations. (Switch to English if you haven't already.)
• Fixed bad logic causing transliteration to fail.
• Fixed some generally convoluted wonkiness.
• Restructured to translate things that get appended after page load. (Try Pixiv TagTips)
• Sync custom tags across tabs.
• Hide "showcase" when hiding ads.
• Probably lots of small things I can't remember.
• Newly added custom translations are translated on the page in realtime.
• Use safer save data loading to prevent crashes from corrupt data.
• Use simple caching when looping through nested tags. Things that do this (autocomplete, tag list) should be noticeably faster.
• Added a handful of translations and small kana.
• Removed deprecated arguments.callee reference.
• replaceWholeText method is being removed in Firefox - used something else instead.
• Fixed for new search page changes and made it less likely to break with future changes.
• Added translations for new search page.
• Removed updater. (Greasemonkey finally handles updates now.)
• Made jump skipper more reliable and other small optimizations.
• Fixed numeric catastrophe when hiragana or katakana transliteration was enabled.
• Fixed problem with tags containing numbers not translating.
• Remove the jump page from external links when ad hiding is enabled.
• CSS tweaks.
• Use requestAnimationFrame for opening/closing menu if possible.
• Added ability to import/export custom tags as text files. Trade files with your friends and catch em all! (Due to limitations, the files will not be saved with a txt extension)
• Fixed timing issue on Scriptish.
• Fixed visible highlighting actually not working in Firefox.
• More thorough ad hiding.
• Cleaned up Google translation tab for Firefox/in general.
• Removed/condensed some unnecessary code.
• Custom translation scrollbar fixed.
• Better menu.
• Preload some routine operations before the page loads. (Confirmed working on Scriptish and Tampermonkey/Chrome. Your Greasemonkey may need to be updated).
• Notification support for Scriptish and Tampermonkey.
• Added a button on the google translator to add to custom translations.
• New script icon and Scriptish/Tampermonkey metadata.
• Removed "show run time" option.
• Better ad hiding, made hiding ads optional.
• Visible highlighting fix is optional works on Chrome and FF.
• Notification support for Scriptish and Tampermonkey.
• Added "Touhou" and "Video Game" subcategories (WIP).
• Some tags edited for clarity/accuracy and updated page translations.
• Redone (but still unpolished) UI with many new options and features.
• Source is much more organized and readable, with less copypasta code.
A major rewrite is underway, so I decided to backport these changes in the meantime:
• Massive tag additions provided by Lioncash and others.
• Greatly simplified page translation by directly targeting text and value nodes instead of recursing the entire page document looking for them - cuts page translation time by more than half.
• Google translation now uses the official Google site instead of a third party - translation results should be instantaneous.
• Buttons now overlap menu/tag list, not vice-versa
• Hid Comic Market adspace.
• Made text highlighting visible.
• Rounded borders caused a glitch that made menu checkboxes disappear and were removed. (Firefox 4 bug?)
• Brought back menu and tag list buttons and placed them under the novels and events links.
• Resized tag boxes to better fit page.
• Minor searchbar redesign fix.
• Added occupation translations.
• Minor pixiv redesign fix.
• Custom translations have been lumped together with predefined tags and are available from the autosuggest dropdown box again.
• Changed tag-clicking function to remove the default searchbar text before inserting the tag.
• Interface cleanup.
• Redid page translations from scratch.
• Reformatted tag system so that: 1. Tags are always in memory and not tied to the tag list creation process, and 2: Tags are stored in a hierarchical data structure instead of a flat one, which allows for easy and flexible categorization in the tag list and autosuggest.
• Consequently, you can disable the tag list to approximately double the script's speed while still being able to use autosuggest.
• Fixed a bug that made adding more than 2-3 custom translations at a time result in glitchy duplicate entries.
• Interface and page styling has been changed a bit, but is still very much a WIP. Restyling it may take quite a bit longer than expected though, so yeah...
• Quick and ugly fix to make the previous version work on redesigned pixiv site. A proper update is being worked on.
• Remade menu with a big wad of innerHTML.
• User-defined translations can now be added and removed via the menu.
• Added a quick Google Translate interface to the menu.
• New option to display the script's execution time for speed benchmarking.
• All settings are now saved in localStorage and sessionStorage instead of cookies.
• Implemented a premliminary CSS to hide text ads and add style to common elements.
• Removed small kana from transliterator.
• New/fixed tag and page translations.
• Tags are real links once again. Opening them in a new tab via right click, middle click, ctrl click, etc. should work flawlessly now. (Thanks to Gabora for help with this.)
• Quick fix to make autocomplete behave a bit better in regards to tags with spaces and some special characters.
• Made tag list enabled by default.
• Made autocomplete work (buggily) for inputting multiple tags.
• Added document title translation for tags and search type. Good for convenient bookmarking.
• Middle clicking or Ctrl clicking tags now opens an instant search in a new tab.
• Internal change: objects are no longer assembled from massive strings.
• Added more tags and translations.
• Reformatted tag list as tables for easier clickability, added some highlighting shinies and tooltips that show the original Japanese.
• Added experimental autocomplete feature. With the tag list enabled, try typing the name of a translated tag in the search bar to see the results.
• Fixed formatting breakage on "view all related tags" page.
• Internal overhaul for a much less convoluted script. Before, the menu and tag list used an injected HTML script element and onclick attributes. Now the whole script is entirely self-contained and uses event listeners instead.
• Hid some new text ads that were slipping by the old ad filter.
• Bumped up default tag list height to 125px.
• Added some more tags.
• Fixed and added a few page translations.
• Fixed page slider that was broken by the previous update.
• New feature: Kana transliteration is available for as of yet words. Enable it in the options menu. I recommend enabling only katakana for the best readable-to-gibberish ratio, but you can try hiragana as well. I've also released this feature as a separate userscript for use on other Japanese sites.
• Fixed Yahoo and Amazon link removal.
• Added a few new tags.
• Enhanced compatibility with Endless Pixiv Pages. Now this script doesn't run needlessly every time a new page is appended. (Thanks to Mango for pointing this out.)
• Now you can play around with the tag list height without refreshing the page.
• Speedup when browsing with the tag list enabled.
• A few minor intuitive changes: The menu link now works exactly like the show/hide tag list link, the menu now closes upon saving settings, and tag insertion now spaces only where necessary and puts the text input cursor on the search bar.
• Added translations for the abuse report page.
• Added a few new tags. (I haven't bothered to update the text file this time; I mostly just wanted to get this out before working on the next major feature.)
• Added a small options menu that can be accessed from a link in the center of the gray login menu bar at the top of the page (I've never seen this space used for anything before, but if it is, please tell me ASAP.)
• In the new options menu, there are options to enable and disable the tag list, page translations, and tag translations, and to set the tag list height. You can enable all for the Pixiv Translation Experience, disable all for speedy browsing, or mix-and-match to your liking.
• When the tag list is enabled, there's a quick show-and-hide link for it next to the options menu link.
• These settings are now stored as cookies, which will permanently save your settings, even between new tags and browsing sessions.
• Switched to a standardized web-safe font that should work for everyone
• Fixed and added translations for new manga mode
• Speed optimizations by caching frequently referenced elements and reorganizing code
• Replaced "「」" with "()" on tags with synonyms and alternate spellings (I thought parentheses were originally done like this because of a syntax quirk, but apparently not.)
• Moved update checker to the top of the script in case of breakage
• Added more tags
• Usual misc. edits
• Some page tweaks - namely, made the enable/disable buttons a little bigger, removed the useless Yahoo and Amazon links, and made the "Random Tag" link stay on one line.
• Added translations for the uploading page. (Thanks again to Atlantima)
• More revisions and corrections, especially to the edit profile page.
• Deuglified tag list with a Pixiv theme (see screenshot). Clickable and non-clickable elements now use the appropriate mouse cursor as well.
• Fixed bug that caused long tags in the popular tags area to push the enable/disable button into the search bar. Font in the popular tags area was made slightly smaller to make overflows a lot less likely, but as a precaution, the popular tags area has also been fixed in size so that overflowing tags will be clipped instead of messing up the page.
• More minor edits and additions
• Added a bunch of new tags (most courtesy of Atlantima)
(From Better Pixiv Translation) (1/3/10)
• Added tag selection lists (disabled by default)
• Created a function to easily add tags to both the user tag list and page translation list at the same time
• Disabled (seemingly useless) EventListener (For compatibility with Mango's Endless Pixiv Pages script)
• Stopped stuff in the search bar from being translated
• Misc proofreading and translation edits to tags
• Removed a few very obscure and/or unclear tags
• Add misc. tweaks and improvements
• Add any new features I happen to think of or that users suggest
• If you have a favorite tag defined in Pixiv Translation Plus, instead of searching for it in the tag list every time, try out the new autocomplete feature by typing it in the search bar. (Works as long as the tag list is enabled, regardless of whether it's hidden or not.)
• Kana transliteration (especially katakana) is useful when searching for characters, shows, games, and many English loanwords.
• I try to keep an updated text file archive containing all the currently translated tags in both English and Japanese. The latest version of this can be downloaded here.
• You can help make this script better for everyone! If you have new tags you'd like to be added, translation corrections/clarifications, bug reports, or ideas for an awesome new feature, please PM me or post them in the one of designated threads above.