Greasy Fork

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.