1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Twitterでトレンドを非表示にするブックマークレット

Last updated at Posted at 2022-05-11

不穏なトレンドで落ち込みたくない!

Twitterの右側に不穏なトレンドが多くてうんざり。
というときのためのブックマークレット作りました。
ポチポチクリックしないといけないけど👀

2022-05-11
Windows11, Google Chromeで使うことができます。

作り方

以下をブックマークレットに登録しましょう👀
特に変数使ったりもないので即時関数にはしなくても良いかな。

消しちゃいたい場合

removeしちゃいます。

javascript:document.querySelectorAll('[data-testid="sidebarColumn"]')[0].remove();

非表示でいっかなって場合

display="none"で非表示に。

javascript:document.querySelectorAll('[data-testid="sidebarColumn"]')[0].style.display="none";

ブックマークレットの登録の仕方

コチラ↓などを参考にされるといいと思います。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?