User talk:Anomie/useridentifier.js

A bug in this code
Hi User:Anomie !

I was looking through our JavaScript error logs and there is a bug in this code. The script seems to be used by at least 3 people but is occurring often enough that it could be considered a privacy issue (it errors on ever page view so acts as a record of browsing history). It seems to mostly be occuring on the mobile contributions page https://en.m.wikipedia.org/wiki/Special:Contributions. Looks simple enough to fix.

The error is: TypeError: Cannot read properties of null (reading 'match')

stack trace is : Thanks in advance and let me know if you need any further information!

Jon (WMF) (talk) 18:41, 10 March 2023 (UTC)
 * Looks like you're probably overstating things, and you've also tried to fix this in the past and screwed it up. I went ahead with a proper fix. Anomie⚔ 01:42, 11 March 2023 (UTC)