<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruslan&#39;s Tech Blog</title>
    <link>https://blog.bekenev.net/tags/dropbox.html</link>
    <description>Software development related stuff</description>
    <language>en-us</language>
    <lastBuildDate>Sat, 10 Feb 2018 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.bekenev.net/tags/dropbox/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dropbox direct link to file</title>
      <link>https://blog.bekenev.net/2018/02/10/dropbox-direct-link.html</link>
      <pubDate>Sat, 10 Feb 2018 00:00:00 +0000</pubDate>
      <guid>https://blog.bekenev.net/2018/02/10/dropbox-direct-link.html</guid>
      <description>&lt;p&gt;Hey,&lt;/p&gt;&#xA;&lt;p&gt;Just switched to Firefox and tried to find the way how I can replace the start page.&lt;/p&gt;&#xA;&lt;p&gt;The only way I&amp;rsquo;ve found is use&#xA;&lt;a href=&#34;https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/&#34; target=&#34;_blank&#34;&gt;New Tab Override&lt;/a&gt;&#xA;extension. It allows to set custom html I want to use for start page but other files like css/js and fonts should be linked.&lt;/p&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t have them anywhere except my Dropbox and of course usual dropbox link isn&amp;rsquo;t working since it opens Dropbox&amp;rsquo;s page&#xA;where I can download the file itself.&lt;/p&gt;&#xA;&lt;p&gt;But there is workaround.&lt;/p&gt;&#xA;&lt;p&gt;Just copy dropbox link to your file. It may look like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;https://www.dropbox.com/s/fy44flf3pw2afsp/thefile.js?dl=0&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;and then replace &lt;code&gt;www.dropbox.com&lt;/code&gt; with &lt;code&gt;dl.dropboxusercontent.com&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;So the link should look like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;https://dl.dropboxusercontent.com/s/fy44flf3pw2afsp/thefile.js?dl=0&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now you have direct link to your file and you can src it in your html.&lt;/p&gt;&#xA;&lt;p&gt;P.S.&lt;/p&gt;&#xA;&lt;p&gt;While I was writting it just realised I can write css/js inline&amp;hellip;&lt;/p&gt;&#xA;&lt;center&gt;&lt;img src=&#34;https://media.giphy.com/media/wMvESGxZ0Cqd2/giphy.gif&#34;/&gt;&lt;/center&gt;&#xA;</description>
    </item>
  </channel>
</rss>
