Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dot-js script to only show screenshots from grab.by domain
// I only want to see the image on grab.by screenshots
(function(d) {
var grab = d.getElementById('thegrab'),
link = d.querySelector('head > link'),
body = d.body;
// Remove Styles
link.parentNode.removeChild(link);
// Get rid of EVERYTHING in body and append the screenshot
body.innerHTML = '';
body.appendChild(grab);
}(document));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment