Outputting a JSON through Canceloload HTML Viewer

Hi all!

I’m facing the next issue.
I have an app that I made, this app web scrap contents from a webpage, like infos, names, and download urls.
all contaning on a table.

so I extract this data, injecting Javascript to the HTMLViewer, and assembling with JS a JSON, contains all this data. and outputting through CancelLoad event on HTMLViewer.

In Mac i Have no issues and it works well.

But when I ran on Windows it gets me an error, I mean Canceled doesn’t process it. and Obiusly it Through an HTTP 400 error on the HTMLViewer.
But I’m looking that when I replace with a short string it works.

Are there a way to solve or to do that on windows?

Thanks in advance

[quote=461834:@Gerardo García]Hi all!

I’m facing the next issue.
I have an app that I made, this app web scrap contents from a webpage, like infos, names, and download urls.
all contaning on a table.

so I extract this data, injecting Javascript to the HTMLViewer, and assembling with JS a JSON, contains all this data. and outputting through CancelLoad event on HTMLViewer.

In Mac i Have no issues and it works well.

But when I ran on Windows it gets me an error, I mean Canceled doesn’t process it. and Obiusly it Through an HTTP 400 error on the HTMLViewer.
But I’m looking that when I replace with a short string it works.

Are there a way to solve or to do that on windows?

Thanks in advance[/quote]

I solved it. I realized that this error happens when the HTMLViewer Rendering mode Is set to “Native”.
So I Switched to “Webkit”, and voila, Zero problems!