Skip to content

Instantly share code, notes, and snippets.

@h2dcomputers
Last active November 29, 2025 12:39
Show Gist options
  • Select an option

  • Save h2dcomputers/8798c7e887214e118ee00454c87dcec4 to your computer and use it in GitHub Desktop.

Select an option

Save h2dcomputers/8798c7e887214e118ee00454c87dcec4 to your computer and use it in GitHub Desktop.
ProxMox No-Subscription Banner Remove
For use with tutorial at:
#SSH into ProxMox node
ssh root@<ipaddress>
#change directory to ProxMox Widget Toolkit
cd /usr/share/javascript/proxmox-widget-toolkit
#Back up Proxmoxlib.js
cp proxmoxlib.js proxmoxlib.js.bak
#Edit Proxmoxlib.js
nano proxmoxlib.js
#Line of code to insert in proxmoxlib.js
return (typeof orig_cmd === "function" && (orig_cmd(), true));
#Single command to perform all functions in one step
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak && sed -i '/checked_command: function (orig_cmd) {$/a\ return (typeof orig_cmd === "function" && (orig_cmd(), true));' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment