AIdungeon Tag Blacklist

Get those scenarios outta here!

< Σχολιασμός για τον κώδικα AIdungeon Tag Blacklist

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 01/04/2021

Hey! I think I might have fixed the author filtering - I changed line 193's element.getAttribute('style') == from this:

color: rgb(224, 224, 224); font-family: HelveticaNeue-Light, Helvetica, sans-serif, Classic; font-size: 20px; margin-left: 8px;

to this

color: rgb(224, 224, 224); font-family: HelveticaNeue-Light, Helvetica, sans-serif, Classic, Alegreya-Regular; font-size: 20px; margin-left: 8px;

I was wondering why the author filtering didn't work, so I decided to try a couple things out and this fixed it on my end, somehow. First thing I did was look at CSS classes - those were fine, and then I noticed the getAttribute mentioned above and went to double check that the style it was trying to reference matched on site - which is how I found this solution? I hope this helps a little!

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.