您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the Explore and Reels button on Instagram (supports German and English language settings)
// ==UserScript== // @name Instagram Explore and Reels Button Remover (German and English) // @namespace http://tampermonkey.net/ // @version 0.1 // @description Removes the Explore and Reels button on Instagram (supports German and English language settings) // @author You // @match https://www.instagram.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; const observer = new MutationObserver((mutations) => { const exploreButtonGerman = document.querySelector('svg[aria-label="Entdecken"]'); const exploreButtonEnglish = document.querySelector('svg[aria-label="Explore"]'); const exploreButton = exploreButtonGerman || exploreButtonEnglish; if (exploreButton) { exploreButton.parentElement.parentElement.parentElement.parentElement.parentElement.style.display = 'none'; } const reelsButton = document.querySelector('svg[aria-label="Reels"]'); if (reelsButton) { reelsButton.parentElement.parentElement.parentElement.parentElement.parentElement.style.display = 'none'; } }); observer.observe(document.body, { childList: true, subtree: true }); })();