DMM Kurofune

Log in to DMM

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 or Violentmonkey 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 Kurofune
// @namespace    https://greasyfork.org/zh-TW/users/1338298-jeff-huang
// @version      2025-03-08_17h36m
// @description  Log in to DMM
// @author       hangjeff
// @match        https://*.dmm.co.jp/*
// @match        https://*.dmm.com/*
// @require      https://code.jquery.com/jquery-3.7.1.slim.min.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    const Target_Name = 'ckcy_remedied_check';

    let expires = new Date();

    expires.setFullYear(expires.getFullYear() + 100); // 100 years later
    console.log("Expires: " + expires.toUTCString());

    document.cookie = Target_Name + "=" + "ec_mrnhbtk" + "; expires=" + expires.toUTCString() + "; path=/; domain=.dmm.com; secure;";
    document.cookie = Target_Name + "=" + "ec_mrnhbtk" + "; expires=" + expires.toUTCString() + "; path=/; domain=.dmm.co.jp; secure;";

})();