mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 15:27:30 +09:00
Issue #517 Part 1: Import newtab page from Basilisk (sans directory service provider module)
This commit is contained in:
parent
a179019413
commit
48cdeab201
20 changed files with 4821 additions and 314 deletions
13
application/palemoon/base/content/newtab/search.js
Normal file
13
application/palemoon/base/content/newtab/search.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifdef 0
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#endif
|
||||
|
||||
var gSearch = {
|
||||
init: function () {
|
||||
document.getElementById("newtab-search-submit")
|
||||
.addEventListener("click", e => this._contentSearchController.search(e));
|
||||
let textbox = document.getElementById("newtab-search-text");
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue