Improves readability and allows EBOOK DOWNLOADS!
< 脚本Fanfiction+的反馈
Better Change Between Mobile and Desktop EditionThis 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)
Thanks, its implemented now :smile:
登录以发表回复。
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)