Greasy Fork is available in English.

Wikipedia Extender

Adds: sidebar toggle bar (click on blue vertical separator bar), auto collapsing sticky floating table of contents at top left (hover mouse on it to expand), collapsible sections (click section title to toggle), section links (for getting URL to page sections), auto popup sticky table headers (when table height is longer than the screen), table manipulations (double click empty space of a table cell to show menu).

< 腳本Wikipedia Extender的回應

評論:OK - script works, but has bugs

§
發表於:2020-09-12
編輯:2020-09-12

Great script! Works really well. But, on my setup, the floating table header doesn't match the table width and then the headers get completely misaligned. If I disable a single CSS padding rule though it almost matches exactly. See the screen captures. Specifically, it's this rule created by https://en.wikipedia.org/w/load.php:

.jquery-tablesorter th.headerSort {
    padding-right:21px;
}

I'm on Intel macOS 10.13.6 High Sierra, Mozilla Firefox 80.0.1 - Build ID 20200831163820 No other userscripts or extensions running/modifying Wikipedia page

發表回覆

登入以回復