PageSourceSearch

https://fangg.netlify.app/js/apps/bookmarks.js

js fangg.netlify.app collected 2026-10-03 10:43:40 UTC 589 bytes, 27 lines download raw bytes

1(function () {
2  const WINDOW_ID = 'bookmarks';
3
4  // 将窗口注册为可打开
5  window.openBookmarks = function openBookmarks() {
6    if (typeof window.openWindow === 'function') {
7      window.openWindow(WINDOW_ID);
8    }
9  };
10
11  // 初始化窗口内容(在 DOM 就绪后填充 iframe)
12  function init() {
13    const iframe = document.getElementById('bookmarks-iframe');
14    if (iframe) {
15      iframe.src = 'assets/bookmarks.html';
16    }
17  }
18
19  if (document.readyState === 'loading') {
20    document.addEventListener('DOMContentLoaded', init);
21  } else {
22    init();
23  }
24})();
25
26
27

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.