Skip to content

Commit

Permalink
Delete redplanet
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-imber committed Jun 5, 2024
1 parent 15fdb02 commit 4288879
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 274 deletions.
23 changes: 0 additions & 23 deletions src/core/__vendor/launchpad.js

This file was deleted.

1 change: 0 additions & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,5 @@ export type { PageTargeting } from './targeting/build-page-targeting';
/* -- Vendor JavaScript -- */
export { a9Apstag } from './__vendor/a9-apstag';
export { ipsosMoriStub } from './__vendor/ipsos-mori';
export { launchpad } from './__vendor/launchpad';
export { pubmatic } from './__vendor/pubmatic';
export { buildImaAdTagUrl } from './targeting/youtube-ima';
2 changes: 0 additions & 2 deletions src/init/consented.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { init as prepareA9 } from 'init/consented/prepare-a9';
import { init as prepareGoogletag } from 'init/consented/prepare-googletag';
import { initPermutive } from 'init/consented/prepare-permutive';
import { init as preparePrebid } from 'init/consented/prepare-prebid';
import { init as initRedplanet } from 'init/consented/redplanet';
import { removeDisabledSlots as closeDisabledSlots } from 'init/consented/remove-slots';
import { initTeadsCookieless } from 'init/consented/teads-cookieless';
import { init as initThirdPartyTags } from 'init/consented/third-party-tags';
Expand Down Expand Up @@ -65,7 +64,6 @@ if (!commercialFeatures.adFree) {
commercialExtraModules.push(
['cm-prepare-adverification', prepareAdVerification],
['cm-thirdPartyTags', initThirdPartyTags],
['cm-redplanet', initRedplanet],
);
}

Expand Down
163 changes: 0 additions & 163 deletions src/init/consented/redplanet.spec.ts

This file was deleted.

77 changes: 0 additions & 77 deletions src/init/consented/redplanet.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/lib/commercial-features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class CommercialFeatures {
liveblogAdverts: boolean;
adFree: boolean;
comscore: boolean;
launchpad: boolean;
youtubeAdvertising: boolean;
footballFixturesAdverts: boolean;

Expand Down Expand Up @@ -177,13 +176,6 @@ class CommercialFeatures {
!isIdentityPage &&
!this.isSecureContact;

this.launchpad =
!this.adFree &&
externalAdvertising &&
!isIdentityPage &&
!this.isSecureContact &&
!!window.guardian.config.switches.redplanetForAus;

this.commentAdverts =
this.shouldLoadGoogletag &&
!this.adFree &&
Expand Down

0 comments on commit 4288879

Please sign in to comment.