Mercurial > ec-userscripts
view cuffs-hulotte-popup.user.js @ 36:11568ae07bf5
(none)
author | Edho Arief <me@nanaya.pro> |
---|---|
date | Thu, 20 Jul 2017 08:43:51 +0000 |
parents | |
children | 300b54b0c956 |
line wrap: on
line source
// ==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();