Rename ElemHideExceptions to elemHideExceptions
Background
Similar to #44 (closed) but for lib/elemHideExceptions.js
What to change
In lib/elemHideExceptions.js
, rename ElemHideExceptions
to elemHideExceptions
and move the implementation into an ES2015 class ElemHideExceptions
.
Integration notes
None.
Hints for testers
Make sure element hiding exceptions are working as expected. For example, given the filters ##.ad
and example.com#@#.ad
and the document <!DOCTYPE html><html><body><div class="ad">Ad</body></html>
, the element with class ad
should be hidden if the document is loaded from any domain other than example.com
or one of its subdomains.