您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Keeps all default settings; enables infinite scrolling, HLS, mp4 playback; disables sticky profile
当前为
- // ==UserScript==
- // @name Nitter Preference Tweaks: Infinite Scroll + HLS + mp4 + Non-sticky Profile
- // @description Keeps all default settings; enables infinite scrolling, HLS, mp4 playback; disables sticky profile
- // @match https://nitter.net/*
- // @grant none
- // @version 0.0.1.20250507064639
- // @namespace https://greasyfork.org/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: '/',
- theme: 'Nitter',
- infiniteScroll: 'on',
- stickyProfile: '', // unchecked
- bidiSupport: '',
- hideTweetStats: '',
- hideBanner: '',
- hidePins: '',
- hideReplies: '',
- squareAvatars: '',
- mp4Playback: 'on',
- hlsPlayback: 'on',
- proxyVideos: 'on',
- muteVideos: '',
- autoplayGifs: 'on',
- replaceTwitter: 'nitter.net',
- replaceYouTube: 'piped.video',
- replaceReddit: 'teddit.net'
- })
- }).then(() => {
- sessionStorage.setItem('nitterPrefsSet', 'true');
- });
- })();