New script anitaku.pe

2024-09-14, 5:17:22 p.m.

目前為 2024-09-14 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        New script anitaku.pe
// @namespace   Violentmonkey Scripts
// @match       https://anitaku.pe/*
// @exclude     https://anitaku.pe/home.html
// @grant       none
// @version     2.0
// @author      -
// @description 2024-09-14, 5:17:22 p.m.
// @license GNU
// ==/UserScript==

document.getElementById('wrapper_inside').style.margin = '0';
document.getElementById('wrapper_inside').style.width = '100vw';

// Change properties of #wrapper
document.getElementById('wrapper').style.backgroundColor = '#1b1b1b';
document.getElementById('wrapper').style.float = 'left';
document.getElementById('wrapper').style.width = '100vw';
document.getElementById('wrapper').style.padding = '0 2vw 0 2vw';

// Change properties of section.content section.content_left
let contentLeft = document.querySelector('section.content section.content_left');
if (contentLeft) {
    contentLeft.style.float = 'left';
    contentLeft.style.width = '80vw';
}

// Shift ep selection above comments
let comments = document.getElementsByClassName('anime_video_body_comment');
let comments1 = comments[0];

let pane = document.getElementsByClassName('content_left');
let pane1 = pane[0];

pane1.append(comments1);