Volafile Mark Read

Adds a line to Volafile chat showing the line last read

目前为 2020-05-24 提交的版本。查看 最新版本

作者
Arnold François Lecherche
评分
0 0 0
版本
1.01
创建于
2020-05-16
更新于
2020-05-24
大小
2.6 KB
许可证
暂无
适用于

This allows you to see where you were in the chat history of a Volafile room, and it also sets the maximum chat history to 1000 lines if it's already lower.

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

javascript:(function(w%2Cd%2Cb%2Cg%2Cm%2Cc)%7B%27use%20strict%27%3Bvar%20pr%3D%5Bw.prog0%7C%7Cd.createElement(%27div%27)%2Cw.prog1%7C%7Cd.createElement(%27div%27)%5D%2Cu%3Dd.getElementById(%27dolos_cuckmenu%27)%2Cn%3D%5B%27chat_message%27%2C%27filelist_file%27%5D%2Ci%3Dpr.length.s%2Ck%3Bfunction%20reloadMarker(e)%7Bvar%20sf%2Ci%3Bif(e.keyCode%3D%3D%3D27)%7Bif(g.chat_max_history%3C1000)g.chat_max_history%3D1000%3Bm.appendChild(pr%5B0%5D)%3Bw.file_list.insertBefore(pr%5B1%5D%2Cw.file_list.querySelector(%27%23file_list%20.filelist_file%3Anot(.file_uploading)%3Anot(.file_queued)%27))%3Bsf%3Dm.querySelectorAll(%27.chat_message.staff%3Anot(.profile)%27)%3Bi%3Dsf.length%3Bwhile(i--)if(sf%5Bi%5D.querySelector(%27.username%27).innerText.substr(0%2C5)%3D%3D%3D%27News%3A%27)m.removeChild(sf%5Bi%5D)%7D%7Dfunction%20refreshConfig()%7Bvar%20pin%3Dd.querySelector(%27.ui_frame_table%20%5Bname%3D%22password%22%5D%27)%2Cb%2Ci%3Bif(g.chat_max_history%3C1000)g.chat_max_history%3D1000%3Bif(pin)%7Bb%3Dd.querySelectorAll(%27.ui_frame_buttons%20.button%3Anot(.light)%27)%3Bi%3Db.length%3Bwhile(i--)b%5Bi%5D.click()%7D%7DfunctionunCuck()%7Bu%3Dd.getElementById(%27dolos_cuckmenu%27)%3Bif(u)%7Bu.style.fontSize%3D%2775%25%27%3Bif(k)w.clearInterval(k)%7D%7Dw.addEventListener(%27DOMContentLoaded%27%2CunCuck%2Cfalse)%3Bw.addEventListener(%27load%27%2CunCuck%2Cfalse)%3Bif(u)u.style.fontSize%3D%2775%25%27%3Belse%20k%3Dw.setInterval(unCuck%2C100)%3Bw.chat_scroller.style.borderTop%3D%274px%20dotted%20%23597895%27%3Bif(g.chat_max_history%3C1000)g.chat_max_history%3D1000%3Bwhile(i--)%7Bs%3Dpr%5Bi%5D.style%3Bpr%5Bi%5D.className%3Dn%5Bi%5D%3Bpr%5Bi%5D.setAttribute(%27id%27%2C%27prog%27%2Bi)%3Bs.borderTop%3D%273px%20dashed%20%23f88%27%3Bs.height%3D%273px%27%3Bs.overflow%3D%27hidden%27%3Bs.color%3D%27rgba(0%2C0%2C0%2C0)%27%3Bpr%5Bi%5D.innerText%3D%27qwerty%27%3Bb.appendChild(pr%5Bi%5D)%7Dw.addEventListener(%27keydown%27%2CreloadMarker%2Cfalse)%3Bc.showMessage(%27Script%27%2C%27vola%20marker%20line%20loaded%27%2C%7B%27dontsave%27%3Atrue%2C%27staff%27%3Atrue%7D)%3Bg.bump%3Dw.setInterval(refreshConfig%2C%2060000)%7D)(window%2Cdocument%2Cdocument.body%7C%7Cbody%2C%20window.config%2Cwindow.chat_messages%2Cwindow.Room.prototype._extensions.connection.prototype.room.extensions.chat)


Then click the bookmarklet while in any room where you want to see where you left off.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址