HISE Logo Forum
    • Categories
    • Register
    • Login

    new XMLHttpRequest is not supported anymore.

    Scheduled Pinned Locked Moved General Questions
    9 Posts 4 Posters 865 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • staiffS
      staiff
      last edited by

      hello !
      like said in the title the:

      var xhr = new XMLHttpRequest();

      return an error: new is not supported anymore {SW50ZXJmYWNlfHwxMDd8NXwxOQ==}

      ???

      how to fix it ?

      thanks.

      Excuse me i'm French.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @staiff
        last edited by d.healey

        @staiff I don't think XMLHttpRequest was ever supported in HISE. And you shouldn't be using var unless it's inside a paint routine.

        But that error is telling you that the new keyword is not supported by HISE. Remember HISEScript != Javascript.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • staiffS
          staiff
          last edited by

          Link Preview Image
          Manipuler des données JSON - Apprendre le développement web | MDN

          Le JavaScript Object Notation (JSON) est un format standard utilisé pour représenter des données structurées de façon semblable aux objets Javascript. Il est habituellement utilisé pour structurer et transmettre des données sur des sites web (par exemple, envoyer des données depuis un serveur vers un client afin de les afficher sur une page web ou vice versa). Comme cette notation est extrêmement courante, cet article a pour but de vous donner les connaissances nécessaires pour travailler avec JSON en JavaScript, vous apprendre à analyser la syntaxe du JSON afin d'en extraire des données et écrire vos propres objets JSON.

          favicon

          MDN Web Docs (developer.mozilla.org)

          Link Preview Image
          Check If Internet Connection Exists in JavaScript

          Use this simple and effective snippet of JavaScript to check if an internet connection exists or not.

          favicon

          kirupa.com (www.kirupa.com)

          seems to be javascript ;)

          i think, like you, that it's just unsuported by Hise ... :(

          Excuse me i'm French.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @staiff
            last edited by

            @staiff HISE Script is not Javascript - it's just very similar :)

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • staiffS
              staiff
              last edited by

              yes.

              it's just "Hart's" script linguage :D :D :D

              Excuse me i'm French.

              1 Reply Last reply Reply Quote 2
              • Christoph HartC
                Christoph Hart
                last edited by

                Wait until you get my version of C soon :)

                ossian1961O 1 Reply Last reply Reply Quote 5
                • ossian1961O
                  ossian1961 @Christoph Hart
                  last edited by

                  @Christoph-Hart said in new XMLHttpRequest is not supported anymore.:

                  Wait until you get my version of C soon :)

                  D'you working on Visual Studio?

                  https://www.kontakthub.com/label/Imagik-Sound/
                  https://mirtklaar.bandcamp.com/

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    No, I am working on a little secret side project right now :)

                    ossian1961O 1 Reply Last reply Reply Quote 1
                    • ossian1961O
                      ossian1961 @Christoph Hart
                      last edited by

                      @Christoph-Hart said in new XMLHttpRequest is not supported anymore.:

                      No, I am working on a little secret side project right now :)

                      Ok ;)

                      https://www.kontakthub.com/label/Imagik-Sound/
                      https://mirtklaar.bandcamp.com/

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      54

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts