Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Make it work with the new Twitter website #195

Closed
sindresorhus opened this issue Nov 10, 2019 · 10 comments
Closed

Make it work with the new Twitter website #195

sindresorhus opened this issue Nov 10, 2019 · 10 comments

Comments

@sindresorhus
Copy link
Owner

sindresorhus commented Nov 10, 2019

Twitter released their rewritten website, which broke most of the features in this extension. I could use help porting the features to the new UI.

@biscuitsan
Copy link

Will the extension still be compatible with the old one?

@sindresorhus
Copy link
Owner Author

No, the intent is to move completely to the new UI.

@giuseppeg
Copy link

fwiw refined twitter lite is modular so probably you can fork it and add features to it

@sindresorhus
Copy link
Owner Author

@giuseppeg https://github.com/sindresorhus/refined-twitter#dont-you-have-another-extension-with-the-same-name

@giuseppeg
Copy link

@sindresorhus neato!

@b9AcE
Copy link

b9AcE commented Nov 24, 2019

I think it might be good to have one version for good old twitter and one for their new worsened web-UI, so that those that use the UA-trick or other methods to revert Twitter's design can still use this extension.
There should reasonably not be much maintenance needed for the good old web-UI, as it would be well tested and probably won't undergo further changes by Twitter.

@tiansh
Copy link

tiansh commented Nov 28, 2019

I had done some research on the UI. By wrapping webpack 4[1] and Object.prototype, it is possible to get Redux store, React, ReactDOM in page script. By wrapping React.createElement, it is possible to get every Components. It is fine to do something before / after store.dispatch()'s reducer. And since store is well strutted, it could be used to remove / hide some contents on webpage. But since all Components are compressed. Most Components' name are not available. It is hard to wrap Components' render to do something changing the layout.

[1]: Login page is using webpack 3, but inner page is webpack 4.

Something possible with Redux reducer wrapper described above:

  • Remove promoted tweets, user suggestions, news
  • Force use Latest timeline
  • Remove Who To Follow section in timeline

@equinox
Copy link

equinox commented Feb 17, 2020

Any chance it's been decided whether or not the new UI will be handled in this repo, or another? It'd save having to close and reject all the bug reports and PRs in this repo that were at the time accurate and could still be potentially used in conjunction with those extensions that allow you to use the old Twitter UI (while it lasts)?

@sindresorhus
Copy link
Owner Author

The plan is to only target the new UI.

@sindresorhus
Copy link
Owner Author

Closing as this extension is now deprecated: 8dd9df7

@sindresorhus sindresorhus unpinned this issue Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants