Bitcointalk Mobile

Improves readability on bitcointalk.org for mobile

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

Advertisement:

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

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;
            }





            `);
    })();