NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Aardvark // @author Rob Brown // @license BSD-3-Clause; https://opensource.org/licenses/BSD-3-Clause // @homepageURL https://karmatics.com/aardvark/ // @namespace com.karmatics.aardvark // @description Allows cleaning up a page prior to printing it. Also has page analysis tools for web developers // @include * // @require https://www.karmatics.com/aardvark/aardvarkMain.js // @require https://www.karmatics.com/aardvark/aardvarkCommands.js // @require https://www.karmatics.com/aardvark/aardvarkDBox.js // @require https://www.karmatics.com/aardvark/aardvarkUtils.js // @require https://www.karmatics.com/aardvark/aardvarkStrings.js // @require https://www.karmatics.com/aardvark/bookmarklet.js // @version 3.0 // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAACcPSURBVHja7H0JfFRVmu9XS/atspKwJkDCJhAWVxSCC24gzKjdri3061Z7xhlA2n7zehmkW+e96X6K/qanbZcR+7Wttqgo2C0KyqYIsgXZ1yRANkxISGVPLe/7f/ecW7cqFUhIItGew+9wq27dunXu+Z//t51zvtj8fj/9d+k7xdndG9hsNjkysPl8cD05aWjoJYU/31lU+23twJ4e0LYeaJCLD8tKdmyds+rxx+hs2alwlz3Ddcm3GZieAtTWTYQXNNedXbxqyU9ch9evMU8OnjCeBo4dRc21NbTv403U0tCI0wBjOoNS+N8M6WGGnIsV42beSrf8y6PkbXJL3fzqm7TlzVX6428lKD0JqB0nulgfry09UfTqg/fMefXBu4PASMrKohseXRj0A/m3TKe0IQP0WwC57omJOXO+TR3anXrBDOEvF5zavWNp0dZP8794bRk1u+vCXhfKEG9LPdWWltIfFjwReuk8ZsorfaRT86uOH8kvP7B3dumeQteBtX+lxprqAsVosPk9ru9ye4svtg4pqK86/cCud16fu3vV2x0p7HYFOuTKe++gAXnZAoi3pYne+OlvqOpEeZ8ARYncuQzC7F0r3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kzmI3yMBKcBhlbgKkpiiilnGGZE8XeiGYyYCDvFRDLTopyUGOOkBD7GRgKoAHCaQTg6rPrHRspYIFMPaWY6rPEwCvg6VokWKaEbNkbsNjHN41QIx5CDdh34XIoQ0Ln+5FNv76Dq2AOXUAg/JFeEP5K4JqjRrx/aHmpN2UOUucPoXOlsp11qNKoCIcKp9Iwwxi66xql0jj7a7So6rI0BBYDuS0Ns2sz3VgfUbjHicD5SxdOs1WG33MwAZRkc344GbK9mcugAjGwjHGLEpTCqkuB9c412BDxsuy1gwprVYkkFda5W5sq6sinTlCz3ksCwHu1hRr8+Z/3dgEERaI/d6uNYIgIoDsUKRJxj7EaNxnV2ss7RIDa3uC8xBIFCF6lRDnYkStTWbnrXwR0RLEbstlBxoh1BZQxpJew1qs+SBNNmDasAIDIYYTM7OngwBzrfZjJCvkOBGJn1OfEKzxQVAkqELTBXo44LmCUFPc2QLuftlRA6RJWaw4CcjVfR2gjlNOgHNUIgthCRYTh8jhARQpZENjBtPeoziVn5LAmUrQ+tsivjld1mmLT6nj4NsE3EAPlxL5xXif6NNqrX/kBgU7Jni+giiuYvtPB7ANPK7zHv4gOSfpu2jheHW7HSG6tOzsWQZXrIR6o5jDgZUfYQUaVBofay2youTFoYFo92+MScZcvG6w1YSz6/PxgUChY3NgsINquEsQWYEFDqtgBDwrDEoSbHIK7wnFEw1wMjTX+xQKITF0uHyI/DqlIiIkYpvRilsCnkAe3WULolLtUunG6J2urwh8daTd9B+xGqfZYE8jbLMRAlDm5P0HlrVNkW/D0NrlPpk0ibMXsZpcRtMPK2xT2pQ/6/AAMAwjlhiMqMZi0AAAAASUVORK5CYII= // ==/UserScript== // javascript:document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src','https://www.karmatics.com/aardvark/bookmarklet.js') var showHtml = function (elem) { }; var aardvark = { isBookmarklet: true, resourcePrefix: "http://karmatics.com/aardvark/", srcFiles: [ 'aardvarkStrings.js', 'aardvarkUtils.js', 'aardvarkDBox.js', 'aardvarkCommands.js', 'aardvarkMain.js' ], //------------------------------------------------ // onload function for script elements loadObject: function (obj) { var c = 0; for (var x in obj) { if (aardvark[x] == undefined) aardvark[x] = obj[x]; c++; } if (this.objectsLeftToLoad == undefined) { this.objectsLeftToLoad = this.srcFiles.length; } this.objectsLeftToLoad--; if (this.objectsLeftToLoad < 1) { // add anything here you want to happen when it is loaded // copy our own functions etc over aardvark's // start aardvark and show its help tip this.start (); this.showHelpTip(0); // add our custom commands aardvark.addCommand ("xpath", function(e) { if (window.SimplePath) SimplePath.showPathInSnippetEditor(e); else alert("please load snippet editor"); }); // add our custom commands } } }; // load the aardvark code from karmatics.com (function () { // leave commented out if you wish to have it load a new // copy each time (for dev purposes...no need to refresh page) /*if (window.aardvark) { aardvark.start (); return; } */ // anti caching....dev only (leave empty string otherwise) var ensureFresh = ""; // "?" + Math.round(Math.random()*100); for (var i=0; i<aardvark.srcFiles.length; i++) { var scriptElem = document.createElement('script'); scriptElem.isAardvark = true; scriptElem.src = ((aardvark.srcFiles[i].indexOf("http://") == 0) ? aardvark.srcFiles[i] : aardvark.resourcePrefix + aardvark.srcFiles[i]) + ensureFresh; document.body.appendChild(scriptElem); } })();