Bitcointalk Mobile

Improves readability on bitcointalk.org for mobile

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Advertisement:

// ==UserScript==
// @name         Bitcointalk Mobile
// @namespace    https://bitcointalk.org
// @version      1.1
// @description  Improves readability on bitcointalk.org for mobile
// @author       Royal Cap
// @match        https://bitcointalk.org/*
// @grant        GM_addStyle
// @run-at 	 document-start
// @license MIT
// ==/UserScript==

(function () {
        'use strict';

        GM_addStyle(` html, body {
                width: 100% !important;
                max-width: 100vw !important;
                overflow-x: hidden !important;
                margin: 0 !important;
                padding: 5px !important;
            }

            @media screen and (max-width: 768px) {
                head {
                    display: contents;
                }

                head::before {
                    content: '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">';
                }
            }

            body, p, div, span, a {
                font-size: 108% !important;
                line-height: 1.2 !important;
            }

            a:link, a:visited {
                text-decoration: underline !important;
            }

            a:hover {
                text-decoration: none !important;
            }


            .post h4, .post h5 {
                font-size: 22px !important;
                font-weight: bold !important;
            }

            .smalltext, .quote, .code {
                font-size: 25px !important;
            }

            .quote, .code {
                border: 1px solid #ccc !important;
                padding: 5px !important;
            }

            table {
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }

            td {
                word-wrap: break-word !important;
                max-width: 100% !important;
            }

            img {
                max-width: 100% !important;
                height: auto !important;
            }

            .nav, #header, #footer {
                font-size: 20px !important;
                width: 100% !important;
            }

            input, textarea, select {
                border: 1px solid #aaa !important;
                padding-right: 35px !important;
            }

            textarea {
                font-size: 100%;
                font-family: verdana, sans-serif;
                width: 60% !important;
            }

            .reply_button, .windowbg {
                vertical-align: middle;
                width: 10%;
            }

            .nav, .nav:link, .nav:visited {
                color: #000000;
                text-decoration: none;
                font-size: 115% !important;
            }


            span.prevnext a:link {
                font-size: 500% !important;
            }

            a:link {
                font-size: 22px !important;
            }


            .post {
                font-size: 27px !important;
            }





            `);
    })();