DMM Kurofune

Log in to DMM

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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;";

})();