1. Akiba-Online is sponsored by FileJoker.

    FileJoker is a required filehost for all new posts and content replies in the Direct Downloads subforums.

    Failure to include FileJoker links for Direct Download posts will result in deletion of your posts or worse.

    For more information see
    this thread.
    Dismiss Notice

Automatically click "Enter" on age warning of image hosts

Discussion in 'Tutorials' started by jgreen, Aug 4, 2013.

  1. jgreen

    jgreen New Member

    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.
     
    anonymosity, FaustĀ® and binbin08 like this.
  2. loveIdols

    loveIdols Member

    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 :)