3 ms·
Facebook and Instagram ads. Impossible to block through CSS now as the CSS classes are dynamically generated + it's even hard to pick out sponsored posts using
by debesyla 4y ago
Facebook and Instagram ads. Impossible to block through CSS now as the CSS classes are dynamically generated + it's even hard to pick out sponsored posts using .js too.
- vntok 4y agoFrom js, simply find all <a> tags that have a url containing "utm_medium=paid". Once you get them, for each tag element go up parentElements until the parent is <div role="feed">. Then remove the child.
- splintercell 4y agoI am pretty sure that there is a team of engineers whose job is to office obfuscate ads on Instagram and Facebook.
- acheron 4y agoSurely these people can find something more beneficial to society to work on, such as selling heroin to middle schoolers.
- geraldwhen 4y agoMoney is money. Few of the jobs I’ve worked have had a positive impact on society.
- nonameiguess 4y agoJust block the entire feed and go directly to the profile pages of users you want updates from.