Label Pixiv Bookmarks

Automatically add existing labels for images in the bookmarks, and users are able to search the bookmarks

These are versions of this script where the code was updated. Show all versions.

  • v5.17 2024-08-16
    • Add error handler for the special character % in the tags
    • 为标签中的特殊字符%添加错误处理

    To explain, pixiv sometimes encodes the tags to escape special characters and I use decodeURI to decode that. Encoded tags will be like ^ -> %5E. However unescaped % in the tag will lead to an error. An error handler is added for that now.

  • v5.16 2024-03-25
    • 显示失效作品PID
    • show pid of invalid works
    • 新增选项添加所有作品标签至用户标签
    • added options to add all work tags to user tags
  • v5.15 2024-03-13
    • batch labeling deleted/private works as INVALID
    • 为失效作品添加INVALID标签
  • v5.14 2023-12-16
    • 加速模式
    • turbo mode
  • v5.13 2023-11-18
    • added options for strict matching when labeling
    • 新增自动标签时的严格匹配选项
  • v5.12 2023-08-24
    • 修复未设置头图的用户无法正常注入的问题
    • Fix bugs that users who does not set banner would fail injecting
  • v5.11 2023-08-24
    • 替换标签选择对话框功能
    • function to replace tag-selection dialog
    • 接受作者uid作为作品标签
    • accept author uid as part of work tags
  • v5.10 2023-08-15
    • 识别作者名
    • label author name
  • v5.9 2023-07-07
    • 在作品下显示用户标签
    • Show user-labeled tags under the works
  • v5.8 2023-06-29
    • 样例同义词词典用于新用户指引
    • Synonym dict sample for beginners
    • 更新部分方法增加稳定性
    • Update some methods to improve robustness
  • v5.7 2023-06-14
    • 样例同义词词典
    • Synonym dictionary sample
    • 修复画廊模式
    • Fix gallery mode
  • v5.6 2023-03-09
    • 批量删除失效作品
    • Batch removing invalid works
  • v5.5 2023-01-08
    • 备份和导入收藏夹功能
    • 更换重命名标签API
    • implement bookmark backup and import
    • use alternate tag rename api
  • v5.4 2023-01-05
    • 新增迁移标签名功能(在其他功能中)
    • Added functions to rename a tag and migrate work tags (in additional functions)
    • 新增标记AI作画至#AI标签的功能
    • Added options to label AI-generated works as #AI tag
  • v5.3 2022-12-13
    • 新增标记SFW选项;增加稳定性
    • Provide the option to label SFW tag; increase rubustness
  • v5.2 2022-10-22
    • 显示标签收藏数
    • Show tag count
  • v5.1 2022-10-21
    • 优化“未匹配时添加首个标签”的工作逻辑,选择首个未被忽略的标签
    • improve logic of add first tag when not match, and use first tag that is not ignored
  • v5.0 2022-10-20
    • Shuffled Images
    • Gallery Mode
    • Additional Functions
    • 随机图片浏览
    • 画廊模式
    • 其他功能
  • v4.14 2022-09-07
    • some fix
  • v4.13 2022-09-07
    • 实现自定义关键词搜索域的高级搜索模式
    • 固定窗口功能
    • Advanced search mode allows specifying search fields for each keyword
    • Pinned dialog
  • v4.12 2022-08-18
  • v4.12 2022-08-18
    • 夜间模式
    • dark mode
  • v4.11 2022-08-15
    • 更新获取收藏夹信息的方式
    • 修复无法正确删除非公开收藏夹内标签的问题
    • Update bookmark information collecting methods
    • Fix remove tags not working for private bookmarks
  • v4.10 2022-07-31
    • 修复当前作品数据采集错误
    • 文档更新
    • Fix current works loading error
    • Documentation updates
  • v4.9 2022-07-24
    • 修复“标签下图片较多时无法正确清除该标签”的问题
    • 移除“保持原有标签”的遗留功能
    • 新增“是否标记非全年龄图片”的可选功能
    • Fix problem on removing the tag when number of related works exceed api limit
    • Remove deprecate function of retain work tags
    • Add an option of whether to label NSFW works on labeling
  • v4.8 2022-07-08

    部分CSS样式更新 搜索收藏夹功能新增“标签数量匹配”设置 CSS Style update Search Bookmarks now supports "Search Tags Length Match"

  • v4.7 2022-02-12
    • fix array object prototype becomes undefined
    • 修复数组prototype变成undefined的问题
  • v4.6 2021-12-04
    • 添加无法获取用户信息时的备用方法
    • Implement some polyfill to prepare user info
  • v4.5 2021-11-20

    在编辑词典与搜索时提供自动联想日文Tag功能

    Implement Suggesting Tag Name in Japanese when creating tag alias and search with keywords

  • v4.4 2021-11-15
    • 词典自动备份与恢复
    • Auto-backup and restore synonym dictionary
  • v4.3 2021-11-15
    • 实现删除特定标签功能(不会影响收藏状态)
    • 整理代码格式
    • Implement removing specific tag (but keep bookmarked)
    • Refactoring
  • v4.2 2021-11-14
    • 移除“自动添加SAFE标签”,“保留收藏备注”等功能(新API不再需要这些设置)
    • 新增清除标签功能,集成在原生UI中
    • 统一代码风格,更新UI
    • 停止对旧版PIXIV的支持(应该已经不再使用)
    • 文档待更新
    • Remove Auto Add SAFE Tag & Retain Bookmark Comments functions (Deprecated)
    • Implement Remove Bookmark Tag (reset to uncategorized). The button resides at vanilla pixiv nav bar
    • Refactor code style
    • Stop supporting old Pixiv UI (Deprecated)
    • Doc tbd
  • v4.1 2021-11-13
    • 修复再次搜索的问题
    • Fix bugs on starting another new search
  • v4.0 2021-11-13
    • 加入搜索功能
    • Implement search bookmarks page
  • v3.0 2021-10-28
    • 自动记忆上次的设置与同义词词典
    • Memorize previous settings and synonym dictionary
  • v2.2 2021-06-30
    • 新增可选的追加模式,用于保留使用脚本前储存的自定义标签
    • 新增同义词词典,用于进行多个标签的统一识别存储
    • Implement appending mode to retain custom tags
    • Implement synonym dictionary to assign different tags to specific target tag
  • v2.1 2021-06-14
    • 对unicode编码的tag进行解码
    • 更详细的错误信息
    • Decode unicode-encoded tags
    • Detailed error messages
  • v2.0 2021-06-04
    • 使用Pixiv API进行后台更新,使得不需要再在网页间频繁跳转
    • 由于没有收集到更新小说的API,此版本暂时停止对小说的支持

    • Using Pixiv API to update the bookmarks in the background instead of jumping between different pages

    • Due to lack of information about novel APIs, novel labeling is temporally not supported in this version

  • v1.2 2021-03-24

    增加对小说的支持

    Adaption to novel bookmarks

  • v1.1 2021-03-23

    v1.1

    增加对新UI的适配

    Adaption to new UI

  • v1.0 2021-03-23