Hello, I was wondering if it was allowed to modify scripts such as MassEdit with your personal JS to bypass restrictions that make it so that the script would normally be only usable by users who have moderator rights on the given wiki. I suppose another way to ask it would be is whether there is anything in the FANDOM Policy or licensing that prevents someone from doing so.
As an example, I could modify MassEdit so that I could use it on a wiki where I don't have any rights, but the question is, would that be allowed under the FANDOM policy?
I believe this particular MassEdit restriction is put in place by the wiki's JS. Therefore, whether or not you can override it technically depends on the order in which the scripts (the wiki's v. yours) are executed. However, I would assume Fandom accounted for this in their platform design. Even if they didn't, it probably wouldn't be long before the admins catch on. In which case, you might be looking at a lengthy block, if not permanent.
So to summarize, it is not entirely impossible considering just the nature of JS. However, I find it unlikely Fandom would have allowed such a security risk to get through. Even if they did, you probably won't get very far before you get caught.
To rephrase, MassEdit has a built-in restriction that checks whether you are in one of the usergroups listed in the array and only makes its functions avaliable for use if you are a moderator or vice versa. Even if you imported it in your common.js in a given wiki, you would normally not be able to use it unless you had certain rights.
However, I believe you can simply paste the code in your personal JS, add "user" to the CAN_EDIT object, and easily bypass the restriction. My question is, does that violate any FANDOM rules if there is no specific rule in a given wiki that already states it is against the rules to do this?
So if your user has the bot flag, using MassEdit code in personal JS may not attract much attention if the edits are legit. However, either way, your user will be identified with the edits, so if they aren't legit a perma block is likely.
Without the bot flag, those edits would likely get noticed right away and you could get a block just for being annoying.