DMM_areapass

Unblock DMM area check

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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();

})();