Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

While I do not know how to disable a paste event, I did click that box that says stop on caught and uncaught exceptions and there is one when pasting. It is caught, because of that there is no error in console, like leafo asked for in the other thread.

This was on Chrome. Maybe it works on some other browser.

(+1)

I don't use Chrome, but I understand that all browsers should have a function that allows you to inspect pages, there you can inspect the text box and it should have the list of events somewhere.

Yep. Disabling this makes pasting possible. Something in that chain of events does fire a cought exception when pasting. The exception does not fire, when the event is disabled. It does not update the optional text on paste, only after some key press events.

 Failed to execute 'querySelectorAll' on 'Document': '.modal-body:visible' is not a valid selector. at Function.se [as find] (https://static.itch.io/lib.min.js?1730772173:2:7028) ...

So something to do with formatting I guess. There will be a zero width space be pasted, if you paste. So it does paste something, but that something was reduced to a space you cannot see.

Deleted 18 days ago
(+1)

Stop harassing people.

Deleted 18 days ago
Deleted 16 days ago