sobota, 15 grudnia 2012

DotEpub bookmarklet code


   DotEpub bookmarklet code

    Dotepub.com  tym bookmarklet wygenerujemy plik .epub lub .mobi  z aktualnie przeglądanej strony i automatycznie zostaniemy poproszeni o pobranie jej bardzo fajna usługa wybiera tylko tekst ze trony i zapisuje go w wydajnym formacie w którym później możemy to przeczytać online na czytniku i to z użyciem dowolnej czcionki.

Na stronie możemy wygenerować skrypt który możemy załączyć do naszej strony w html

 

dotEPUB for .epub

javascript:(function()%7Bvar%20d%3Ddocument%3Btry%7Bif(!d.body%7C%7Cd.body.innerHTML%3D%3D%27%27)throw(0)%3Bvar%20dotEPUBcss%3Dd.createElement(%27link%27)%3BdotEPUBcss.rel%3D%27stylesheet%27%3BdotEPUBcss.href%3D%27http://dotepub.com/s/dotEPUB-favlet.css%27%3BdotEPUBcss.type%3D%27text/css%27%3BdotEPUBcss.media%3D%27screen%27%3Bd.getElementsByTagName(%27head%27)%5B0%5D.appendChild(dotEPUBcss)%3BdotEPUBstatus%3Dd.createElement(%27div%27)%3BdotEPUBstatus.setAttribute(%27id%27,%27dotepub%27)%3BdotEPUBstatus.innerHTML%3D%27%3Cdiv%20id%3D%22status%22%3E%3Cp%3EConversion%20in%20progress...%3C/p%3E%3C/div%3E%27%3Bd.body.appendChild(dotEPUBstatus)%3Bvar%20dotEPUB%3Dd.createElement(%27script%27)%3BdotEPUB.type%3D%27text/javascript%27%3BdotEPUB.charset%3D%27utf-8%27%3BdotEPUB.src%3D%27http://dotepub.com/j/dotepub.js%3Fs%3D1%26t%3Depub%26g%3Den%27%3Bd.getElementsByTagName(%27head%27)%5B0%5D.appendChild(dotEPUB)%3B%7Dcatch(e)%7Balert(%27The%20page%20has%20no%20content%20or%20it%20is%20not%20fully%20loaded.%20Please,%20wait%20till%20the%20page%20is%20loaded.%27)%3B%7D%7D)()%3B

dotEPUB for .mobi

javascript:(function()%7Bvar%20d%3Ddocument%3Btry%7Bif(!d.body%7C%7Cd.body.innerHTML%3D%3D%27%27)throw(0)%3Bvar%20dotEPUBcss%3Dd.createElement(%27link%27)%3BdotEPUBcss.rel%3D%27stylesheet%27%3BdotEPUBcss.href%3D%27http://dotepub.com/s/dotEPUB-favlet.css%27%3BdotEPUBcss.type%3D%27text/css%27%3BdotEPUBcss.media%3D%27screen%27%3Bd.getElementsByTagName(%27head%27)%5B0%5D.appendChild(dotEPUBcss)%3BdotEPUBstatus%3Dd.createElement(%27div%27)%3BdotEPUBstatus.setAttribute(%27id%27,%27dotepub%27)%3BdotEPUBstatus.innerHTML%3D%27%3Cdiv%20id%3D%22status%22%3E%3Cp%3EConversion%20in%20progress...%3C/p%3E%3C/div%3E%27%3Bd.body.appendChild(dotEPUBstatus)%3Bvar%20dotEPUB%3Dd.createElement(%27script%27)%3BdotEPUB.type%3D%27text/javascript%27%3BdotEPUB.charset%3D%27utf-8%27%3BdotEPUB.src%3D%27http://dotepub.com/j/dotepub.js%3Fs%3D1%26t%3Dmobi%26g%3Den%27%3Bd.getElementsByTagName(%27head%27)%5B0%5D.appendChild(dotEPUB)%3B%7Dcatch(e)%7Balert(%27The%20page%20has%20no%20content%20or%20it%20is%20not%20fully%20loaded.%20Please,%20wait%20till%20the%20page%20is%20loaded.%27)%3B%7D%7D)()%3B

Brak komentarzy:

Prześlij komentarz