Created
July 9, 2018 02:12
-
-
Save Grabber/a9999aa647f075bdac8ed3f79efd0513 to your computer and use it in GitHub Desktop.
DMG-6661: semi automated virtual servers remove
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rules = document.querySelectorAll('*[id^="enable_"]'); | |
var remove_items = 100; | |
for (var i = rules.length; i--;) { document.getElementById(rules[i].id).checked = true; remove_items--; if (remove_items < 0) break; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment