import { mount } from "../takker99%2FScrapBubble/mod.tsx"; import { Scrapbox } from "../scrapbox-jp%2Ftypes/userscript.ts"; declare const scrapbox: Scrapbox; const takker_list = ["takker-memex", "takker-private", "takker", "takker-books", "villagepump"]; const additional_list= []; switch (scrapbox.Project.name) { case "hub": case "villagepump": case "verbalizing-community": additional_list.push("villagepump", "hub", "verbalizing-community"); break; case "programming-notes": case "customize": case "scrapboxlab": additional_list.push("programming-notes", "customize", "scrapboxlab"); break; case "sta": additional_list.push("sta-taskmanagement"); break; case "sta-taskmanagement": case "taskmanagement": additional_list.push("sta-taskmanagement", "taskmanagement"); break; case "plurality-japanese": additional_list.push("nishio", "tkgshn"); break; } mount({ //expired: 10 /*60秒は長いので10秒にした*/, delay: /mobile/i.test(navigator.userAgent) ? 300 : 500, whiteList: [...takker_list, ...additional_list], style: '@import "/api/code/takker/kakeruの背景を白にするUserCSS/style.css";\n@import "/api/code/takker/アイコン記法を画像記法っぽくするUserCSS/style2.css";', });