You are not logged in.

#1 2017-05-18 09:54:09

caripen
Member
Registered: 2016-06-02
Posts: 21

How to disable JavaScript confirmations

Hello! I'm trying to add physical Home, Start and Stop buttons, so far home and start buttons work but stop, force-stop and pause don't work at all. I use web links to make the buttons work but JavaScript confirmation window block some functions.

Is there any way to bypass the confirmation window and send the command directly? (like: /printer/stop) My idea is to edit the web interface and remove the scripts myself but if there is any other way I would greatly appreciate it.

Last edited by caripen (2017-05-18 10:01:21)

Offline

#2 2017-05-18 13:00:11

caripen
Member
Registered: 2016-06-02
Posts: 21

Re: How to disable JavaScript confirmations

Nevermind it was my fault when configuring python script and has nothing to do with the firmware. For those interested how I did it: send the web links (example: /printer/resume) in HTML only using something like lynx or curl text browsers.

Thanks anyway.

Offline

Board footer

Powered by FluxBB