3 ms·
If you look at his script the blocking system lets you hide html elements with css, too hide the app store banner all you have to do is inspect element in chrom
by loueed 11y ago
If you look at his script the blocking system lets you hide html elements with css, too hide the app store banner all you have to do is inspect element in chrome, find the element id/class and set it to display none.
- deleted 11y ago[deleted]
- 0x0 11y agoApp banners are outside the DOM.
- soneil 11y agoI'd be curious to know if it's still possible to block them, however. The banner itself is outside the document, it's a UI element rendered by the client, similar to a toolbar on a desktop client. However, it's invoked by a head/meta element within the document, so it may still be possible (eg, when the document is parsed, this element is invoked, and the filter is invoked - which comes first?) Unfortunately there's enough random forums that offer me an app when I'm only visiting for a one-off google result, that I can see a genuine use-case for this.
- pmontra 11y agoYou need a proxy server that removes the meta tag for the app store from the HTML file.
- kalleboo 11y agoNo they're not <meta name="apple-itunes-app" content="app-id=XXX, affiliate-data=YYY" />
- andrethegiant 11y agoThe banner itself is rendered outside of the dom. The meta tag tells Safari to render the banner, which it does natively. If the banner was inside the dom we'd see divs and links and the like.