I am getting the error: Uncaught TypeError: target.className.includes is not a function at MutationObserver.callback (chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Twitter%E1%B4%BE%CB%A1%E1%B5%98%CB%A2%20(View%20Twitter%20Origin%20Images).user.js#1:94:42)
It is fixed if line 94 if (target.className.includes('css-1dbjc4n')) { is replaced with if (target.className && typeof target.className.includes !== 'undefined' && target.className.includes('css-1dbjc4n')) {
Sorry for the delayed response, I have been unable to manage my leisure activities recently, Thank you for your feedback. I have already updated the scripts, and it should now operate correctly.
I am getting the error:
Uncaught TypeError: target.className.includes is not a function
at MutationObserver.callback (chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Twitter%E1%B4%BE%CB%A1%E1%B5%98%CB%A2%20(View%20Twitter%20Origin%20Images).user.js#1:94:42)
It is fixed if line 94
if (target.className.includes('css-1dbjc4n')) {
is replaced with
if (target.className && typeof target.className.includes !== 'undefined' && target.className.includes('css-1dbjc4n')) {
The script works just fine otherwise.