blob: 3d10e6f56b41d6a93e8977075f6c9d6104217f1b (
plain)
1
2
3
4
5
6
7
8
9
10
|
//binds callbacks to an invisible webview to take in the search events
console.log('Binding Search');
var page = document.querySelector('#page');
var x = new MutationObserver(function(mutations) {
Frost.handleHtml(page.innerHTML);
});
x.observe(page, {
childList: true,
subtree: true
});
|