Picarto compatibility for older browsers like FF52

Restore some compatibility between Picarto and older browsers (like FF 52) -- StevenRoy

作者
Steven Michelsen (StevenRoy)
今日安裝
0
安裝總數
4
評價
0 0 0
版本
2.005
建立日期
2024-10-19
更新日期
2025-02-28
尺寸
8.6 KB
授權條款
未知
腳本執行於

I guess it's time to rant again about the trend of "New JavaScript" adding completely unnecessary features, apparently for the sole purpose of forcing people to shell out money for the newest operating systems just so they can keep their "free" browsers updated enough to not have things break whenever a web page arbitrarily starts using one of these "New JavaScript" functions which are often usually redundant anyway.

So anyway, if you're using an older browser and Picarto has recently stopped working, and if you open up your browser console and see an error message related to "String.trimStart" or "URL.canParse" functions not existing, here's a stupid little script that makes those functions exist.

I strongly resent the fact that I had to make this.