How would you detect if something is a cookie dialog in a standardized way? It's pretty much impossible as all of them are custom code with different layouts / selectors / sequence of actions you need to take to opt out.
Seems very odd.
The source code can be extracted from the extension file itself.
That said, it makes an ABP-compatible filter list available. This works with ublock origin: