Furaffinity-Prototype-Extensions

Library to hold common prototype extensions for your Furaffinity Script

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/525666/1549449/Furaffinity-Prototype-Extensions.js

Аўтар
Midori Tsume
Версія
1.0.1
Створаны
02.02.2025
Абноўлены
07.03.2025
Памер
3.4 КБ
Ліцэнзія
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