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

Unnecessary Javascript could be done with CSS #2

Closed
ngyikp opened this issue Aug 20, 2014 · 1 comment
Closed

Unnecessary Javascript could be done with CSS #2

ngyikp opened this issue Aug 20, 2014 · 1 comment

Comments

@ngyikp
Copy link

ngyikp commented Aug 20, 2014

Instead of bundling jQuery and running Javascript every 0.1 seconds just to hide like notifications, it could be done with this CSS:

._33c[data-gt*='"notif_type":"like"'] {display:none !important;}
zerobase added a commit that referenced this issue Aug 28, 2014
…ne with CSS · Issue #2 · zerobase/fb_hide_like_notifs](#2)
@zerobase
Copy link
Owner

@ngyikp oh, great! It worked (6f0a826). Thanks!

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

No branches or pull requests

2 participants