我試圖設計一個網頁中我沒有控制權的元素(想想userscript)。我有HTML像這麼一大塊: <dt>
<a href="..." class="important-link">important text</a>
Long unimportant text that doesn't matter to me.
<a href="..." class="unimpo
我只是想知道是否有任何真正簡單的方法可以從我已經加載Scriptish的用戶腳本轉換爲Chrome中的解壓縮擴展。我理解層次結構和manifest.json在處理解壓縮擴展時的需求,但我很困惑如何在彼此之間走。我有一個基本的userscript,看起來像這樣: // ==UserScript==
// @id Random text field filler
// @include h