-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #566 from d45/d45/cookieMon
@gus W-17274770 add cookie manager and links
- Loading branch information
Showing
2 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment'; | ||
|
||
if (ExecutionEnvironment.canUseDOM) { | ||
|
||
// OptanonConsentNoticeStart | ||
|
||
const script = document.createElement('script'); | ||
|
||
script.src = 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js'; | ||
script.type = 'text/javascript'; | ||
script.setAttribute('data-domain-script', '019321c1-4b7e-7313-9372-ddbd938f50ea') | ||
script.innerHTML="function OptanonWrapper() { }"; | ||
|
||
document.getElementsByTagName('head')[0].appendChild(script); | ||
|
||
// OptanonConsentNoticeStart --> | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters