Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Comments

3 comments

  • Alex Novotny

    Hi, 

    Can you elaborate on what you mean by integrity value? Do you mean uptime? 

    Alex, Box Developer Advocate

    0
    Comment actions Permalink
  • QI WANG

    Hi,

    If I want to import jQuery in my app, I can do it as the following code

    <script   src="https://code.jquery.com/jquery-3.6.1.min.js"   integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ="   crossorigin="anonymous"></script>

    You can see it has an attribute named integrity

     

    But box preview.js does not support such value.

    <script type="text/javascript" src="https://cdn01.boxcdn.net/platform/preview/2.81.0/en-US/preview.js" async="async"></script>
    Could you give me some clues about it?
     
    0
    Comment actions Permalink
  • QI WANG

    Alex Novotny

    for the HTML <script> integrity Attribute, you can get detail from https://www.w3schools.com/tags/att_script_integrity.asp

    Could you give me some info to get the integrity attribute of preview.js?

     

    0
    Comment actions Permalink

Post is closed for comments.