36
|
1 // ==UserScript==
|
|
2 // @name Cuffs/Hulotte popup disable
|
|
3 // @namespace https://myconan.net
|
38
|
4 // @version 1.0.2
|
36
|
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
|
38
|
13 ;(function() {
|
36
|
14 "use strict";
|
38
|
15
|
|
16 var styleEl = document.createElement('style');
|
|
17 document.head.appendChild(styleEl);
|
|
18 var styleSheet = styleEl.sheet;
|
|
19
|
|
20 styleSheet.insertRule(
|
|
21 'body > :not(#mainContent) { display: none !important; }',
|
|
22 styleSheet.cssRules.length
|
|
23 );
|
|
24 }).call(); |