Open shinzlet opened 3 years ago
I recently filed an issue with several feature suggestions (https://github.com/shinzlet/oildrop/issues/5) and I wanted to add a clarification to this issue: certain functions in the GM API implement things that can only be done with the privileged access that the extension has. In particular, GM.xmlHttpRequest
can make requests that are not subject to the cross-origin request restrictions applied by a host's CORS headers.
Discussed a bit in #5 - I'll leave this open as it's probably the most important potential new feature with respect to growth.
Oildrop does not currently expose any of GreaseMonkey's
GM_
functions, nor does it use a metadata block. This makes it incompatible with scripts that use those features, which is a real disadvantage to certain users. My gut says that only massive userscripts would need theGM_
functions, as most style tweaks / functionality improvements don't require external assets or local storage (1).Advantages:
Disadvantages:
1: Note that Oildrop can still do all of those things - you'll just have to do them the standard javascript way.