Merge pull request #4371 from brave/revert-3978-google-mic

Revert "Hide google microphone from https://github.com/brave/brave-browser/issues/2690"
This commit is contained in:
Brian R. Bondy
2020-01-14 13:29:14 -05:00
committed by GitHub
2 changed files with 0 additions and 17 deletions
@@ -1,10 +0,0 @@
// Stop the google mic from showing up.
// https://github.com/brave/brave-browser/issues/2690
var selection = document.querySelector('[aria-label="Search by voice"]')!== null;
if (selection) {
document.querySelector('[aria-label="Search by voice"]').style.visibility = 'hidden';
} else {
console.warn('The element aria-label does not exist in the page.');
}
@@ -75,13 +75,6 @@
"js": [
"assets/siteHack-glennbeck.com.js"
]
}, {
"run_at": "document_start",
"all_frames": true,
"matches": ["https://www.google.*"],
"js": [
"assets/siteHack-googlemic.js"
]
}
],
"permissions": [ "contentSettings", "settingsPrivate", "management", "tabs", "storage", "webNavigation", "contextMenus", "cookies", "*://*/*", "chrome://favicon/*" ],