Copy link to clipboard
Copied
Is there a way to trigger a script from the event of a page being deleted from the page thumbnails tab? Related, is it possible to prevent page deleting in this manner?
Copy link to clipboard
Copied
No, and no.
Copy link to clipboard
Copied
- The only way I can think of doing it is to use the setInterval method to run a script every X amount of time, each time comparing the current number of pages in the file with the previous value, but that is very tricky and could cause it to lag.
- You can apply a security policy to the file that prevents editing it, or digitally sign it.