Bobby's Pixiv Utils

Compatible with mobile. "Edit bookmark" and "Toggle bookmarked" buttons, publish dates conversion, block AI-generated works, block by Pixiv tags, UTags integration, and more!

目前為 2025-05-29 提交的版本,檢視 最新版本

作者
BobbyWibowo
評價
0 0 0
版本
1.6.17
建立日期
2025-01-29
更新日期
2025-05-29
尺寸
60.2 KB
授權條款
MIT
腳本執行於

Bobby's Pixiv Utils

Features

  • "Edit bookmark" buttons on thumbnails
    Intended for those who maintain multiple bookmark tags, and wants faster access (1-click) to assign certain tags for certain bookmarked artworks.
    Screenshot

  • "Toggle bookmarked" buttons
    Cycle through "Show All", "Show Not Bookmarked", and "Show Bookmarked".
    Reloading, or navigating through pages, will automatically apply the last used preference.
    Screenshot

  • Additional keybinds
    To extend Pixiv's built-in keybinds.
    Currently, has Shift+B for "Edit bookmark" button in an artwork's expanded view page.

  • Convert artwork's publish dates
    Defaults to "en-GB" locale. Configurable.

  • Block works flagged by their artists as AI-generated
    Due to technical complexity, this does not work on some pages (e.g. Rankings page).

  • Block works by their Pixiv tags
    Due to technical complexity, this does not work on some pages (e.g. Rankings page).
    Especially useful in blocking AI-generated works that aren't properly flagged by their artists.
    Screenshot
    Array values will be converted to RegExp, optionally with flags as the second sub-value.
    For example, ["^AI", "i"] equals /^AI/i, which matches all tags that start with AI, but case-insensitive.

  • Highlight works by their Pixiv tags
    Due to technical complexity, this does not work on some pages (e.g. Rankings page).
    Works that also contain blocked tags will still be blocked.
    Screenshot

  • UTags integration
    Block all works from artists that have certain tags. Defaults to block or hide.
    Can be used in conjunction with Pixiv tags blocking.
    Screenshot
    Can also be set to completely remove, instead of merely masking like the above.

  • Remove novel recommendations from home page
    Disabled by default.

Mobile Features

  • All of the above
    Except keybinds, of course.

  • Add artist links on grid thumbnails
    This also ensures proper UTags integration, and thus artists blocking.
    Screenshot Screenshot

This script requires APIs provided by Greasemonkey-compatible userscripts manager (Greasemonkey/Tampermonkey/Violentmonkey/etc.).
So for this script to work on mobile, it requires a mobile browser that provides similar capabilities as well.
I have only personally tested this on Firefox Android with Violentmonkey extension.

Planned Features

  • None for now, but feel free to make a request. I may consider it.

Settings

Configurable via your userscript manager's storage/values editor.

For Tampermonkey users, please consult this guide to access the storage editor, https://stackoverflow.com/a/56918709/10044786.

Screenshot

Screenshot

Screenshots above are only excerpts. Please check the source code for the most up-to-date configurable variables.

Broken selectors will be properly logged in the browser console.
So please manually check yours if the script suddenly breaks after you add custom selectors.
Set MODE variable to "DEBUG" if necessary.

Other Links

Works great in conjunction with other Pixiv and/or global userscripts. I'm personally using this with,
UTags, https://greasyfork.org/en/scripts/460718-utags-add-usertags-to-links
Picviewer CE+, https://greasyfork.org/en/scripts/24204-picviewer-ce