Skip to content

Instantly share code, notes, and snippets.

View KameronKeller's full-sized avatar

KameronKeller

View GitHub Profile
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var elements = document.body.getElementsByTagName('*');
var items = [];
for (var i = 0; i < elements.length; i++) {
if (elements[i].innerHTML.indexOf('* { outline:solid red 1px!important; }') != -1) {
items.push(elements[i]);
}
}