annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
Edho Arief <me@nanaya.pro>
parents:
diff changeset
1 // ==UserScript==
Edho Arief <me@nanaya.pro>
parents:
diff changeset
2 // @name Cuffs/Hulotte popup disable
Edho Arief <me@nanaya.pro>
parents:
diff changeset
3 // @namespace https://myconan.net
37
Edho Arief <me@nanaya.pro>
parents: 36
diff changeset
4 // @version 1.0.1
36
Edho Arief <me@nanaya.pro>
parents:
diff changeset
5 // @description Strip out Cuffs/Hulotte age confirmation popup
Edho Arief <me@nanaya.pro>
parents:
diff changeset
6 // @author nanaya
Edho Arief <me@nanaya.pro>
parents:
diff changeset
7 // @match http://www.cuffs.co.jp/*
Edho Arief <me@nanaya.pro>
parents:
diff changeset
8 // @match http://hulotte.jp/*
Edho Arief <me@nanaya.pro>
parents:
diff changeset
9 // @grant none
Edho Arief <me@nanaya.pro>
parents:
diff changeset
10 // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js
Edho Arief <me@nanaya.pro>
parents:
diff changeset
11 // ==/UserScript==
Edho Arief <me@nanaya.pro>
parents:
diff changeset
12
37
Edho Arief <me@nanaya.pro>
parents: 36
diff changeset
13 ;(function($) {
36
Edho Arief <me@nanaya.pro>
parents:
diff changeset
14 "use strict";
37
Edho Arief <me@nanaya.pro>
parents: 36
diff changeset
15 $(function() {
Edho Arief <me@nanaya.pro>
parents: 36
diff changeset
16 $('body > :not(#mainContent)').css({display:'none'})
Edho Arief <me@nanaya.pro>
parents: 36
diff changeset
17 });
Edho Arief <me@nanaya.pro>
parents: 36
diff changeset
18 }).call(jQuery);