Fanfiction+

Improves readability and allows EBOOK DOWNLOADS!

< Rückmeldungen aufFanfiction+

Frage/Kommentar

§
Veröffentlicht: 11.01.2016

Better Change Between Mobile and Desktop Edition

This code should do what you want:

var mobileVersion = 'location = "https://m.fanfiction.net' + document.location.pathname + '"'
console.log(mobileVersion)
document.getElementsByClassName('icon-kub-mobile')[0].setAttribute('onclick', mobileVersion)

Danielv123Verfasser
§
Veröffentlicht: 15.06.2016

Thanks, its implemented now :smile:

Antwort schreiben

Anmelden um eine Antwort zu senden.