| Server IP : 50.21.180.56 / Your IP : 216.73.216.208 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67922704 ( 67922704) PHP Version : 8.5.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/thread-self/root/kunden/usr/share/doc/python3-pip/html/_static/ |
Upload File : |
var labels_by_text = {};
function ready() {
var li = document.getElementsByClassName("tab-label");
const urlParams = new URLSearchParams(window.location.search);
const tabs = urlParams.getAll("tabs");
for (const label of li) {
label.onclick = onLabelClick;
const text = label.textContent;
if (!labels_by_text[text]) {
labels_by_text[text] = [];
}
labels_by_text[text].push(label);
}
for (const tab of tabs) {
for (label of labels_by_text[tab]) {
label.previousSibling.checked = true;
}
}
}
function onLabelClick() {
// Activate other labels with the same text.
for (label of labels_by_text[this.textContent]) {
label.previousSibling.checked = true;
}
}
document.addEventListener("DOMContentLoaded", ready, false);