comparison cuffs-hulotte-popup.user.js @ 37:300b54b0c956

(none)
author Edho Arief <me@nanaya.pro>
date Thu, 20 Jul 2017 08:48:00 +0000
parents 11568ae07bf5
children 1e6093682591
comparison
equal deleted inserted replaced
36:11568ae07bf5 37:300b54b0c956
1 // ==UserScript== 1 // ==UserScript==
2 // @name Cuffs/Hulotte popup disable 2 // @name Cuffs/Hulotte popup disable
3 // @namespace https://myconan.net 3 // @namespace https://myconan.net
4 // @version 1.0.0 4 // @version 1.0.1
5 // @description Strip out Cuffs/Hulotte age confirmation popup 5 // @description Strip out Cuffs/Hulotte age confirmation popup
6 // @author nanaya 6 // @author nanaya
7 // @match http://www.cuffs.co.jp/* 7 // @match http://www.cuffs.co.jp/*
8 // @match http://hulotte.jp/* 8 // @match http://hulotte.jp/*
9 // @grant none 9 // @grant none
10 // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js 10 // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js
11 // ==/UserScript== 11 // ==/UserScript==
12 12
13 ;(function() { 13 ;(function($) {
14 "use strict"; 14 "use strict";
15 var elements = document.querySelectorAll('body > #load_bg, body > .modal'); 15 $(function() {
16 16 $('body > :not(#mainContent)').css({display:'none'})
17 for (var i = 0; i < elements.length; i++) { 17 });
18 elements.style.display = 'none'; 18 }).call(jQuery);
19 }
20 }).call();