Furaffinity-Prototype-Extensions

Library to hold common prototype extensions for your Furaffinity Script

当前为 2025-02-02 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/525666/1530872/Furaffinity-Prototype-Extensions.js

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Midori Tsume
版本
1.0.0
创建于
2025-02-02
更新于
2025-02-02
大小
3.2 KB
许可证
MIT

Furaffinity Prototype Extensions

A collection of prototype extensions for needed Functions. Also see docs on Furaffinity-Prototype-Extensions

How to use

  • @require this script

  • Use added Functionalities:

    let someString = "Hello World";
    someString = someString.trimEnd(" World");
    console.log(someString); // logs: "Hello"
    

Feature Roadmap

Feature Status
String extensions ✅ Completed
⠀⠀⠀⠀trimStart('someString') ✅ Completed
⠀⠀⠀⠀trimEnd('someString') ✅ Completed
Node extensions ✅ Completed
⠀⠀⠀⠀insertBeforeThis(newNode)⠀⠀⠀⠀ ✅ Completed
⠀⠀⠀⠀insertAfterThis(newNode) ✅ Completed
⠀⠀⠀⠀getIndexOfThis() ✅ Completed
⠀⠀⠀⠀readdToDom() ✅ Completed