SV Remove Search bar

here's a quick and dirty userscript to remove the search sidebar on sufficientvelocity and try to make it look like it did before

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name        SV Remove Search bar
// @description here's a quick and dirty userscript to remove the search sidebar on sufficientvelocity and try to make it look like it did before
// @license MIT
// @namespace   Violentmonkey Scripts
// @match       *://forums.sufficientvelocity.com/forums/*
// @noframes
// @require  https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
 // @require https://greasyfork.org/scripts/383527-wait-for-key-elements/code/Wait_for_key_elements.js?version=701631
// @grant       GM_addStyle
// @grant       GM.getValue
// @version     1.0
// @author      fame
// @description 10/13/2022, 6:27:41 PM
/* global $, waitForKeyElements */
// ==/UserScript==

waitForKeyElements(".p-body-sidebar", removeNode);
waitForKeyElements(".p-body-sidebarCol", removeNode);
waitForKeyElements(".p-body-main--withSidebar ", changeNode);

function removeNode (jNode) {
  jNode.remove ();
}

function changeNode (jNode) {
  jNode.attr ("class", "p-body-main")
}