Skip to content

Commit

Permalink
add gemius and matomo as scriptlets, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Mar 13, 2024
1 parent 466c927 commit 47c9b66
Show file tree
Hide file tree
Showing 20 changed files with 80 additions and 31 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -19,11 +19,13 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
- `didomi-loader`
- `fingerprintjs2`
- `fingerprintjs3`
- `gemius`
- `google-analytics`
- `google-analytics-ga`
- `google-ima3`
- `googlesyndication-adsbygoogle`
- `googletagservices-gpt`
- `matomo`
- `metrika-yandex-tag`
- `metrika-yandex-watch`
- `naver-wcslog`
Expand Down
68 changes: 37 additions & 31 deletions scripts/compatibility-table.json
Expand Up @@ -51,57 +51,39 @@
"adg": "didomi-loader"
},
{
"adg": "fingerprintjs2"
},
{
"adg": "fingerprintjs3"
},
{
"adg": "google-analytics"
},
{
"adg": "google-analytics-ga"
},
{
"adg": "google-ima3"
},
{
"adg": "googlesyndication-adsbygoogle"
},
{
"adg": "googletagservices-gpt"
"adg": "dir-string"
},
{
"adg": "metrika-yandex-watch"
"adg": "disable-newtab-links",
"ubo": "disable-newtab-links.js"
},
{
"adg": "metrika-yandex-tag"
"adg": "evaldata-prune",
"ubo": "evaldata-prune.js"
},
{
"adg": "naver-wcslog"
"adg": "fingerprintjs2"
},
{
"adg": "no-protected-audience"
"adg": "fingerprintjs3"
},
{
"adg": "pardot-1.0"
"adg": "gemius"
},
{
"adg": "prebid"
"adg": "google-analytics"
},
{
"adg": "scorecardresearch-beacon"
"adg": "google-analytics-ga"
},
{
"adg": "dir-string"
"adg": "google-ima3"
},
{
"adg": "disable-newtab-links",
"ubo": "disable-newtab-links.js"
"adg": "googlesyndication-adsbygoogle"
},
{
"adg": "evaldata-prune",
"ubo": "evaldata-prune.js"
"adg": "googletagservices-gpt"
},
{
"adg": "json-prune",
Expand All @@ -126,16 +108,37 @@
"adg": "m3u-prune",
"ubo": "m3u-prune.js"
},
{
"adg": "matomo"
},
{
"adg": "metrika-yandex-watch"
},
{
"adg": "metrika-yandex-tag"
},
{
"adg": "naver-wcslog"
},
{
"adg": "noeval"
},
{
"adg": "nowebrtc",
"ubo": "nowebrtc.js"
},
{
"adg": "no-protected-audience"
},
{
"adg": "no-topics"
},
{
"adg": "pardot-1.0"
},
{
"adg": "prebid"
},
{
"adg": "prevent-addEventListener",
"ubo": "addEventListener-defuser.js (aeld.js, prevent-addEventListener.js)",
Expand Down Expand Up @@ -206,6 +209,9 @@
"adg": "remove-node-text",
"ubo": "remove-node-text.js (rmnt.js)"
},
{
"adg": "scorecardresearch-beacon"
},
{
"adg": "set-attr",
"ubo": "set-attr.js"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions src/scriptlets/gemius.ts
@@ -0,0 +1,18 @@
import { Gemius } from '../redirects/gemius';

/**
* @scriptlet gemius
*
* @description
* Mocks Gemius Analytics.
* https://flowplayer.com/developers/plugins/gemius
*
* ### Examples
*
* ```adblock
* example.org#%#//scriptlet('gemius')
* ```
*
* @added unknown.
*/
export { Gemius };
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions src/scriptlets/matomo.ts
@@ -0,0 +1,17 @@
import { Matomo } from '../redirects/matomo';

/**
* @scriptlet matomo
*
* @description
* Mocks the piwik.js file of Matomo (formerly Piwik).
*
* ### Examples
*
* ```adblock
* example.org#%#//scriptlet('matomo')
* ```
*
* @added unknown.
*/
export { Matomo };
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions src/scriptlets/scriptlets-list.js
Expand Up @@ -74,10 +74,16 @@ export * from './amazon-apstag';
export * from './didomi-loader';
export * from './fingerprintjs2';
export * from './fingerprintjs3';
export * from './gemius';
export * from './google-analytics';
export * from './google-analytics-ga';
export * from './google-ima3';
export * from './googlesyndication-adsbygoogle';
export * from './googletagservices-gpt';
export * from './matomo';
export * from './metrika-yandex-tag';
export * from './metrika-yandex-watch';
export * from './naver-wcslog';
export * from './pardot-1.0';
export * from './prebid';
export * from './scorecardresearch-beacon';

0 comments on commit 47c9b66

Please sign in to comment.