feat(scripts): content performance improvements
This commit is contained in:
parent
5016b334a8
commit
9bd8fb83e8
@ -29,13 +29,14 @@ const hostname = document.location.hostname;
|
||||
* @description Is consent preview page?
|
||||
*/
|
||||
|
||||
const isPreview = hostname.startsWith("consent.");
|
||||
const isPreview =
|
||||
hostname.startsWith("consent.") || hostname.startsWith("myprivacy.");
|
||||
|
||||
/**
|
||||
* @description Options provided to observer
|
||||
*/
|
||||
|
||||
const options = { attributes: true, childList: true, subtree: true };
|
||||
const options = { childList: true, subtree: true };
|
||||
|
||||
/**
|
||||
* @description Selectors list
|
||||
|
Loading…
Reference in New Issue
Block a user