Furaffinity-Prototype-Extensions

Library to hold common prototype extensions for your Furaffinity Script

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/525666/1549449/Furaffinity-Prototype-Extensions.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
Midori Tsume
เวอร์ชัน
1.0.1
สร้างเมื่อ
02-02-2025
อัปเดตเมื่อ
07-03-2025
Size
3.36 กิโลไบต์
สัญญาอนุญาต
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