Greasy Fork is available in English.

DMM_areapass

Unblock DMM area check

  1. // ==UserScript==
  2. // @name DMM_areapass
  3. // @name:en DMM_areapass
  4. // @name:zh-TW DMM_areapass
  5. // @name:zh-CN DMM_areapass
  6. // @namespace 9nice
  7. // @match *://*.dmm.com/*
  8. // @match *://*.dmm.co.j*/*
  9. // @grant none
  10. // @version 3.3
  11. // @author 9nice
  12. // @description Unblock DMM area check
  13. // @description:en Unblock DMM area check
  14. // @description:zh-TW Unblock DMM area check
  15. // @description:zh-CN Unblock DMM area check
  16. // @supportURL none
  17. // @license MIT
  18. // ==/UserScript==
  19.  
  20. (function (){
  21. var Days = 365; //此 cookie 将被保存 365 天
  22. var exp = new Date();//new Date("December 11, 1111");
  23. exp.setTime(exp.getTime() + Days*24*60*60*1000);
  24.  
  25. document.cookie="ckcy_remedied_check=ec_mrnhbtk;path=/;domain=.dmm.com;expires="+ exp.toGMTString();
  26. document.cookie="ckcy=1;path=/;domain=.dmm.com;expires="+ exp.toGMTString();
  27.  
  28. document.cookie="ckcy_remedied_check=ec_mrnhbtk;path=/;domain=.dmm.co.jp;expires="+ exp.toGMTString();
  29. document.cookie="ckcy=1;path=/;domain=.dmm.co.jp;expires="+ exp.toGMTString();
  30.  
  31. })();