erome download links

Exposes media-download links for erome media galleries

Autor
Arnold François Lecherche
Instalaciones diarias
3
Instalaciones totales
1.435
Calificaciones
5 0 0
Versión
1.00
Creado
8/11/2020
Actualizado
8/11/2020
Licencia
Desconocida
Funciona en

This allows you to get downloadable links for the media in an erome gallery.

Alternatively, you can make this a bookmarklet; just bookmark this very page, change the bookmark's title to "erome download links", and change its URL to this:

javascript:(function(A%2Cw%2Cd%2Cb)%7B%27use%20strict%27%3Bvar%20v%3DA.from(d.getElementsByTagName(%27video%27))%3Bfunction%20videoSourceFilter(n)%7Breturn%20n.tagName%26%26n.tagName.toLowerCase()%3D%3D%3D%27source%27%7Dfunction%20videoHDFilter(s)%7Breturn%20s%26%26s.src%26%26s.getAttribute(%27label%27)%3D%3D%3D%27HD%27%7Dfunction%20videoMap(v)%7Bvar%20s%3DA.from(v.childNodes).filter(videoSourceFilter)%3Bif(s.length%3D%3D%3D1)return%20s%5B0%5D.src%3Breturn%20videoSources.filter(videoHDFilter)%5B0%5D.src%7Dfunction%20addLink(s%2Ce)%7Bvar%20l%3Dd.createElement(%27a%27)%3Bl.setAttribute(%27href%27%2Cs)%3Bl.download%3D%27%27%3Bl.textContent%2B%3Ds%3Be.parentElement.parentElement.appendChild(l)%3Be.parentElement.parentElement.appendChild(d.createElement(%27br%27))%7Dfunction%20init()%7Bvar%20i%3D(v%7C%7C%27%27).length%7C%7C0%2Cs%2Cj%3Bwhile(i--)%7Bs%3DA.from(v%5Bi%5D.childNodes).filter(videoSourceFilter)%3Bj%3Ds.length%3Bwhile(j--)addLink(s%5Bj%5D.src%2Cv%5Bi%5D)%7Dd.removeEventListener(%27DOMContentLoaded%27%2Cinit%2Cfalse)%3Bw.removeEventListener(%27load%27%2Cinit%2Cfalse)%7Dswitch(d.readyState)%7Bcase%27interactive%27%3Acase%27complete%27%3Ainit()%3Bbreak%3Bdefault%3Ad.addEventListener(%27DOMContentLoaded%27%2Cinit%2Cfalse)%3Bw.addEventListener(%27load%27%2Cinit%2Cfalse)%7D%7D)(Array%2Cwindow%2Cdocument%2Cdocument.body%7C%7Cdocument.getElementsByTagName(%27body%27)%5B0%5D%7C%7Cdocument.getElementsByTagName(%27frameset%27)%5B0%5D)


Then click the bookmarklet inside any erome gallery to get the download links.