🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Twitter Show Sensitive Content

No more extra click to show stupid tweets!

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
rigid_function
Denně instalací
1
Celkem instalací
5.832
Hodnocení
5 1 1
Verze
0.3.6
Vytvořeno
27. 12. 2021
Aktualizováno
27. 12. 2022
Size
5,8 KB
Licence
GPL
Spustit na

Not working with the new Account Required elements! (No API response without Account)

Is there a Workaround? Yes. You can use Nitter instances which server is outside of the affected restricted regions (eg. Netherlands) but, for the rest of the regions, it's in the same boat as the average non logged user :(


Normal "Click to see" elements with buttons are still working

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 as reliable as possible. No guarantee this will always work


Firefox: Please, before saying "it doesn't work". (this doesn't apply to Chromium)

Verify if your user script manager is executing on 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.

No Workarounds: Greasemonkey & Violentmonkey

Workarounds: Tampermonkey

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: