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

Better Ghostery Search integration #33

Merged
merged 3 commits into from Dec 2, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Prev

fixes

  • Loading branch information
chrmod committed Dec 2, 2020
commit dcbdb5982d7c0fd6dcf2055cb7272ddc0a8755c9
@@ -114,7 +114,7 @@ async function start() {
};
}, { urls: [`${SERP_BASE_URL}/search*`]}, ["blocking", "requestHeaders"]);

browser.webRequest.onBeforeSendHeaders.addListener(async (details) => {
browser.webRequest.onBeforeSendHeaders.addListener((details) => {
const { requestHeaders } = details;

requestHeaders.push({
@@ -1,4 +1,4 @@
let DEBUG = true;
let DEBUG = false;
const STAGING_BASE_URL = 'https://staging.ghosterysearch.com';
const PROD_BASE_URL = 'https://ghosterysearch.com';
const STAGING_AUTH_DOMAIN = '.ghosterystage.com';
ProTip! Use n and p to navigate between commits in a pull request.