diff cuffs-hulotte-popup.user.js @ 47:bc45afe111d8

Das cute
author nanaya <me@nanaya.pro>
date Thu, 24 Aug 2017 20:57:01 +0900
parents c20e3e6b0a3f
children 09f735548b2c
line wrap: on
line diff
--- a/cuffs-hulotte-popup.user.js	Thu Aug 24 20:51:06 2017 +0900
+++ b/cuffs-hulotte-popup.user.js	Thu Aug 24 20:57:01 2017 +0900
@@ -1,7 +1,7 @@
 // ==UserScript==
 // @name         Cuffs/Hulotte tuning
 // @namespace    https://myconan.net
-// @version      1.1.1
+// @version      1.1.2
 // @description  Strip out Cuffs/Hulotte age confirmation popup, disables lightbox
 // @author       nanaya
 // @match        http://www.cuffs.co.jp/*
@@ -36,4 +36,10 @@
     $(function () {
         $('.cboxElement').removeClass('cboxElement');
     });
+
+    // force remove modal
+    $.cookie('modal', 'off');
+    if (typeof stopload === 'function') {
+        stopload();
+    }
 }).call();