Skip to content

Instantly share code, notes, and snippets.

@h2dcomputers
Last active March 11, 2026 20:32
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
@MKCodec
Copy link

MKCodec commented Jan 10, 2026

dont work Promox 9.1.4

@Charlie-I-Am
Copy link

dont work Promox 9.1.4

It works for me fine, did you refresh browser your cache?

@blackdesert575
Copy link

working for Proxmox ve 9.1.4

@elko110
Copy link

elko110 commented Feb 4, 2026

Works with 9.1.5

@SantiPT007
Copy link

doesnt work for me on 9.1.5

@elko110
Copy link

elko110 commented Feb 5, 2026

@SantiPT007
worked flawlessly with 9.1.5 !!!

#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

@dR3b
Copy link

dR3b commented Feb 15, 2026

^^ Not working with 9.1.5!

@Marco9733
Copy link

^^ Single command works with 9.1.6. Make sure you clear your browser cache. You can clear the individual proxmox site instead of clearing all sites cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment