yo, did someone break something?
yo, did someone break something?

I use datatables on my site. I was coding this morning, and at one point I noticed that the datatables stopped working. A javascript error is shown in the my browser's js console: TypeError: j_id_1gJ_id_1nWidget.DataTable is not a function
Oh, it happens on prod too: https://www.convergencemenu.com/recipes.xhtml
Did you push any changes this morning? I hope it's just broken for me, else you might have a problem.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
No changes pushed, and not seeing that error on your page... Assuming it's fixed on your end.
Colin
Okay, thanks for that. The culprit seems to be the Privacy Badger firefox plugin. It works after I disable that. You might have some users affected by it.
I've submitted a breakage report. Hopefully they'll whitelist cdn.datatables.net.
Interesting. Looks like there were some discussions back in 2017 about it:
Looks like its to do with the
__cfduid
cookie, which CloudFlare use to improve security. The last comment in 1794 says it should not be considered to be a problem by Privacy Badger.This latest block might be due to this patch, but I don't know their code base well enough to say.
Did you post an issue in their github?
Allan
No I just reported it via the 'Did Privacy Badger break this site?' reporting tool in the plugin itself.