Hacker News new | ask | show | jobs
by Mathnerd314 2396 days ago
The extension code is minified but AFAICT it's just injecting some CSS sheets, primarily element hiding rules with display:none but also some spacing fixes. E.g. the Facebook one is

    [data-testid="fbFeedStoryUFI/feedbackSummary"] {
        display: none
    }
It's not clear why the developer chose to inject the stylesheets dynamically and magnify the footprint 10x by including a polyfill library, rather than using the manifest to specify them declaratively, but whatever.
1 comments

To satisfy your curiosity: The reason I don't inject the stylesheets declaratively is because you can't disable them and I wanted to give people a way to toggle the hiding functionality.