E-H Visited

Upgrade to EhxVisited (sleazyfork.org/en/scripts/377945)

< Commentaires sur E-H Visited

Question / commentaire

§
Posté le: 26/07/2019

For those who wish to export their list from exh to add it to e-h

This snippet will allow you to export the data. Go to exhentai, open up the console (press F12) and paste this whole block of text:

function ehvExport(message) {
    var storageName = "ehVisited";
    var sto = localStorage.getItem(storageName) ? localStorage.getItem(storageName) : '{"data":{}}';
    var vis = JSON.parse(sto);
    var data = "";
    for (var d in vis.data) {
        if (vis.data.hasOwnProperty(d)) {
            data += d + ":" + vis.data[d] + ";";
        }
    }
    return data;
}
var inputbox = document.createElement('input'); 
inputbox.type = "text"; 
inputbox.value = ehvExport() ; 
document.body.prepend(inputbox); 

This will put the data in a textbox at the top of the screen you can then copy and paste into e-hentai for as long as that still exists.

HEN-TIEAuteur
§
Posté le: 26/07/2019
Édité le: 27/07/2019

Updated. You can export from Ex without opening the console now :smile:

Poster une réponse

Connectez-vous pour poster une réponse.