Greasy Fork is available in English.

Skribbl.io Helper

Learns the wordlist each round and outputs possible words in chat.

< Отзив за Skribbl.io Helper

Отзив: Отлично - скриптът работи

§
Публикуван на: 18.07.2019

Good job !

It's simple, clean, and works perfectly.

§
Публикуван на: 18.07.2019

I had to modify 2 lines of code, to correct a bug : if the word "butterfly" already exists in the wordlist, then the word "fly" will never be recorded.

if (localStorage.getItem(wordlist).search('"' + word + '"') === -1){

if (localStorage.getItem(wordlist).search('"' + wordchoicelist[i] + '"') === -1){

I just added the double-quotes in the search( )

n0thingАвтор
§
Публикуван на: 20.07.2019

Thanks for letting me know, it was a very simple idea hence a simple script.

I just compared the script now, makes sense! These kinds of things tend to slip through. I'll implement it in v0.23

§
Публикуван на: 20.07.2019

I also modified those 2 lines with a case insensitive search...

if (localStorage.getItem(wordlist).search(new RegExp('"' + word + '"', "i")) === -1){

if (localStorage.getItem(wordlist).search(new RegExp('"' + wordchoicelist[i] + '"', "i")) === -1){

Публикувайте отговор

Влезте, за да публикувате отговор.