GoodTwitter2 icon indicating copy to clipboard operation
GoodTwitter2 copied to clipboard

Good Twitter stopped working

Open Harumoon opened this issue 1 year ago • 28 comments

This afternoon Good Twitter just stopped working altogether for me. Normally I have to login, then reload the page and it works [the first time I open the page it's always the new version, it's been like this for about a year or so, but reloading the page always worked until today] Now, reloading the page does nothing, it just stays on the new X feed layout, so I had to use Ublock to delete about ten useless annoying things, eg. that Message box at the bottom, all the 'Trending' stuff, Who To Follow etc etc etc. Apart from all that stuff, my main problem personally with this is that, unlike the Following Feed with Good Twitter, in this new X layout there is no Translate button under each post [in the feed]. With the new layout you have to actually open each post individually to get the Translate button [so annoying and unintuitive...as usual] This is the actual reason I've been using Good Twitter ever since that new layout style came in a couple of years ago or whatever it was, because everyone I follow on X is Japanese and my Japanese is pretty limited.

I tried disabling/re-enabling Violent Monkey, reinstalled Good Twitter, no difference. It's exactly the same on both desktop and laptop [on the desktop pc I updated Firefox ESR today, so I thought it might be that, but the same Firefox ESR version on the laptop hasn't been updated to the newest version yet and this Good Twitter problem is exactly the same on that] It was all working perfectly as normal this morning, both pc's. I think X has done some sort of update or something.

Thanks

Harumoon avatar May 15 '24 06:05 Harumoon

I think it's because the URL is finally being forced to "X" instead of "Twitter". My home feed still works because it shows "twitter" but when I open any tweet, it changes to "X" and no longer works.

Spabobin avatar May 17 '24 04:05 Spabobin

Go into whatever extension you use for the script and add "// @match https://x.com/*" image

Not a perfect fix since it seems to break the top right profile button (doesn't do anything when clicked on) and the Message tab reappeared but hey it fixes most of it 🤷🏿‍♂️

BooshSource avatar May 17 '24 04:05 BooshSource

Thanks a lot, both of you. I really had no idea how to add that line to the script but I managed to figure it out with Tamper Monkey :) Now it works again! The only thing is that when I open the Home feed it's a blank page with just the top bar there...so if I click Notifications in that bar, that opens normally, then I click Home again and that works too! :) Yes, clicking the profile button at the top right does nothing now, but it's still a million times better for me like this. Thanks a lot BooshSource for that script.

Harumoon avatar May 17 '24 05:05 Harumoon

Go into whatever extension you use for the script and add "// @match https://x.com/*" image

Not a perfect fix since it seems to break the top right profile button (doesn't do anything when clicked on) and the Message tab reappeared but hey it fixes most of it 🤷🏿‍♂️

thank you for the temporary fix. it seems they are trying there best to make the site unusable but thank you all for this so we can at least use it on pc.

DcSensai avatar May 17 '24 08:05 DcSensai

It seems I spoke too soon, it's stopped working again now...a couple of hours later. Also when it was working, the Translate button didn't work anyway...which was the main reason I need Good Twitter. For now, I'm going to use Simple Translate extension [left click/select the text] rather than opening each post individually...although both options are a super pain compared to what it's been like with Good Twitter working properly. If anyone can come up with some other idea, that would be great! :) Thanks

Harumoon avatar May 17 '24 10:05 Harumoon

I went in and changed all twitter.com to x.com in the script and it seems to work fine for now....

plissken1138 avatar May 17 '24 10:05 plissken1138

Ah, ok. I'll try that, thanks a lot.

Harumoon avatar May 17 '24 10:05 Harumoon

That made it work again but it's the same as before, the Translate button doesn't work for me. It's the same as the Profile button at top right, just does nothing when I click it. Also, both the Followers and Following lists don't work for me anymore either...even when I disable GT and go back to the new layout, they just open a blank page now...I can still access both of those lists on my phone at least. The whole thing is just becoming unusable on a pc as you said earlier Thanks anyway

Harumoon avatar May 17 '24 10:05 Harumoon

I had all those problems too lately, but as long as I had a semi functional twitter the way the userscript was changing it into, I was happy. From today, the script completely disappeared and no matter how many times I tried reinstalling it, it's just not appearing Untitled

mfrpacc avatar May 17 '24 13:05 mfrpacc

I went in and changed all twitter.com to x.com in the script and it seems to work fine for now....

Well, not all thins work, clicking upper right profile pic doesn't open drop down menu as already noted. It doesn't always hide For You or Retweets (it does one one of them at the time, randomly) list but opens on Following by default as it was set before. Settings available on https://x.com/settings/

plissken1138 avatar May 17 '24 13:05 plissken1138

I got the same problem, added the @match with the new link and basically everything "works" except from all profiles completely stopping to work, I can't open ANY profile. I really hope a fix for this gets released because I really can't stand the new "x" ui. image

AfonsoMais avatar May 17 '24 13:05 AfonsoMais

Hi friends,

My good twitter stopped working also. I have a mac. I did enable developer mode as Jan suggested. I have no idea how to fix it. I've read the comments above but I am not really understanding them. I'm not much of a computer person but I LOVE GOOD TWITTER. Can someone walk me through what to do to get it back?

Thanks, Jean

JusticeWithJean avatar May 17 '24 15:05 JusticeWithJean

Switching to Beta release https://github.com/Bl4Cc4t/GoodTwitter2/releases and adding @match for x.com helped to fix many issues but introduced some other. This is also temporary fix for some stuff until twiXter brakes something again. All in all, this app needs global update for the Elon fckery

image

RoskoDaneworth avatar May 17 '24 18:05 RoskoDaneworth

Swapped over to the 1.0.0-beta.3 branch and got profiles MOSTLY working (hey, it at least loads now). Go into the script and replace line 4099 to 4143 with the JS below

function waitForElements(selector, callback) {
  var _options$parentElemen, _options$mutationObse, _options$signal;

  let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  const parentElement = (_options$parentElemen = options.parentElement) !== null && _options$parentElemen !== void 0 ? _options$parentElemen : document.documentElement;
  const waitOnce = typeof options.waitOnce == "undefined" ? true : options.waitOnce;

  let results = parentElement.querySelectorAll(selector);
  forEachNode(results, callback);

  const debouncedQuery = debounce(() => {
    results = parentElement.querySelectorAll(selector);
    console.log(`Found ${results.length} elements for selector ${selector}`);

    if (results.length > 0) {
      if (waitOnce) observer.disconnect();
      forEachNode(results, callback);
    }
  }, 100); // Adjust the wait time as necessary

  const observer = new MutationObserver(debouncedQuery);
  observer.observe(parentElement, {
    childList: true,
    subtree: true
  });

  (_options$signal = options.signal) === null || _options$signal === void 0 ? void 0 : _options$signal.addEventListener("abort", () => observer.disconnect());
}

function forEachNode(results, callback) {
  results.forEach(node => {
    if (!node.alreadyFound) {
      callback(node);
      node.alreadyFound = true;
    }
  });
}

function debounce(func, wait) {
  let timeout;
  return function(...args) {
    clearTimeout(timeout);
    timeout = setTimeout(() => func.apply(this, args), wait);
  };
}

Profiles look like this image

BooshSource avatar May 17 '24 20:05 BooshSource

Hey everyone, please check if the issue is resolved when using one of the following versions:

  • v1.0.0-beta.4 (new beta version with unfixed new issues)
  • v0.0.45 (old stable version with even more unfixed old issues)

Thanks!

Bl4Cc4t avatar May 17 '24 21:05 Bl4Cc4t

Hey everyone, please check if the issue is resolved when using one of the following versions:

* [v1.0.0-beta.4](https://github.com/Bl4Cc4t/GoodTwitter2/releases/tag/v1.0.0-beta.4) (new beta version with unfixed new issues)

* [v0.0.45](https://github.com/Bl4Cc4t/GoodTwitter2/raw/master/twitter.gt2eb.user.js) (old stable version with even more unfixed old issues)

Thanks!

I'd suggest adding

// @exclude https://twitter.com/i/tweetdeck

so the script doesn't clash with

https://github.com/dimdenGD/OldTweetDeck https://github.com/dimdenGD/BetterTweetDeck

plissken1138 avatar May 17 '24 21:05 plissken1138

Hi, that new version fixed the Profile button top right for me so I can at least access the settings again [which I couldn't before, from anywhere]. However, clicking the Followers and Following links does nothing now, but if I right click them and 'open in new tab' the lists try to open but it just opens that small list of light blue lines. Clicking Notifications only opens two notifications, for some reason. Also the Translate button is the same, it still does nothing in the Feed, but works when you open the actual post [one thing I've noticed with that is that in the Feed it says Translate Tweet...when you open the actual tweet/post it changes to Translate Post and it works]

Capture a

Capture b

Capture c

Capture d

Thanks a lot, it's still better than the new X layout :)

Harumoon avatar May 17 '24 22:05 Harumoon

Update...for some reason both Followers and Following lists started working properly now. As far as I can see it's pretty much back to how it was before except the one thing I want!! The Translate button :) But as I said, it's still WAY better than the new layout. Thanks

Harumoon avatar May 18 '24 01:05 Harumoon

Harumoon et alia, I am not a computer person and have NO IDEA how to fix this. I need someone to either 1) list steps very concretely --2) zoom with me and screen share and show me how to do it. This is so frustrating.

Does anyone have compacity to help someone through this with steps? --For example, what does this mean? "Swapped over to the 1.0.0-beta.3 branch and got profiles MOSTLY working" HOW?


WAIT--Stop the presses. I followed the beta install and it worked! At least at this moment. Thanks Bl4Cc4t

JusticeWithJean avatar May 18 '24 02:05 JusticeWithJean

You're godsend Bl4Cc4t! It works now. With the issues it had before, but it works at least! You have no idea how many people you saved with that userscript. Thank you, thank you, thank you!!

mfrpacc avatar May 18 '24 11:05 mfrpacc

Thank you all for the quick fix, all the hardwork is appreciated. Elon really is trying his best to force his X thing that nobody asked or even wanted, it's really annoying.

Sora-yx avatar May 18 '24 15:05 Sora-yx

Hey everyone, please check if the issue is resolved when using one of the following versions:

* [v1.0.0-beta.4](https://github.com/Bl4Cc4t/GoodTwitter2/releases/tag/v1.0.0-beta.4) (new beta version with unfixed new issues)

* [v0.0.45](https://github.com/Bl4Cc4t/GoodTwitter2/raw/master/twitter.gt2eb.user.js) (old stable version with even more unfixed old issues)

Thanks!

I'd suggest adding

// @exclude https://twitter.com/i/tweetdeck

so the script doesn't clash with

https://github.com/dimdenGD/OldTweetDeck https://github.com/dimdenGD/BetterTweetDeck

now also

// @exclude https://x.com/i/tweetdeck

plissken1138 avatar May 18 '24 19:05 plissken1138

Hi, I think Bl4Cc4t [thanks so much by the way for doing this project!] said somewhere once before that you can't do anything about the Translate button, but does anyone have any idea if there would be something I can add to the script that would make it work again in the actual Feed, like it works in the individual Posts? As I said earlier, when you open each post that button changes from 'Translate Tweet' [which is under each post in the Feed] to 'Translate Post' in the actual post and then it works as it always has worked in the Feed until this new issue started the other day.

In my Feed it looks like this...clicking it there does nothing now [it always worked there before with Good Twitter]

Capture 1

When I open that post it's like this...

Capture 2

When I click it there it works...like this...

Capture 3

Thanks, I know most people probably never use it but it's the main thing for me :)

Harumoon avatar May 19 '24 00:05 Harumoon

So a bit of a weird issue. I'm using the latest beta version that was shared here. Working fine so far. But then at random points the script just begins to fail. The message window glitches out and has the CSS appearance the script applies. But it's using the original detached look.

Search has a chance to utterly break itself when used from the timeline.

Could the url change be causing this or is it perhaps some kind of anti-tampering they're likely setting up?

nanakisan avatar May 27 '24 00:05 nanakisan

It's kind of still working, at least the layout is, but now basically the only thing I can do is scroll down the feed and click the like button in posts. Nothing else works, I can't even 'repost' anymore. I can't even open my profile page without right clicking and opening in a 'new tab', and once in there I can't edit it now..I can change something but there's no 'Save' button there anymore.

The really annoying thing with this now is that even if I disable Violent Monkey and go back to the horrible new layout none of these things work there either [Repost, Tweets, Followers, Following,Translate etc] In other words the whole thing is basically unusable now for me, which kind of makes me think maybe they're desperately trying to make everyone go to the phone app...or something? Like, everything works on my phone...nothing works on either of my pc's. I even uninstalled Firefox and reinstalled it, which actually made a couple of things start working again [the Followers link and I think Repost], then they stopped working again in about 5 minutes.

Update...Repost works in the Microsoft Edge browser, but nothing else.

Could the url change be causing this or is it perhaps some kind of anti-tampering they're likely setting up?

This sounds about right...but who knows?

Harumoon avatar May 27 '24 02:05 Harumoon

One issue I've had for a little while now. since around the time the latest issues started, is now clicking on my username or avatar at the home page no longer brings me to my profile page. I'm not sure why, just hovering over it I can see the link to my profile at the bottom of the browser, and if I middle click it or right click and open the link, it will take me to my profile in a new tab. But just left clicking, it won't take me there - It just does nothing, like I didn't click any link.

dclock avatar Jun 01 '24 05:06 dclock

Looks like it's broken again. It was still working a few hours ago.

nuparuex avatar Jul 27 '24 14:07 nuparuex

So in more detail, I've looked up how TamperMonkey's working on 2 of my computers, both of em have the beta of GoodTwitter 2 installed and both of them use the same version of Chrome, but only one of them has the script working. I imported the script to ViolentMonkey for the computer that didn't work and now it works again. Any ideas what the problem might be? I noticed for the computer that doesn't work, TamperMonkey just doesn't seem to run any scripts.

nuparuex avatar Jul 29 '24 05:07 nuparuex