insin / control-panel-for-twitter

Browser extension which gives you more control over your Twitter timeline and adds missing features and UI improvements - available for desktop and mobile browsers
https://jbscript.dev/control-panel-for-twitter
MIT License
1.94k stars 63 forks source link

[Feature Request] Remove clickability of own profile button. #487

Closed ecceeecs closed 11 months ago

ecceeecs commented 11 months ago

I have a compulsive habit of checking my profile and, by extension, my tweets and likes. Is it possible to disappear one's profile button from the sidebar, as well as disable clicking on own's profile image /username to access their profile? A small elision, but it would do a lot for people like me. Of course, typing in my username would lead me to my account, but it would require some time. Thank you.

insin commented 11 months ago

This is maybe a bit too specific a feature for Control Panel for Twitter, but it's something that's easily done with a userstyles extension like Stylus

If you replace the link target in this CSS rule with your own Twitter username, then any and all links to your profile wil do nothing when clicked:

a[href="/jbscript"] {
  pointer-events: none;
}
ecceeecs commented 9 months ago

Hi, if anyone has this issue, I recommend the "Click to Remove Element" plugin for Chrome.