您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Скрытие списка серий
当前为
// ==UserScript== // @name Hidden list menu wakanim.xyz (https://nekomori.ch player) // @namespace http://tampermonkey.net/ // @version 0.2.7.2 // @description Скрытие списка серий // @author Pin240 // @match https://wakanim.xyz/cdn/* // @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js // @grant GM_addStyle // @compatible chrome Only with Tampermonkey or Violentmonkey. Только с Tampermonkey или Violentmonkey. // @compatible Kiwi (for Android 10) Violentmonkey. // @compatible opera Only with Violentmonkey. Только с Violentmonkey. // @run-at document-end // ==/UserScript== (function(){ 'use strict'; document.body.insertAdjacentHTML('beforeend', ` <style> .title{ color: #000; font-family: Roboto, sans-serif; margin: 0; display: flex; visibility: hidden; padding: 18px 14px 18px 16px; font-weight: lighter; } .link.selected, .link:hover{ background: #093a03; } body { color: #eee; background: #000000; font-family: Roboto, sans-serif; } .abc125 {position: relative;} .abc124 { float: left; position: absolute; transform: scale(1.7); transform-origin: right bottom; } .abc121 { position: absolute; float: right; left: 3em; transform: scale(1.7); transform-origin: right bottom; } .abc125 { z-index: 100; color: #de6108; bottom: 98vh; left: 2em; transform: scale(0.7); transform-origin: right bottom; } @media only screen and (max-width: 780px){ .columns{ flex-direction: column; align-items: center; padding: 0; } .abc125 { z-index: 100; color: #de6108; position: absolute; bottom: 98vh; left: 1em; } body{transform: scale(0.9);} } .column-right{display: none;} .column-left{ flex-flow: column; } .header{ background: #202020; max-height: 56px; justify-content: space-between; position: absolute; width: 100vw; top: 0; z-index: 1;} .iframe-holder { width: 100%; } .buttons{ display: inline-flex; } </style> <p><label class="abc125"><input type="checkbox" id="checkbox_check" class="abc124"><span class="abc121">Меню</span></label></p> `); //проверка состаяния const checkbox = document.querySelector('.abc124'); checkbox.addEventListener('change', function () { if ( this.checked ) { $( '.column-right' ).fadeIn( "slow" ); } else $('.column-right').hide( "slow" ); }) })();