linkedin-adblocker
linkedin-adblocker copied to clipboard
Instead of the `extension.js`, Use the `matches` attribute in `manifest.json`. More details can be seen in the [documentation](https://developer.chrome.com/docs/extensions/mv3/match_patterns/) One of the example usages is below: ```javascript "matches":["*://*.linkedin.com/*"] ```
hwo to acheive this in manifest version 3?
https://github.com/yakkomajuri/linkedin-adblocker/blob/master/extension.js#L11-L21 use the URL api to parse this... https://developer.mozilla.org/en-US/docs/Web/API/URL
I would suggest to do anything but display, the anti adblockers can check the style, and so I think the best option would be to use a direction, example: ```...