36
|
1 // ==UserScript==
|
|
2 // @name Cuffs/Hulotte popup disable
|
|
3 // @namespace https://myconan.net
|
41
|
4 // @version 1.0.5
|
36
|
5 // @description Strip out Cuffs/Hulotte age confirmation popup
|
|
6 // @author nanaya
|
|
7 // @match http://www.cuffs.co.jp/*
|
41
|
8 // @match http://www.cuffs-cube.jp/*
|
36
|
9 // @match http://hulotte.jp/*
|
|
10 // @grant none
|
|
11 // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js
|
|
12 // ==/UserScript==
|
|
13
|
38
|
14 ;(function() {
|
36
|
15 "use strict";
|
38
|
16
|
40
|
17 if (document.querySelector('body > #mainContent') == null) {
|
|
18 return;
|
|
19 }
|
|
20
|
38
|
21 var styleEl = document.createElement('style');
|
|
22 document.head.appendChild(styleEl);
|
|
23 var styleSheet = styleEl.sheet;
|
|
24
|
|
25 styleSheet.insertRule(
|
|
26 'body > :not(#mainContent) { display: none !important; }',
|
|
27 styleSheet.cssRules.length
|
|
28 );
|
40
|
29 }).call();
|