DMM_areapass

Unblock DMM area check

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        DMM_areapass
// @name:en     DMM_areapass
// @name:zh-TW  DMM_areapass
// @name:zh-CN  DMM_areapass 
// @namespace   9nice
// @match       *://*.dmm.com/*
// @match       *://*.dmm.co.j*/*
// @grant       none
// @version     3.3
// @author      9nice
// @description Unblock DMM area check
// @description:en Unblock DMM area check
// @description:zh-TW Unblock DMM area check
// @description:zh-CN Unblock DMM area check
// @supportURL   none
// @license      MIT
// ==/UserScript==

(function (){
  var Days = 365; //此 cookie 将被保存 365 天
  var exp  = new Date();//new Date("December 11, 1111");
  exp.setTime(exp.getTime() + Days*24*60*60*1000);

  document.cookie="ckcy_remedied_check=ec_mrnhbtk;path=/;domain=.dmm.com;expires="+ exp.toGMTString();
  document.cookie="ckcy=1;path=/;domain=.dmm.com;expires="+ exp.toGMTString();

  document.cookie="ckcy_remedied_check=ec_mrnhbtk;path=/;domain=.dmm.co.jp;expires="+ exp.toGMTString();
  document.cookie="ckcy=1;path=/;domain=.dmm.co.jp;expires="+ exp.toGMTString();

})();