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:
@@ -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/*" ],
|
||||
|
||||
Reference in New Issue
Block a user