changeset 36:11568ae07bf5

(none)
author Edho Arief <me@nanaya.pro>
date Thu, 20 Jul 2017 08:43:51 +0000
parents 32a213717e6a
children 300b54b0c956
files cuffs-hulotte-popup.user.js
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cuffs-hulotte-popup.user.js	Thu Jul 20 08:43:51 2017 +0000
@@ -0,0 +1,20 @@
+// ==UserScript==
+// @name         Cuffs/Hulotte popup disable
+// @namespace    https://myconan.net
+// @version      1.0.0
+// @description  Strip out Cuffs/Hulotte age confirmation popup
+// @author       nanaya
+// @match        http://www.cuffs.co.jp/*
+// @match        http://hulotte.jp/*
+// @grant        none
+// @downloadURL  https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/cuffs-hulotte-popup.user.js
+// ==/UserScript==
+
+;(function() {
+  "use strict";
+  var elements = document.querySelectorAll('body > #load_bg, body > .modal');
+  
+  for (var i = 0; i < elements.length; i++) {
+    elements.style.display = 'none';
+  }
+}).call();
\ No newline at end of file