Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Hide promoted tweets and ads #3

Closed
sindresorhus opened this issue Dec 7, 2017 · 1 comment
Closed

Hide promoted tweets and ads #3

sindresorhus opened this issue Dec 7, 2017 · 1 comment

Comments

@sindresorhus
Copy link
Owner

I wanted to add this at launch, but I never encountered a promoted tweet or ad when developing, even with my ad-blocker disabled. If anyone encounters promoted tweets or ads, please dump the HTML into a Gist and comment the link here. Or even better, do a pull request implementing this.

@BlueHatbRit
Copy link

Here's the HTML of a promoted tweet, the easiest identifier seems to be in the bottom "context" class (line 261 onward).

https://gist.github.com/BlueHatbRit/75550d6af0195e3d84725d2c0c1fd6d5

If I have time this weekend I'll PR but if anyone gets to it sooner, feel free to jump on it 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants