comparison 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
comparison
equal deleted inserted replaced
35:32a213717e6a 36:11568ae07bf5
1 // ==UserScript==
2 // @name Cuffs/Hulotte popup disable
3 // @namespace https://myconan.net
4 // @version 1.0.0
5 // @description Strip out Cuffs/Hulotte age confirmation popup
6 // @author nanaya
7 // @match http://www.cuffs.co.jp/*
8 // @match http://hulotte.jp/*
9 // @grant none
10 // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js
11 // ==/UserScript==
12
13 ;(function() {
14 "use strict";
15 var elements = document.querySelectorAll('body > #load_bg, body > .modal');
16
17 for (var i = 0; i < elements.length; i++) {
18 elements.style.display = 'none';
19 }
20 }).call();