GoodTwitter2 icon indicating copy to clipboard operation
GoodTwitter2 copied to clipboard

legacy nav bar on profiles has extra parameters that break visibility

Open dollhaus opened this issue 4 years ago • 5 comments

the div gt2-legacy-profile-nav-right has a few extra parameters applied to it after the page loads, or about five seconds after removing them. GT2 needs to (I think) monitor the div and remove the extra params whenever they've been added. Capture

This is what happens with the extra two params:

Capture

This is what happens when those params are removed:

Capture

dollhaus avatar Jan 29 '21 09:01 dollhaus

I can see that you're using Firefox but I don't know what version and I can only guess if you're using VM or TM. I'm not sure why that happens so often, but please do not remove the template for bugs! It has a purpose, I cannot magically know what specific versions of what you're using.

With that said, I cannot reproduce this bug on Firefox with neither TM nor VM (all on their latest versions). Do you have any settings in GT2 activated (aside from the legacy profile layout)? Does it happen with all other add-ons deactivated (except your script manager)?

This is a behavior I have not seen before, I'm curious why it happens.

Bl4Cc4t avatar Jan 29 '21 22:01 Bl4Cc4t

There's a template? I'm sorry, I don't see one.

So far, this occurs under Chromium 62.0.3202.94 and FF 69.0.2, with Tampermonkey. That's on both Fedora and Windows, although W7 was running in a VM. Windows has uBlock enabled, and under Linux disabing uBlock and Decetraleyes makes no difference.

I was playing around with some logging, and I think it's something to do with React being fussy about something. I don't understand that much about React, but I'll keep digging.

Here is a snap of the settings I have enabled:

Capture

dollhaus avatar Feb 01 '21 21:02 dollhaus

Oh, I found the template. One of my uBlock rules disables pre-filling textboxes as a precautionary measure.

dollhaus avatar Feb 01 '21 21:02 dollhaus

Hm, still no luck. I downloaded Chromium 62.0.3202.0 and enabled all the settings in GT2, even installed uBlock and the other extension. I don't get this issue... I have no idea why this is.

I doubt it has to do with the OS' you're using, that doesn't make sense. Although the browser versions you're using are about 3 years old, the changes in their JS engines are not that significant to the script. Have you tried using a newer version of Chrome/FF? I wonder if that changes anything.

It could be based on your location - Twitter usually rolls out changes (that sometimes break my script) at different times for each region (maybe country based?).

Bl4Cc4t avatar Feb 02 '21 18:02 Bl4Cc4t

I had the same problem while also on firefox. I was also using the uBlock origin add-on and when I disabled cosmetic filtering on Ublock origin the nav bar re-appeared while using the legacy profile layout.

Enduser-only avatar Jun 26 '21 09:06 Enduser-only