Hacker News new | ask | show | jobs
by zukerpie 976 days ago
Added a quick domain check to avoid the issue that you've mentioned :)
1 comments

I believe you could use a sub tree mutation observer instead of polling.
Yes, definitely use mutation observers. Far faster to react and doesn't require polling, they're better in essentially every way when things aren't changing many times per second.