Automatically click "Enter" on age warning of image hosts

jgreen

New Member
Sep 11, 2012
1
3
I find it very annoying that I have to keep confirming my age and clicking "Enter" to view a video screenshot on one of the various image hosting sites.

The nice thing is that they all use the same code to generate that popup so here's a greasemonkey script that would do that for you.
Greasemonkey is a firefox plugin. Install it, create a new user script and paste the following:

Code:
// ==UserScript==
// @name        enter
// @namespace   akibeonline-enter
// @include     http://imagepong.info/*
// @include     http://imgserve.net/*
// @include     http://*
// @include     http://imgtiger.com/*
// @include     http://imageback.info/*
// @grant       none
// @version     1
// ==/UserScript==

function doClose(){
    popupBox.style.display="none";
    popupOverlay.style.display="none";
}

doClose();

Include any additional sites where you want the script to run by copying the @include line and entering the new url.
 

loveIdols

Member
Nov 7, 2007
168
3
Nice trick, but maybe the better approach is to use adblock and element hiding rules to hide the overlay elements so you don't even have to click :)