Nitter Minimal Prefs: Infinite Scroll + HLS

Enables infinite scrolling and HLS playback; disables sticky profile

目前为 2025-04-29 提交的版本。查看 最新版本

// ==UserScript==
// @name         Nitter Minimal Prefs: Infinite Scroll + HLS
// @description  Enables infinite scrolling and HLS playback; disables sticky profile
// @match        https://nitter.net/*
// @grant        none
// @version 0.0.1.20250429143446
// @namespace https://gf.qytechs.cn/users/1435046
// ==/UserScript==

(function() {
    if (sessionStorage.getItem('nitterPrefsSet')) return;

    fetch('https://nitter.net/saveprefs', {
        method: 'POST',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        body: new URLSearchParams({
            referer: '/',
            infiniteScroll: 'on',
            hlsPlayback: 'on'
            // Exclude stickyProfile to disable it
        })
    }).then(() => {
        sessionStorage.setItem('nitterPrefsSet', 'true');
    });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址