Desktop Mode - MAL

Forces MAL always be opened on Desktop View Mode.

目前為 2022-07-29 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Desktop Mode - MAL
// @namespace    https://gf.qytechs.cn/en/users/670188-hacker09?sort=daily_installs
// @version      2
// @description  Forces MAL always be opened on Desktop View Mode.
// @author       hacker09
// @match        https://myanimelist.net/*
// @icon         https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://myanimelist.net&size=64
// @run-at       document-start
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  if (document.cookie.match('view=pc') === '') //If the cookie wasn't already set
  { //Starts the if condition
    location.reload(); //Reloads the page
  } //Finishes the if condition
  document.cookie = 'view=pc;path=/;'; //Set the desktop mode cookie
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址