mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21 lines
442 B
HTML
21 lines
442 B
HTML
|
<!DOCTYPE html>
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function installEngine() {
|
||
|
var query = window.location.search.substring(1).split(":");
|
||
|
var func = query[0];
|
||
|
var args = JSON.parse(decodeURIComponent(query[1]));
|
||
|
|
||
|
if (func == "AddSearchProvider")
|
||
|
window.external.AddSearchProvider(...args);
|
||
|
else if (func == "addSearchEngine")
|
||
|
window.sidebar.addSearchEngine(...args);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="installEngine()">
|
||
|
</body>
|
||
|
</html>
|