Greasy Fork is available in English.

Volafile Unremover

Preserves messages and files auto-removed by Volafile and prevents navigation to front page on room closure.

Fejlesztő
Arnold François Lecherche
Napi telepítések
0
Telepítések száma
90
Értékelések
1 0 0
Verzió
1.09
Létrehozva
2020.05.16.
Frissítve
2020.10.05.
Licensz
Ismeretlen
Érvényes

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 and tracks changes to the configuration of the room.

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)%7B%27use%20strict%27%3Bvar%20e%2Cv%2Cc%2Cg%3Bfunction%20removeMessages(t)%7Bvar%20obj%3D%5B%27messages%27%2C%27queued_messages%27%5D%2Ci%3Dobj.length%2Cmsg%2Cj%3Bwhile(i--)%7Bmsg%3Dc%5Bobj%5Bi%5D%5D%3Bj%3Dmsg.length%3Bwhile(j--)if(t.msgIds.indexOf(msg%5Bj%5D.data.id)!%3D%3D-1)%7Bmsg%5Bj%5D.elem.style.opacity%3D%27.4%27%3Bmsg%5Bj%5D.elem.style.textDecoration%3D%27line-through%27%7D%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)%7Bc.showMessage(%27Script%27%2C%27Intercepted%20auto-navigation%20to%20%22%27%2Be%2B%27%22.%27%2C%7B%27dontsave%27%3Afalse%2C%27staff%27%3Atrue%7D)%7Dfunction%20reload(e)%7Bc.showMessage(%27Script%27%2C%27Intercepted%20force-reload.%27%2C%7B%27dontsave%27%3Atrue%2C%27staff%27%3Atrue%7D)%7Dfunction%20config(t)%7Bvar%20keys%3DObject.keys(t)%2Cold%3D(keys.length%3D%3D%3D1%26%26w.config%5Bkeys%5B0%5D%5D)%3F%27%20from%20%7B%22%27%2Bkeys%5B0%5D%2B%27%22%3A%27%2BJSON.stringify(w.config%5Bkeys%5B0%5D%5D)%2B%27%7D%20%27%3A%27%27%3Bif(keys.length%3C20)c.showMessage(%27Config%27%2C%27changed%20%27%2Bold%2B%27to%20%27%2BJSON.stringify(t)%2C%7B%27dontsave%27%3Atrue%2C%27staff%27%3Atrue%7D)%3Bg(t)%7Dfunction%20init()%7Bvar%20n%3Be%3Dw.RoomInstance.extensions%3Bn%3De.connection%3Bn.navigate%3Dnavigate%3Bv%3Dn._events%3Bv.removeMessages%3DremoveMessages%3Bv.delete_file%3Ddelete_file%3Bv.forceReload%5B0%5D%3Dreload%3Bg%3Dv.config%3Bv.config%3Dconfig%3Bc%3De.chat%3Bc.showMessage(%27Script%27%2C%27Volafile%20spy%20mode%27%2C%7B%27dontsave%27%3Atrue%2C%27staff%27%3Atrue%7D)%7Dw.addEventListener(%27load%27%2Cinit%2Cfalse)%7D)(window%2Cdocument)


Then click the bookmarklet while in any room where you want to preserve details of deleted content.