# HG changeset patch # User Edho Arief # Date 1500540231 0 # Node ID 11568ae07bf598c2e08b29a28593745583bc7e19 # Parent 32a213717e6ade3e27d8e30f505d7f532e72c6cd diff -r 32a213717e6a -r 11568ae07bf5 cuffs-hulotte-popup.user.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cuffs-hulotte-popup.user.js Thu Jul 20 08:43:51 2017 +0000 @@ -0,0 +1,20 @@ +// ==UserScript== +// @name Cuffs/Hulotte popup disable +// @namespace https://myconan.net +// @version 1.0.0 +// @description Strip out Cuffs/Hulotte age confirmation popup +// @author nanaya +// @match http://www.cuffs.co.jp/* +// @match http://hulotte.jp/* +// @grant none +// @downloadURL https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js +// ==/UserScript== + +;(function() { + "use strict"; + var elements = document.querySelectorAll('body > #load_bg, body > .modal'); + + for (var i = 0; i < elements.length; i++) { + elements.style.display = 'none'; + } +}).call(); \ No newline at end of file