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

Favicon update + cleanup #46

Merged
merged 2 commits into from Feb 2, 2021
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

Remove Search Bar logic

  • Loading branch information
chrmod committed Feb 2, 2021
commit 5d0ce55ab2f8a1e5a3e714cfa9ab77c89179816e

This file was deleted.

@@ -30,11 +30,6 @@ global.ghostery = class extends ExtensionCommon.ExtensionAPI {

Services.search.defaultEngine = searchEngine;
},
query(windowId, query) {
const window = getWindow(windowId);
window.gURLBar.value = query || '';
window.gURLBar.focus();
},
isDefaultBrowser() {
const shell = Components.classes["@mozilla.org/browser/shell-service;1"]
.getService(Components.interfaces.nsIShellService)
@@ -29,20 +29,6 @@
"description": "Constant value"
}
},
{
"name": "query",
"type": "function",
"description": "Focus the UrlBar",
"parameters": [{
"type": "number",
"name": "windowId",
"optional": true
}, {
"type": "string",
"name": "query",
"optional": true
}]
},
{
"name": "isDefaultBrowser",
"type": "function",
@@ -26,8 +26,7 @@
"http://localhost/?*"
],
"js": [
"content/top-sites.js",
"content/search-bar.js"
"content/top-sites.js"
]
}, {
"matches": [
ProTip! Use n and p to navigate between commits in a pull request.