Fanfiction+

Improves readability and allows EBOOK DOWNLOADS!

< 腳本Fanfiction+的回應

提問/評論

§
發表於:2016-01-11

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)

Danielv123作者
§
發表於:2016-06-15

Thanks, its implemented now :smile:

發表回覆

登入以回復