Board Thread:Support Requests - Getting Technical/@comment-24258073-20160824040719

Earlier today, I made some updates to my global.js. However I was soon forced to undo the changes I made, for reasons listed below.


 * I made those updates to my global.js because


 * 1) The Discussions Moderator, Content Moderator, New Editor, and Inactive tags aren't showing up for me, even though they were already included on my global.js page.


 * I undid those updates to my global.js because


 * 1) For some unknown reason, when I made those changes, the rollback script, enhanced difference viewer, and popups stopped working.


 * Additional Notes


 * 1) I recently changed my global.js page by adding the entire rollback script to my global.js, instead of having the script as an import because:
 * The rollback button always appears next to the undo button for all revisions, regardless if the revision isn't the latest one.
 * Because of that, I accidentally clicked the rollback button a couple of times by mistake.
 * Also I'd had quite a few accidents with the imported rollback script, since the rollback button is always linked to whichever revision is the latest revision. Because of this, if someone else had already reverted the bad edits, then I ended up accidentally reverting the other user's reverts to the page, which resulted in me accidentally restoring the bad faith edits, instead of reverting them. Even now, the rollback script is not entirely immune to those sorts of accidents, but when the script is in my global.js, instead of being used as an import, then I'm far less likely to encounter those accidents with the rollback button.

The question is, why were the updates I made to my global.js causing the rollback script, enhanced difference viewer, and popups to be cancelled out? And how can I fix these issues? It would be nice if everything in my global.js could work the way it's intended to, without the risk of certain bits and pieces being cancelled out by other scripts in my global.js 