6a2949be8a
Remove Zotero.Browser and add HiddenBrowser.jsm. Post-Fission, web/file content loads in a separate process, so it's not possible (as best as I can tell) to directly access the contents of a hidden browser -- it just appears as about:blank in the parent process. We now use Mozilla's JSWindowActor mechanism [1] to get page data, including character set and body text for full-text indexing. We'll have to evaluate other uses of hidden browsers to see how to handle them. This also adds include.jsm for loading the Zotero object into a JSM. [1] https://firefox-source-docs.mozilla.org/dom/ipc/jsactors.html
12 lines
304 B
HTML
12 lines
304 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<title>标题</title>
|
|
<meta name="keywords" content="简讯,新闻摘要">
|
|
<meta name="description" content="加拿大本地新闻简讯,突发新闻,即时新闻">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
|
|
</head>
|
|
|
|
<body>主体</body>
|
|
</html>
|