In ws extension everything is built on top of oobSwap making it impossible for incoming messages to swap innerHTML of the connecting element.
I want to run 2 (almost) identical websockets and it would cause ids to collide, is it possible to somehow not rely on the ids but swap the innerHTML of the element that is specified to be connected?
Example:
<div ws-connect="url1">
<div>Content to replace</div>
</div>
<div ws-connect="url2">
<div>Different content to replace</div>
</div>
Any help is appreciated!