sciter-js-sdk icon indicating copy to clipboard operation
sciter-js-sdk copied to clipboard

Unable to load tiddlywiki.com

Open Dialga opened this issue 5 years ago • 3 comments

Attempting to load tiddlywiki.com fails to display anything.

Dialga avatar Feb 21 '21 10:02 Dialga

How do you load tiddlywiki.com exactly?

And in general, sciter.js is not a browser in the sense that it is not designed to render any arbitrary page from the wilderness of the web. It may load pages but compatibility layer is required.

I've started working on such layer here: https://github.com/c-smile/sciter-js-sdk/tree/main/samples/htmlx but that is not complete.

Idea there is that pages are loaded not into window directly but in <frame> that emulates single tab window of a browser, see:

https://github.com/c-smile/sciter-js-sdk/blob/main/samples/htmlx/webframe-basic-test.htm#L7 and https://github.com/c-smile/sciter-js-sdk/blob/main/samples/htmlx/htmlx-frame.js#L87

And about tiddlywiki in particular...

It should work directly in sciter.js window but probably some porting is required.

c-smile avatar Feb 21 '21 15:02 c-smile

Sorry what I meant to say is it fails to render tiddlywiki.com properly. I've downloaded tiddlywiki.com/index.html and opened it with /bin/linux/x64/usciter and it did not display it fully. I've just attempted to display it in a frame as you mentioned but it shows the same result. Screenshot_20210222_045304

Dialga avatar Feb 21 '21 15:02 Dialga

That is subject of porting, I need to take a look on it.

c-smile avatar Feb 25 '21 21:02 c-smile