-
Notifications
You must be signed in to change notification settings - Fork 75
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 #779 from reportportal/develop
Release. Temporary disable Cookie pro scripts
- Loading branch information
Showing
2 changed files
with
31 additions
and
30 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1 +1 @@ | ||
* @AmsterGet @Vadim73i @pressayuliya | ||
* @AmsterGet @pressayuliya |
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 |
---|---|---|
@@ -1,34 +1,35 @@ | ||
export default function pluginCookiePro() { | ||
return { | ||
name: 'plugin-cookie-pro', | ||
injectHtmlTags() { | ||
return { | ||
headTags: [ | ||
{ | ||
tagName: 'script', | ||
attributes: { | ||
src: 'https://cookie-cdn.cookiepro.com/consent/77055ecd-ec2c-461a-bf1c-3e84d715e668/OtAutoBlock.js', | ||
defer: true, | ||
}, | ||
}, | ||
{ | ||
tagName: 'script', | ||
attributes: { | ||
src: 'https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js', | ||
defer: true, | ||
charset: 'UTF-8', | ||
'data-domain-script': '77055ecd-ec2c-461a-bf1c-3e84d715e668', | ||
}, | ||
}, | ||
{ | ||
tagName: 'script', | ||
innerHTML: `function OptanonWrapper() { }`, | ||
}, | ||
], | ||
}; | ||
}, | ||
getClientModules() { | ||
return ['./index.css']; | ||
}, | ||
// Temporary disable until the issue with content interactivity fixed | ||
// injectHtmlTags() { | ||
// return { | ||
// headTags: [ | ||
// { | ||
// tagName: 'script', | ||
// attributes: { | ||
// src: 'https://cookie-cdn.cookiepro.com/consent/77055ecd-ec2c-461a-bf1c-3e84d715e668/OtAutoBlock.js', | ||
// defer: true, | ||
// }, | ||
// }, | ||
// { | ||
// tagName: 'script', | ||
// attributes: { | ||
// src: 'https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js', | ||
// defer: true, | ||
// charset: 'UTF-8', | ||
// 'data-domain-script': '77055ecd-ec2c-461a-bf1c-3e84d715e668', | ||
// }, | ||
// }, | ||
// { | ||
// tagName: 'script', | ||
// innerHTML: `function OptanonWrapper() { }`, | ||
// }, | ||
// ], | ||
// }; | ||
// }, | ||
// getClientModules() { | ||
// return ['./index.css']; | ||
// }, | ||
}; | ||
} |