snipt

Ctrl+h for KB shortcuts

JavaScript

botão de legibilidade para o firefox

javascript:(function(){readConvertLinksToFootnotes=true;readStyle='style-novel';readSize='size-x-large';readMargin='margin-medium';_readability_script=document.createElement('script');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability.js?x='+(Math.random());document.documentElement.appendChild(_readability_script);_readability_css=document.createElement('link');_readability_css.rel='stylesheet';_readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';_readability_css.type='text/css';_readability_css.media='all';document.documentElement.appendChild(_readability_css);_readability_print_css=document.createElement('link');_readability_print_css.rel='stylesheet';_readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_readability_print_css.media='print';_readability_print_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_print_css);})();
https://snipt.net/embed/2c18511d87684551fc8bab2b0b564634/
/raw/2c18511d87684551fc8bab2b0b564634/
2c18511d87684551fc8bab2b0b564634
js
JavaScript
1
2019-06-16T18:58:15
True
False
False
/api/public/snipt/23606/
botao-de-legibilidade-para-o-firefox
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nx">javascript</span><span class="o">:</span><span class="p">(</span><span class="kd">function</span><span class="p">(){</span><span class="nx">readConvertLinksToFootnotes</span><span class="o">=</span><span class="kc">true</span><span class="p">;</span><span class="nx">readStyle</span><span class="o">=</span><span class="s1">&#39;style-novel&#39;</span><span class="p">;</span><span class="nx">readSize</span><span class="o">=</span><span class="s1">&#39;size-x-large&#39;</span><span class="p">;</span><span class="nx">readMargin</span><span class="o">=</span><span class="s1">&#39;margin-medium&#39;</span><span class="p">;</span><span class="nx">_readability_script</span><span class="o">=</span><span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">&#39;script&#39;</span><span class="p">);</span><span class="nx">_readability_script</span><span class="p">.</span><span class="nx">type</span><span class="o">=</span><span class="s1">&#39;text/javascript&#39;</span><span class="p">;</span><span class="nx">_readability_script</span><span class="p">.</span><span class="nx">src</span><span class="o">=</span><span class="s1">&#39;http://lab.arc90.com/experiments/readability/js/readability.js?x=&#39;</span><span class="o">+</span><span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">random</span><span class="p">());</span><span class="nb">document</span><span class="p">.</span><span class="nx">documentElement</span><span class="p">.</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">_readability_script</span><span class="p">);</span><span class="nx">_readability_css</span><span class="o">=</span><span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">&#39;link&#39;</span><span class="p">);</span><span class="nx">_readability_css</span><span class="p">.</span><span class="nx">rel</span><span class="o">=</span><span class="s1">&#39;stylesheet&#39;</span><span class="p">;</span><span class="nx">_readability_css</span><span class="p">.</span><span class="nx">href</span><span class="o">=</span><span class="s1">&#39;http://lab.arc90.com/experiments/readability/css/readability.css&#39;</span><span class="p">;</span><span class="nx">_readability_css</span><span class="p">.</span><span class="nx">type</span><span class="o">=</span><span class="s1">&#39;text/css&#39;</span><span class="p">;</span><span class="nx">_readability_css</span><span class="p">.</span><span class="nx">media</span><span class="o">=</span><span class="s1">&#39;all&#39;</span><span class="p">;</span><span class="nb">document</span><span class="p">.</span><span class="nx">documentElement</span><span class="p">.</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">_readability_css</span><span class="p">);</span><span class="nx">_readability_print_css</span><span class="o">=</span><span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">&#39;link&#39;</span><span class="p">);</span><span class="nx">_readability_print_css</span><span class="p">.</span><span class="nx">rel</span><span class="o">=</span><span class="s1">&#39;stylesheet&#39;</span><span class="p">;</span><span class="nx">_readability_print_css</span><span class="p">.</span><span class="nx">href</span><span class="o">=</span><span class="s1">&#39;http://lab.arc90.com/experiments/readability/css/readability-print.css&#39;</span><span class="p">;</span><span class="nx">_readability_print_css</span><span class="p">.</span><span class="nx">media</span><span class="o">=</span><span class="s1">&#39;print&#39;</span><span class="p">;</span><span class="nx">_readability_print_css</span><span class="p">.</span><span class="nx">type</span><span class="o">=</span><span class="s1">&#39;text/css&#39;</span><span class="p">;</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">&#39;head&#39;</span><span class="p">)[</span><span class="mi">0</span><span class="p">].</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">_readability_print_css</span><span class="p">);})();</span> </span></pre></div> </td></tr></table>
css, javascript, readability, tipografia