Fixes All Manga's abominably awful manga reader.
All Manga Minified by hyper
Details
Authorhyper
LicenseMIT-0
Categoryallmanga
Created
Updated
Size3.5 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
It's unfortunately necessary that you manually set the "Viewer Mode" to "Right to Left" before enabling this UserStyle.
Changelog
Release 1.0.0
- Initial release
Source code
/*
* MIT No Attribution
*
* Copyright (c) 2024 Hyper
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* ==UserStyle==
@name All Manga Minified
@namespace userstyles.world/user/hyper
@version 1.0.0
@description Fixes All Manga's abominably awful manga reader.
@author Hyper
@license MIT-0
@homepageURL https://userstyles.world/style/18316
==/UserStyle== */
@-moz-document url-prefix("https://allmanga.to/read/"), regexp("^https:\\/\\/youtu-chan\\.com\\/custom-[^/]+\\/lobbin-[^/]+$") {
/* All Manga */
/* Hide Everything */
html > body {
* {
visibility: hidden !important;
max-height: 0 !important;
min-height: unset !important;
}
/* Make Page Background Black */
background-color: black;
}
/* Selectively Unhide Manga Reader */
div#pictureViewer {
visibility: visible !important;
position: absolute !important;
top: 0;
left: 0;
width: 100%;
* {
visibility: visible !important;
/* max-height: calc(100vh - (12px + (0.25em * 2))) !important; */
max-height: 100vh !important;
}
/* Dim Pages to Enhance Readability */
img {
opacity: 0.8;
}
}
/* Selectively Unhide Chapter Nav Buttons */
/* div#app > div:last-of-type > main > div:first-of-type > div.container:last-of-type > div:nth-of-type(2) { */
/* div#app > div:last-of-type > main > div:first-of-type > div.container:last-of-type > div:not(#adsGInline):first-of-type { */
div#app > div:last-of-type > main > div:first-of-type {
> div.container > div.d-flex.my-3.justify-content-between {
visibility: visible !important;
max-height: unset !important;
position: absolute;
width: calc(100% - (1rem) * 2);
/* top: 0; */
left: 0;
margin: 0 1rem 0;
flex-direction: row-reverse;
* {
visibility: visible !important;
max-height: unset !important;
}
/* Fix Top Buttons */
button {
z-index: 9999;
}
}
/* Separate Top and Bottom Buttons */
> div.container:first-of-type > div.d-flex.my-3.justify-content-between {
top: 0;
}
> div.container:last-of-type > div.d-flex.my-3.justify-content-between {
bottom: 0;
}
}
/* Dispose of Ad Containers */
div#adsGInArticleWrapper,
div#adsGInline {
display: none !important;
}
}