PageSourceSearch

https://www.yuhongcao.online/assets/js/no_defer.js?2781658a0a2b13ed609542042a859126

js yuhongcao.online collected 2026-10-06 06:10:22 UTC 816 bytes, 24 lines download raw bytes

1// add bootstrap classes to tables
2$(document).ready(function () {
3  $("table").each(function () {
4    if (determineComputedTheme() == "dark") {
5      $(this).addClass("table-dark");
6    } else {
7      $(this).removeClass("table-dark");
8    }
9
10    // only select tables that are not inside an element with "news" (about page) or "card" (cv page) class
11    if (
12      $(this).parents('[class*="news"]').length == 0 &&
13      $(this).parents('[class*="card"]').length == 0 &&
14      $(this).parents('[class*="archive"]').length == 0 &&
15      $(this).parents("code").length == 0
16    ) {
17      // make table use bootstrap-table
18      $(this).attr("data-toggle", "table");
19      // add some classes to make the table look better
20      // $(this).addClass('table-sm');
21      $(this).addClass("table-hover");
22    }
23  });
24});

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.