├── .gitignore ├── VoiceLinks.js ├── docs └── major_updates │ └── v4.8.6 │ ├── blur.jpg │ ├── copy.gif │ ├── hint.png │ ├── new_info.jpg │ ├── pin.gif │ ├── sfw.gif │ ├── v4.8.6-en_US.md │ ├── v4.8.6-zh_CN.md │ └── v4.8.6-zh_TW.md ├── readme.md └── 作品类型对应列表.txt /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/.gitignore 2 | /.idea/modules.xml 3 | /.idea/vcs.xml 4 | /.idea/VoiceLinkExtend.iml 5 | /.idea 6 | -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/blur.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IceFoxy062/VoiceLinks-Extend/eeb2b0a5302f6ce4a1b94aad2e7d817bd399158b/docs/major_updates/v4.8.6/blur.jpg -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/copy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IceFoxy062/VoiceLinks-Extend/eeb2b0a5302f6ce4a1b94aad2e7d817bd399158b/docs/major_updates/v4.8.6/copy.gif -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/hint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IceFoxy062/VoiceLinks-Extend/eeb2b0a5302f6ce4a1b94aad2e7d817bd399158b/docs/major_updates/v4.8.6/hint.png -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/new_info.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IceFoxy062/VoiceLinks-Extend/eeb2b0a5302f6ce4a1b94aad2e7d817bd399158b/docs/major_updates/v4.8.6/new_info.jpg -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/pin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IceFoxy062/VoiceLinks-Extend/eeb2b0a5302f6ce4a1b94aad2e7d817bd399158b/docs/major_updates/v4.8.6/pin.gif -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/sfw.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IceFoxy062/VoiceLinks-Extend/eeb2b0a5302f6ce4a1b94aad2e7d817bd399158b/docs/major_updates/v4.8.6/sfw.gif -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/v4.8.6-en_US.md: -------------------------------------------------------------------------------- 1 | **_Document Translated from zh_CN by Microsoft Copilot:_** 2 | 3 | # v4.8.6 New Features 4 | - Pin Popup 5 | - Information Copy 6 | - Hint Bar 7 | - SFW Mode 8 | - New Information Addition 9 | - CSP Policy Bypass for Covers 10 | 11 | ## Pin Popup 12 | ![pin.gif](pin.gif) 13 | 14 | When the popup appears on the screen, hold down the `Ctrl` key (or `Command` key on MacOS) to pin the popup on the screen. Even if you move the mouse away from the RJ number, the popup will remain and its content can be selected. 15 | 16 | Based on the pinned popup, you can copy the displayed information (see the “Information Copy” section). More actions may be available in the future. 17 | 18 | **Note: When the popup is pinned, moving the mouse to another RJ number will have no effect. To check information of another RJ number, release the `Ctrl/Command` key**. 19 | 20 | ## Information Copy 21 | ![copy.gif](copy.gif) 22 | 23 | When the popup is pinned, some information will support being copied. 24 | 25 | With the popup pinned, move the mouse into the popup, and the information that can be copied will be underlined. Click the information with the left mouse button to copy its content. 26 | 27 | If you click the title of the information, you can **copy all the information under that title** (e.g., clicking any voice actor's name will copy that specific voice actor's name, while clicking the left "Voice Actor" title will copy the entire list of voice actors to the clipboard). 28 | 29 | ## Hint Bar 30 | ![hint.png](hint.png) 31 | 32 | A new hint bar is added to the bottom left of the popup to provide tips on some new features (such as pinning and copying features). 33 | 34 | ## SFW Mode 35 | ![sfw.gif](sfw.gif) 36 | 37 | Enable in **Settings**, and once enabled, the cover image in the popup will be blurred. 38 | 39 | ![blur.jpg](blur.jpg) 40 | 41 | The blur degree can be customized: 42 | - Low - Only blurs details, image outlines remain visible 43 | - Medium - Familiarity with the image topic may allow some to vaguely recognize the outlines, but most won't discern the content 44 | - High - Almost completely obscures the content 45 | 46 | When the popup is pinned, if you move the mouse over the blurred image, the blur effect will temporarily be removed. Once the mouse leaves the image, the blur effect will be restored. This feature can be toggled in settings, and the transition animation for the blur effect can also be turned on or off in settings. 47 | 48 | ## New Information Addition 49 | ![new_info.jpg](new_info.jpg) 50 | 51 | In tag information, the **work rating** and **number of ratings** are displayed. The number of ratings serves as a reference for the credibility of the work rating and can be toggled in settings. 52 | 53 | The display of **work sales** information is added, which is turned off by default. Please manually enable it in settings. 54 | 55 | ## CSP Policy Bypass for Covers 56 | Using Tampermonkey's built-in API to load cover images allows them to display correctly on some webpages with CSP policy restrictions (e.g., MEGA cloud storage). 57 | 58 | Please ensure that Tampermonkey is updated to a relatively new version (specific version not verified). If this feature cannot be used, the script will still load cover images in the original way. 59 | -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/v4.8.6-zh_CN.md: -------------------------------------------------------------------------------- 1 | # v4.8.6 新功能 2 | - 弹框固定 3 | - 信息复制 4 | - 提示栏 5 | - SFW模式 6 | - 新信息追加 7 | - 封面CSP策略绕过 8 | 9 | ## 弹框固定 10 | ![pin.gif](pin.gif) 11 | 12 | 弹框出现在屏幕上时,按住`Ctrl`键(MacOS上为`Command`键)并保持不放,即可使弹框固定在屏幕上。此时,即使鼠标离开RJ号,弹框依然不会消失且内容可被选中。 13 | 14 | 在弹框被固定的基础上,可以对显示的信息进行复制(详见“信息复制”部分),后续可能会包含更多可用操作。 15 | 16 | **注意:弹框被固定时,将鼠标移动到其它RJ号上将不会有任何作用。如果想转而查询其它RJ号的信息,请放开`Ctrl/Command`键**. 17 | 18 | ## 信息复制 19 | ![copy.gif](copy.gif) 20 | 21 | 弹框被固定的情况下,部分信息内容将支持被复制。 22 | 23 | 弹框被固定的同时,将鼠标移入弹框内,可复制的信息会被下划线标示,此时左键点击信息即可复制其内容。 24 | 25 | 如果点击信息对应的标题,则可**复制该标题下的所有信息**(如点击任意声优名称可以复制对应声优的名字,而点击左侧的“声优”标题,则会将整个声优列表复制到剪贴板) 26 | 27 | ## 提示栏 28 | ![hint.png](hint.png) 29 | 30 | 弹框左下角新增提示栏,用于对部分新功能进行提示(如固定功能和复制功能)。 31 | 32 | ## SFW模式 33 | ![sfw.gif](sfw.gif) 34 | 35 | 在**设置**中开启,开启后弹框中的封面图将会被模糊处理。 36 | 37 | ![blur.jpg](blur.jpg) 38 | 39 | 可自定义模糊程度: 40 | - 低 - 仅模糊细节,图像轮廓依旧可见 41 | - 中 - 熟悉图片主题的人可勉强看出轮廓,其他人大概率无法辨认内容 42 | - 高 - 几乎完全看不出内容 43 | 44 | 在固定弹框的情况下,如果将鼠标移动到模糊的图像上,则图像的模糊效果会被暂时移除,鼠标离开图像后恢复模糊效果。该功能可在设置中开关,模糊效果的过渡动画也可在设置中选择关闭或开启。 45 | 46 | ## 新信息追加 47 | ![new_info.jpg](new_info.jpg) 48 | 49 | 标签信息中,追加**作品评分**及**评分人数**显示。评分人数作为作品评分可信度的参考,可在设置选项中进行开关。 50 | 51 | 追加**作品销量**信息显示,默认关闭,请手动到设置中开启。 52 | 53 | ## 封面CSP策略绕过 54 | 使用Tampermonkey内置API实现封面图的加载,使得封面可在一些设置了CSP策略限制的网页中正常展示(如MEGA网盘等) 55 | 56 | 使用此功能请保证Tampermonkey为较新版本(具体版本号未验证),如果无法使用该功能,则脚本依旧会按原方式加载封面图。 57 | -------------------------------------------------------------------------------- /docs/major_updates/v4.8.6/v4.8.6-zh_TW.md: -------------------------------------------------------------------------------- 1 | **_翻譯by Microsoft Copilot,考慮語言習慣_** 2 | 3 | # v4.8.6 新功能 4 | - 彈框固定 5 | - 資訊複製 6 | - 提示欄 7 | - SFW模式 8 | - 新資訊新增 9 | - 封面CSP策略繞過 10 | 11 | ## 彈框固定 12 | ![pin.gif](pin.gif) 13 | 14 | 當彈框出現在螢幕上時,按住 `Ctrl` 鍵(MacOS 上為 `Command` 鍵)並保持不放,即可將彈框固定在螢幕上。此時,即使滑鼠離開 RJ 號,彈框依然不會消失且內容可被選取。 15 | 16 | 在彈框被固定的基礎上,可以對顯示的資訊進行複製(詳見「資訊複製」部分),後續可能會包含更多可用操作。 17 | 18 | **注意:彈框被固定時,將滑鼠移動到其他 RJ 號上將不會有任何作用。如果想查詢其他 RJ 號的資訊,請放開 `Ctrl/Command` 鍵**. 19 | 20 | ## 資訊複製 21 | ![copy.gif](copy.gif) 22 | 23 | 彈框被固定的情況下,部分資訊內容將支援被複製。 24 | 25 | 彈框被固定的同時,將滑鼠移入彈框內,可複製的資訊會被底線標示,此時左鍵點擊資訊即可複製其內容。 26 | 27 | 如果點擊資訊對應的標題,則可**複製該標題下的所有資訊**(如點擊任意聲優名稱可以複製對應聲優的名字,而點擊左側的「聲優」標題,則會將整個聲優列表複製到剪貼簿)。 28 | 29 | ## 提示欄 30 | ![hint.png](hint.png) 31 | 32 | 彈框左下角新增提示欄,用於對部分新功能進行提示(如固定功能和複製功能)。 33 | 34 | ## SFW模式 35 | ![sfw.gif](sfw.gif) 36 | 37 | 在 **設置** 中開啟,開啟後彈框中的封面圖將會被模糊處理。 38 | 39 | ![blur.jpg](blur.jpg) 40 | 41 | 可自訂模糊程度: 42 | - 低 - 僅模糊細節,圖像輪廓依舊可見 43 | - 中 - 熟悉圖片主題的人可勉強看出輪廓,其他人大概無法辨認內容 44 | - 高 - 幾乎完全看不出內容 45 | 46 | 在固定彈框的情況下,如果將滑鼠移動到模糊的圖像上,則圖像的模糊效果會被暫時移除,滑鼠離開圖像後恢復模糊效果。該功能可在設置中開關,模糊效果的過渡動畫也可在設置中選擇關閉或開啟。 47 | 48 | ## 新資訊新增 49 | ![new_info.jpg](new_info.jpg) 50 | 51 | 標籤資訊中,新增**作品評分**及**評分人數**顯示。評分人數作為作品評分可信度的參考,可在設置選項中進行開關。 52 | 53 | 新增**作品銷量**資訊顯示,默認關閉,請手動到設置中開啟。 54 | 55 | ## 封面CSP策略繞過 56 | 使用 Tampermonkey 內建 API 實現封面圖的加載,使得封面可在一些設置了 CSP 策略限制的網頁中正常展示(如 MEGA 網盤等)。 57 | 58 | 使用此功能請確保 Tampermonkey 為較新版本(具體版本號未驗證),如果無法使用該功能,則腳本依舊會按原方式加載封面圖。 59 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # VoiceLinks Extend 2 | > 文件说明:VoiceLinks.js 为脚本代码,其它文件均为草稿或相关信息说明。 3 | 4 | 这是一个用于在所有网页上**快速预览DLSite作品信息**的脚本。 5 | 6 | 在网站仅以RJ号和纯文本指代作品时(如资源网站的帖子列表等),你可以使用该脚本方便地了解作品信息,包括其标题、封面、制作社团、CV、标签等等,并可以快速跳转到对应作品的DLSite页面。 7 | 8 | --- 9 | 10 | > 原作者Github链接: 11 | > https://github.com/NANELLON/VoiceLinks 12 | > 13 | > 基于2.0.0版本,GitHub内的代码内容有所不同。 14 | 15 | 原作脚本名为VoiceLinks,更新版本沿用该命名,但实际上对所有的RJ号都有效。 16 | 17 | ## 使用方法 18 | 1. 安装Tampermonkey或类似扩展 19 | 2. 在Sleazy Fork中进行[安装](https://sleazyfork.org/zh-CN/scripts/456775-voicelinks) 20 | 3. 将鼠标悬停在RJ号上,就会弹框显示作品基本信息,点击RJ号即可跳转到作品页面。 21 | 22 | ![演示](https://s2.loli.net/2024/10/25/K6rxu4sMT9jqSwh.gif) 23 | 24 | ## 功能特性 25 | 1. 支持显示**已下架**作品信息 26 | 2. 支持显示**特典**作品信息 27 | 3. 使用**标签**展示额外的作品信息 28 | 4. 作品标题与对应标签分类将尽力匹配**未和谐**版本 29 | 5. 支持显示**大家一起来翻译**的申请与发售情况 30 | 6. 对于**大家一起来翻译**作品,脚本会尽力匹配**原作品社团名**、**翻译者用户名**,以及**原文件的大小信息**。 31 | 7. 结合多种信息获取方式,尽力恢复完整作品信息,并保证可靠性。 32 | 8. 绕过部分Csp限制进行内容展示 33 | 34 | ## 截图 35 | ![image.png](https://s2.loli.net/2024/10/25/5Ubkt1AZdeBojyf.png) 36 | 完整信息展示,**可在设置里调整展示的信息以及顺序** 37 | 38 | ![image.png](https://s2.loli.net/2024/10/25/8lnBhg7WGwFC1Lo.png) 39 | 已下架作品信息获取 40 | 41 | ![image.png](https://s2.loli.net/2024/10/25/DuMYmr87hWRt6k1.png) 42 | 特典信息获取 43 | 44 | ![image.png](https://s2.loli.net/2024/10/25/pBr1HKZCTkzlxvf.png) 45 | 待发售倒计时 46 | 47 | -------------------------------------------------------------------------------- /作品类型对应列表.txt: -------------------------------------------------------------------------------- 1 | //游戏 2 | ["ACN", "QIZ", "ADV", "RPG", "TBL", "DNV", "SLN", "TYP", "STG", "PZL", "ETC"] 3 | 4 | //漫画 5 | ["MNG", "SCM", "WBT"] 6 | 7 | //CG 插画 8 | "ICG" 9 | 10 | //小说 11 | ["NRE", "KSV"] 12 | 13 | //视频 14 | "MOV" 15 | 16 | //音声 17 | "SOU" 18 | 19 | //音乐 20 | "MUS" 21 | 22 | //工具 素材 23 | ["TOL", "IMT", "AMT"] 24 | 25 | //其它(音声漫画是VCM) 26 | ["ET3", "VCM"] 27 | 28 | /** TAG 列表 **/ 29 | get_tag_no_longer_available: function (rjCode) {}, 30 | get_tag_work_type: function (rjCode) {}, 31 | get_tag_translatable: function (rjCode) {}, 32 | get_tag_not_translatable: function (rjCode) {}, 33 | get_tag_translated: function (rjCode) {}, 34 | get_tag_bonus_work: function (rjCode) {}, 35 | get_tag_has_bonus: function (rjCode) {}, 36 | get_tag_language_support: function (rjCode) {}, 37 | get_tag_file_format: function (rjCode) {}, 38 | get_tag_ai: function (rjCode) {}, 39 | 40 | //AI作品、AI部分使用 41 | ["AIG", "AIP"] 42 | 43 | 44 | --------------------------------------------------------------------------------