Skip to content

Instantly share code, notes, and snippets.

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

MKCodec commented Jan 10, 2026

Copy link
Copy Markdown

dont work Promox 9.1.4

@Charlie-I-Am

Copy link
Copy Markdown

dont work Promox 9.1.4

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

@blackdesert575

Copy link
Copy Markdown

working for Proxmox ve 9.1.4

@elko110

elko110 commented Feb 4, 2026

Copy link
Copy Markdown

Works with 9.1.5

@SantiPT007

Copy link
Copy Markdown

doesnt work for me on 9.1.5

@elko110

elko110 commented Feb 5, 2026

Copy link
Copy Markdown

@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

dR3b commented Feb 15, 2026

Copy link
Copy Markdown

^^ Not working with 9.1.5!

@Marco9733

Copy link
Copy Markdown

^^ 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.

@chr0nzz

chr0nzz commented Mar 15, 2026

Copy link
Copy Markdown

will this work on proxmox backup server?

@Sebastiaan72

Copy link
Copy Markdown

will this work on proxmox backup server?

Yes, only reboot after, as the "systemctl restart pveproxy.service" is not on PBS available.

Confirmed working here on 4.1.5.

@ms81

ms81 commented May 16, 2026

Copy link
Copy Markdown

@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

Also works on 9.1.11.

@thettenhausen

Copy link
Copy Markdown

Doesn't seem to be working anymore after May 26th for me (9.2.3)

@d84555

d84555 commented Jun 3, 2026

Copy link
Copy Markdown

Doesn't seem to be working anymore after May 26th for me (9.2.3)

Its working for me (9.2.3). Try restarting pveproxy service and clear the browser cache.

@thettenhausen

Copy link
Copy Markdown

Doesn't seem to be working anymore after May 26th for me (9.2.3)

Its working for me (9.2.3). Try restarting pveproxy service and clear the browser cache.

You were right, I had restarted the service, but not cleared the cache. Still working fine!

@Goldwing1973

Copy link
Copy Markdown

Single command to perform all functions in one step works flawless on VE 9.2.3
Don't forget to clear browser cache

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