Miniflux add more previous and next links

Adds another Next button to Miniflux UI that doesn't jump all over the place

当前为 2023-04-28 提交的版本,查看 最新版本

// ==UserScript==
// @name         Miniflux add more previous and next links
// @namespace    https://reader.miniflux.app/
// @version      1
// @description  Adds another Next button to Miniflux UI that doesn't jump all over the place
// @author       Tehhund
// @match        *://*.miniflux.app/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=miniflux.app
// @grant        none
// ==/UserScript==

const pagination = document.getElementsByClassName('pagination')[0].outerHTML;
document.getElementsByClassName('entry')[0].innerHTML = pagination + document.getElementsByClassName('entry')[0].innerHTML;

let bottomPagination = document.createElement('div');
bottomPagination.innerHTML = pagination;
bottomPagination.innerHTML = bottomPagination.firstChild.innerHTML;
bottomPagination.className += 'pagination';
bottomPagination.style.position = 'fixed';
bottomPagination.style.bottom = '0%';
bottomPagination.style.left = '.5%';
bottomPagination.style.width = '99%';

document.body.appendChild(bottomPagination)