redditp mobile friendly

better buttons

目前為 2024-10-22 提交的版本,檢視 最新版本

// ==UserScript==
// @name         redditp mobile friendly
// @namespace    http://tampermonkey.net/
// @version      2024-10-22
// @description  better buttons
// @author       You
// @match        https://redditp.com/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    for (const id of ['prevButton', 'nextButton']) {
        const button = document.getElementById(id);
        if (button) {
            button.style.height = "100%";
            button.style.width = "50%";
            button.style.opacity = "0";
            button.style.top = "0px";
        }
    }
})();