updated webtoon script for mobile

This commit is contained in:
Rudis Muiznieks 2023-07-01 15:40:40 -05:00
parent 3677839041
commit 397b884522
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 6 additions and 6 deletions

View File

@ -4,8 +4,7 @@
// @version 1.0 // @version 1.0
// @description Style Webtoons // @description Style Webtoons
// @author rudism // @author rudism
// @match https://webtoons.com/* // @match https://m.webtoons.com/*
// @match https://www.webtoons.com/*
// @grant none // @grant none
// @run-at document-end // @run-at document-end
// ==/UserScript== // ==/UserScript==
@ -22,10 +21,11 @@ function injectStyle(css) {
(function () { (function () {
'use strict'; 'use strict';
injectStyle(` injectStyle(`
.viewer_lst .viewer_img img._images { #_viewer {
max-width: 300px; height: auto !important;
min-width: 300px; }
#_viewer .flick-ct img {
width: 30%;
height: auto; height: auto;
border: 1px solid #ccc;
}`); }`);
})(); })();