Furaffinity-Prototype-Extensions

Library to hold common prototype extensions for your Furaffinity Script

Ekde 2025/02/02. Vidu La ĝisdata versio.

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.greatest.deepsurf.us/scripts/525666/1530807/Furaffinity-Prototype-Extensions.js

Aŭtoro
Midori Tsume
Versio
1.0.0
Kreita
2025/02/02
Ĝisdatigita
2025/02/02
Size
3,19 kb
Licenco
MIT

Furaffinity Prototype Extensions

A collection of prototype extensions for needed Functions for other Modules.

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