Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/share/doc/python3-full/html/_static/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/share/doc/python3-full/html/_static/menu.js
document.addEventListener('DOMContentLoaded', function () {

    // Make tables responsive by wrapping them in a div and making them scrollable
    const tables = document.querySelectorAll('table.docutils');
    tables.forEach(function(table){
        table.outerHTML = '<div class="responsive-table__container">' + table.outerHTML + '</div>'
    });

    const togglerInput = document.querySelector('.toggler__input');
    const togglerLabel = document.querySelector('.toggler__label');
    const sideMenu = document.querySelector('.menu-wrapper');
    const menuItems = document.querySelectorAll('.menu')
    const doc = document.querySelector('.document');
    const body = document.querySelector('body');

    function closeMenu() {
        togglerInput.checked = false;
        sideMenu.setAttribute("aria-expanded", 'false');
        sideMenu.setAttribute('aria-hidden', 'true');
        togglerLabel.setAttribute('aria-pressed', 'false');
        body.style.overflow = 'visible';
    }
    function openMenu() {
        togglerInput.checked = true;
        sideMenu.setAttribute("aria-expanded", 'true');
        sideMenu.setAttribute('aria-hidden', 'false');
        togglerLabel.setAttribute('aria-pressed', 'true');
        body.style.overflow = 'hidden';
    }

    // Close menu when link on the sideMenu is clicked
    sideMenu.addEventListener('click', function (event) {
        let target = event.target;
        if (target.tagName.toLowerCase() !== 'a') return;
        closeMenu();
    })
    // Add accessibility data when sideMenu is opened/closed
    togglerInput.addEventListener('change', function (e) {
        togglerInput.checked ? openMenu() : closeMenu();
    });
    // Make sideMenu links tabbable only when visible
    for(let menuItem of menuItems) {
        if(togglerInput.checked) {
          menuItem.setAttribute('tabindex', '0');
        } else {
          menuItem.setAttribute('tabindex', '-1');
        }
    }
    // Close sideMenu when document body is clicked
    doc.addEventListener('click', function () {
        if (togglerInput.checked) {
            closeMenu();
        }
    })
})

Youez - 2016 - github.com/yon3zu
LinuXploit