Greasy Fork 还支持 简体中文。
Restore some compatibility between Picarto and older browsers (like FF 52) -- StevenRoy
目前為 2025-02-28 提交的版本,檢視 最新版本。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Fixed Picarto trying to reference a "globalThis" object when there's no such thing and never will be because there's no possible use case for adding such a feature to JavaScript in the first place and WHY IS THAT A THING NOW?
Reverted accidental changes to script name and description.
Fix for a couple of stupid bugs Picarto recently added to their video player code. (These actually had nothing to do with browser incompatibility: Someone over there is just bad at JavaScript.)
Well, Picarto's trying to use window.IntersectionObserver now for some reason. In browsers where that doesn't exist, this is now ignored instead of causing the whole page to crash.
Added missing "AbortController" object (or at least a rudimentary version of it). Not very vital, but there was at least one button that didn't function because of this and now it does.