<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Users are unable to load Dropbox choose SDK on the Safari browser in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Users-are-unable-to-load-Dropbox-choose-SDK-on-the-Safari/m-p/555809#M26332</link>
    <description>&lt;P&gt;I am trying to load Dropbox choose SDK on my website. But running in to an issue on Mac Safari browser.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;script &lt;SPAN class=""&gt;async&lt;/SPAN&gt;=&lt;SPAN class=""&gt;""&lt;/SPAN&gt; src=&lt;SPAN class=""&gt;"https://www.dropbox.com/static/api/2/dropins.js"&lt;/SPAN&gt; id=&lt;SPAN class=""&gt;"dropboxjs"&lt;/SPAN&gt; data-app-key=&lt;SPAN class=""&gt;"crbrplpove29sb2"&lt;/SPAN&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;
&lt;P&gt;but script doesnt load on xconvert.com (if you goto the network tab and load&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.xconvert.com/compress-mp4" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.xconvert.com/compress-mp4&lt;/A&gt;, it won't show dropins.js). I also tried manually injecting the script to the header once the page is loaded&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;const&lt;/SPAN&gt; node = &lt;SPAN class=""&gt;document&lt;/SPAN&gt;.&lt;SPAN class=""&gt;createElement&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'script'&lt;/SPAN&gt;);
node.&lt;SPAN class=""&gt;src&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'https://www.dropbox.com/static/api/2/dropins.js'&lt;/SPAN&gt;;
node.&lt;SPAN class=""&gt;type&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'text/javascript'&lt;/SPAN&gt;;
node.&lt;SPAN class=""&gt;setAttribute&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'id'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'dropboxjs'&lt;/SPAN&gt;);
node.&lt;SPAN class=""&gt;setAttribute&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'data-app-key'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'crbrplpove29sb2'&lt;/SPAN&gt;);
node.&lt;SPAN class=""&gt;defer&lt;/SPAN&gt; = &lt;SPAN class=""&gt;true&lt;/SPAN&gt;;
                          
&lt;SPAN class=""&gt;document&lt;/SPAN&gt;.&lt;SPAN class=""&gt;getElementsByTagName&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'head'&lt;/SPAN&gt;)[&lt;SPAN class=""&gt;0&lt;/SPAN&gt;].&lt;SPAN class=""&gt;append&lt;/SPAN&gt;(node);&lt;/PRE&gt;
&lt;P&gt;But same code on other websites such as smallpdf and ilovepdf seem to work perfectly.&lt;/P&gt;
&lt;P&gt;There is a preference on Safari, under Privacy saying 'Prevent cross-site tracking'. If I turn it off, then the script loads perfect on the xconvert. But that setting don't need to be turned off for other websites I mentioned above.&lt;/P&gt;
&lt;P&gt;Any idea what may be causing this issue?&lt;/P&gt;
&lt;P&gt;It almost feels like Apple whitelist some website and block others from loading third-party scripts. This only happens on Safari. It works fine on Chrome.&lt;/P&gt;
&lt;P&gt;Safari version: 14.1.2 Mac version: 11.6&lt;/P&gt;
&lt;P&gt;Following is the error thrown on script which is not much helpful&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://discussions.apple.com/content/attachment/04520a01-1b75-45e2-9fc4-039e7c1c9a9b" target="_blank" rel="nofollow noopener noreferrer"&gt;https://discussions.apple.com/content/attachment/04520a01-1b75-45e2-9fc4-039e7c1c9a9b&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 09:21:54 GMT</pubDate>
    <dc:creator>printfmyname</dc:creator>
    <dc:date>2021-11-08T09:21:54Z</dc:date>
    <item>
      <title>Users are unable to load Dropbox choose SDK on the Safari browser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Users-are-unable-to-load-Dropbox-choose-SDK-on-the-Safari/m-p/555809#M26332</link>
      <description>&lt;P&gt;I am trying to load Dropbox choose SDK on my website. But running in to an issue on Mac Safari browser.&lt;/P&gt;
&lt;PRE&gt;&amp;lt;script &lt;SPAN class=""&gt;async&lt;/SPAN&gt;=&lt;SPAN class=""&gt;""&lt;/SPAN&gt; src=&lt;SPAN class=""&gt;"https://www.dropbox.com/static/api/2/dropins.js"&lt;/SPAN&gt; id=&lt;SPAN class=""&gt;"dropboxjs"&lt;/SPAN&gt; data-app-key=&lt;SPAN class=""&gt;"crbrplpove29sb2"&lt;/SPAN&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;
&lt;P&gt;but script doesnt load on xconvert.com (if you goto the network tab and load&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.xconvert.com/compress-mp4" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.xconvert.com/compress-mp4&lt;/A&gt;, it won't show dropins.js). I also tried manually injecting the script to the header once the page is loaded&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;const&lt;/SPAN&gt; node = &lt;SPAN class=""&gt;document&lt;/SPAN&gt;.&lt;SPAN class=""&gt;createElement&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'script'&lt;/SPAN&gt;);
node.&lt;SPAN class=""&gt;src&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'https://www.dropbox.com/static/api/2/dropins.js'&lt;/SPAN&gt;;
node.&lt;SPAN class=""&gt;type&lt;/SPAN&gt; = &lt;SPAN class=""&gt;'text/javascript'&lt;/SPAN&gt;;
node.&lt;SPAN class=""&gt;setAttribute&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'id'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'dropboxjs'&lt;/SPAN&gt;);
node.&lt;SPAN class=""&gt;setAttribute&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'data-app-key'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'crbrplpove29sb2'&lt;/SPAN&gt;);
node.&lt;SPAN class=""&gt;defer&lt;/SPAN&gt; = &lt;SPAN class=""&gt;true&lt;/SPAN&gt;;
                          
&lt;SPAN class=""&gt;document&lt;/SPAN&gt;.&lt;SPAN class=""&gt;getElementsByTagName&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'head'&lt;/SPAN&gt;)[&lt;SPAN class=""&gt;0&lt;/SPAN&gt;].&lt;SPAN class=""&gt;append&lt;/SPAN&gt;(node);&lt;/PRE&gt;
&lt;P&gt;But same code on other websites such as smallpdf and ilovepdf seem to work perfectly.&lt;/P&gt;
&lt;P&gt;There is a preference on Safari, under Privacy saying 'Prevent cross-site tracking'. If I turn it off, then the script loads perfect on the xconvert. But that setting don't need to be turned off for other websites I mentioned above.&lt;/P&gt;
&lt;P&gt;Any idea what may be causing this issue?&lt;/P&gt;
&lt;P&gt;It almost feels like Apple whitelist some website and block others from loading third-party scripts. This only happens on Safari. It works fine on Chrome.&lt;/P&gt;
&lt;P&gt;Safari version: 14.1.2 Mac version: 11.6&lt;/P&gt;
&lt;P&gt;Following is the error thrown on script which is not much helpful&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://discussions.apple.com/content/attachment/04520a01-1b75-45e2-9fc4-039e7c1c9a9b" target="_blank" rel="nofollow noopener noreferrer"&gt;https://discussions.apple.com/content/attachment/04520a01-1b75-45e2-9fc4-039e7c1c9a9b&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 09:21:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Users-are-unable-to-load-Dropbox-choose-SDK-on-the-Safari/m-p/555809#M26332</guid>
      <dc:creator>printfmyname</dc:creator>
      <dc:date>2021-11-08T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Users are unable to load Dropbox choose SDK on the Safari browser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Users-are-unable-to-load-Dropbox-choose-SDK-on-the-Safari/m-p/556099#M26338</link>
      <description>&lt;P&gt;Thanks for the report. Did you already resolve this? I just tried loading the site you shared in Safari with 'Prevent cross-site tracking' enabled and the script seemed to load successfully for me.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 19:36:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Users-are-unable-to-load-Dropbox-choose-SDK-on-the-Safari/m-p/556099#M26338</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-08T19:36:38Z</dc:date>
    </item>
  </channel>
</rss>

