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

top sites for all

  • Loading branch information
chrmod committed Dec 2, 2020
commit 63f8bf5c30e0356496aaab150c142c3f2929a111
@@ -143,9 +143,6 @@ async function start() {

browser.runtime.onMessage.addListener(async ({ action, args }, { tab }) => {
if (action === 'getTopSites') {
if (browser.ghostery.getPref('app.update.channel') === 'release') {
return;
}
return (await browser.topSites.get({
newtab: true,
includeFavicon: true,
@@ -1,4 +1,4 @@
let DEBUG = false;
let DEBUG = true;
This conversation was marked as resolved by chrmod

This comment has been minimized.

@remusao

remusao Dec 2, 2020

Should this be false?

Suggested change
let DEBUG = true;
let DEBUG = false;

This comment has been minimized.

@chrmod

chrmod Dec 2, 2020
Author Member

👍🏻

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.