Volafile Mark Read

Adds a line to Volafile chat showing the line last read

目前為 2020-05-24 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Arnold François Lecherche
評價
0 0 0
版本
1.02
建立日期
2020-05-16
更新日期
2020-05-24
尺寸
2.7 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%2Cs%2Ck%3Bfunction%20reloadMarker(e)%7Bvar%20key%3De.key%7C%7Ce.charCode%7C%7Ce.keyCode%2Csf%2Ci%3Bif(!key)return%3Bif(key%3D%3D%3D%27Escape%27%7C%7Ckey%3D%3D%3D%27Esc%27%7C%7Ckey%3D%3D%3D27)%7Bif(g.chat_max_history%3C1000)g.chat_max_history%3D1000%3Bm.appendChild(w.prog0)%3Bw.file_list.insertBefore(w.prog1%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.