Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poc: drop rollup #592

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ packages/special-pages/test-results/
/playwright-report
/test-results
src/types
build_bak/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules/
.env
.build/
build/
build_bak/
docs/
test-results/
playwright-report/
Expand Down
4 changes: 2 additions & 2 deletions inject/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
import { isTrackerOrigin } from '../src/trackers'
import { computeLimitedSiteObject } from '../src/utils'
import contentScopeFeatures from 'ddg:contentScopeFeatures'

/**
* Inject all the overwrites into the page.
Expand Down Expand Up @@ -50,8 +51,7 @@ function init () {
const reusableMethodName = '_rm' + randomString()
const reusableSecret = '_r' + randomString()
const siteObject = computeLimitedSiteObject()
const initialScript = `
/* global contentScopeFeatures */
const initialScript = contentScopeFeatures + `
contentScopeFeatures.load({
platform: {
name: 'extension'
Expand Down
Loading
Loading