Mega.nz Dark Reader Grid

Fixes the grid that is produced by dark reader extension

// ==UserScript==
// @name         Mega.nz Dark Reader Grid
// @namespace    https://greasyfork.dpdns.org/en/users/689482-quin15
// @version      0.1
// @description  Fixes the grid that is produced by dark reader extension
// @author       Quin15
// @match        https://mega.nz/*
// @grant        none
// ==/UserScript==

var styles = `.files-grid-view.fm .grid-scrolling-table, .files-grid-view.fm .grid-table, .files-grid-view.fm .grid-scrolling-table .jspPane, .transfer-scrolling-table, .transfer-scrolling-table .jspPane {
	background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Слой_1' xmlns:sketch='http://www.bohemiancoding.com/sketch/ns' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='1px' height='48px' viewBox='-305 373 1 48' enable-background='new -305 373 1 48' xml:space='preserve'%3E%3Ctitle%3EUntitled%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cpath id='Fill-50' sketch:type='MSShapeGroup' fill='%23181a1b' enable-background='new ' d='M-305,397h1v24h-1V397z'/%3E%3Cpath id='Fill-50_1_' sketch:type='MSShapeGroup' fill='%23212121' d='M-305,373h1v24h-1V373z'/%3E%3C/svg%3E") !important;
}`
var styleSheet = document.createElement("style");
styleSheet.type = "text/css";
styleSheet.innerText = styles;
document.head.appendChild(styleSheet);
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元