您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Preserves messages and files auto-removed by Volafile and prevents navigation to front page on room closure
当前为
This allows you to see what messages were removed by Volafile bots and what files were removed by mods, room-owners, janitors, or bots; it also prevents navigation to the Volafile front page after a room has been closed.
Alternatively, you can make this a bookmarklet; just bookmark this very page, change the bookmark's title to "Volafile Unremover", and change its URL to this:javascript:(function(w%2Cd%2Ce%2Cv%2Cc)%7B%27use%20strict%27%3Bfunction%20removeMessages(t)%7Bvar%20obj%3D%5B%27messages%27%2C%27queued_messages%27%5D%2Ci%3Dobj.length%2Cmsg%2Cj%3Bwhile(i--)%7Bmsg%3De.chat%5Bobj%5Bi%5D%5D%3Bj%3Dmsg.length%3Bwhile(j--)if(t.msgIds.indexOf(msg%5Bj%5D.data.id)!%3D%3D-1)msg%5Bj%5D.elem.style.opacity%3D%27.4%27%7D%7Dfunction%20delete_file(t)%7Bvar%20file%3De.filelist.files_by_id%5Bt%5D%3Bfile.dom.fileElement.style.opacity%3D%27.2%27%3Bfile.dom.fileElement.getElementsByTagName(%27a%27)%5B0%5D.style.textDecoration%3D%27line-through%27%3Bc.showMessage(%27YourMom%27%2C%27File%20deleted%3A%20%27%2Bfile.name%2B%27%20%5B%27%2BJSON.stringify(file.tags)%2B%27%5D%27%2C%7B%27dontsave%27%3Atrue%2C%27staff%27%3Atrue%7D)%7Dfunction%20navigate(e)%7Balert(%27intercepted%20autonavigation%20to%20%22%27%2Be%2B%27%22%27)%7Dv.removeMessages%3DremoveMessages%3Bv.delete_file%3Ddelete_file%3Be.connection.navigate%3Dnavigate%3Bc.showMessage(%27Script%27%2C%27vola%20message%20and%20file%20removal%20indicator%20loaded%27%2C%7B%27dontsave%27%3Atrue%2C%27staff%27%3Atrue%7D)%7D)(window%2C%20document%2C%20window.RoomInstance.extensions%2C%20window.RoomInstance.extensions.connection._events%2C%20window.Room.prototype._extensions.connection.prototype.room.extensions.chat)
Then click the bookmarklet while in any room where you want to preserve details of deleted content.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址