Duet3D / DuetWebControl

A completely new web interface for the Duet electronics
GNU General Public License v3.0
406 stars 228 forks source link

[FeatureRequest]: Hide emergency stop switch #482

Open M4ster3 opened 8 months ago

M4ster3 commented 8 months ago

Is your feature request related to a problem? Please describe.

As i´m using multiple displays the emergency button is always just a "screen jump" away - this is toggling my inner monk like hell. It´s even more nerve-wrecking when you access the WebControl via Smartphone for a quick check...

Describe the solution you propose.

It would be greate if there was a toggle switch in the options to hide the emergeny stop switch.

Describe alternatives you've considered

Maybe another solution would be a "observer" mode - where you can´t click anything by accident.

Provide any additional context or information.

I tried to remove the Emergency Stop Switch via Ublock Origin as a user rule, but then other buttons like pausing the print will be gone too.

pfn commented 8 months ago

use tampermonkey or any other form of user scripts, document.querySelector('button.error').style.display = 'none'