Greasy Fork 还支持 简体中文。

Twitter Show Sensitive Content

No more extra click to show a stupid tweets!

目前為 2022-02-08 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
rigid_function
評價
0 0 0
版本
0.3
建立日期
2021-12-27
更新日期
2022-02-08
尺寸
4.7 KB
授權條款
GPL
腳本執行於

Removes the annoying "The following media includes potentially sensitive content." warning on Twitter

(Also known as "Twitter Show Hidden Content")

Note: I tried to make it reliable as possible. No guarantee this will always work


Firefox: Please, before saying "it doesn't work".

Verify if your userscript manager is executing in the page. Twitter uses a CSP (Content Security Policy) in the header that tells your browser to prevent "insecure" inline code injections. This is bad for you because prevents extensions from working.

Workarounds (Tampermonkey & Greasemonkey)

Violentmonkey works as intented

Source (https://github.com/Tampermonkey/tampermonkey/issues/952#issuecomment-638373937):

  1. Switch to Tampermonkey beta branch
  2. Change security settings to allow Tampermonkey to modify CSP

Or try:

  • Disabling FastForward/Universsal Bypass(unmaintained) extension
  • Try in a new profile (about:profiles)
  • Restore Tampermonkey ?
  • (bad idea) Setting dom.caches.enabled to false
  • (dangerous) Setting security.csp.enable to false. **But that's a really bad idea!!!
  • Chromium base browser

More info:

Tampermonkey issues:

Bugzilla issue trackers: