Outputting a JSON through Canceloload HTML Viewer

  1. 7 days ago

    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

    @Gerardo Giacute;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

    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!

  2. 5 days ago

    Gerardo G

    is not verified Nov 6 Answer Mexico City

    @Gerardo Giacute;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

    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!

or Sign Up to reply!