lbry-desktop/ui/page/home
infinite-persistence de29e323a8
Homepage-Following: insert instead of replace when ad-blocker is detected (#1092)
* Homepage-Following: insert instead of replace when ad-blocker is detected.

`window.odysee_ad_blocker_detected` was not meant to be used outside of `<Ads>`, since it wouldn't spark a GUI update. But since homepages are rendered several times, perhaps it doesn't matter and we can skip adding to redux for now.

* Handle uBlock origin

If refreshed via "Clear Cache and Hard Reload", the detection method fails, but it does perform an internal redirect, so treat that as a failure.
2022-03-14 14:25:51 -04:00
..
index.js Simplify ad-injection logic 2022-03-10 21:54:11 +08:00
view.jsx Homepage-Following: insert instead of replace when ad-blocker is detected (#1092) 2022-03-14 14:25:51 -04:00