eight-dollars icon indicating copy to clipboard operation
eight-dollars copied to clipboard

Does not work when the display language is Japanese

Open Robot-Inventor opened this issue 2 years ago • 4 comments

It doesn't work when the display language is Japanese. image

It works well when the display language is English. image

Robot-Inventor avatar Nov 11 '22 02:11 Robot-Inventor

This is a screenshot of the class display in the developer tools when the display language is set to Japanese. Please refer to it.
The Japanese version of the tweet class name does not have r-37j5jr. https://github.com/wseagar/eight-dollars/blob/a1d053706e70e7c62b06ffca040d52a6499d23ba/script.js#L69-L70

image

book000 avatar Nov 11 '22 10:11 book000

In addition, it appears that the profileNode also needs to be modified.
The Japanese version of the user page class name does not have r-poiln3. https://github.com/wseagar/eight-dollars/blob/a1d053706e70e7c62b06ffca040d52a6499d23ba/script.js#L71-L72

image

book000 avatar Nov 11 '22 10:11 book000

This problem has not been resolved. See comment #31.

book000 avatar Nov 11 '22 23:11 book000

Described a possible solution here: https://github.com/wseagar/eight-dollars/pull/31#issuecomment-1312463192

noway avatar Nov 12 '22 11:11 noway