- Security popover redesigned to resemble Firefox's site-info panel: lock/shield hero, "Connection secure" status, host, plain-language subtitle, and a details grid; the overlay view auto-sizes to content. - Search-engine picker returned to the toolbar with an "Add / edit engines…" entry that opens Settings; added Ecosia, Mojeek, Presearch. - Custom search engines: add (name + URL template with %s) / remove in Settings > General; used by address-bar search. - Address-bar placeholder: "Ask a search engine or enter web address".
6 lines
282 B
JavaScript
6 lines
282 B
JavaScript
const { contextBridge, ipcRenderer } = require("electron");
|
|
contextBridge.exposeInMainWorld("pop", {
|
|
onData: (cb) => ipcRenderer.on("site-info", (_e, d) => cb(d)),
|
|
close: () => ipcRenderer.invoke("close-site-info"),
|
|
resize: (h) => ipcRenderer.invoke("popover-resize", h),
|
|
});
|