Request to add URL parameter to make URL parameters permanent
Hi zadeus,
I can’t imagine going back to using the original twitter front-end as yours is so much better (not to speak of the recent authwall twitter introduced which makes completely unusable). I love nitter’s usability & speed, however, I have a very specific style preference chain that I always use:
https://nitter.net/[account]? theme=Twitter&bidiSupport=true&infiniteScroll=false&mp4Playback=true&hlsPlayback=true&muteVideos=true
So here’s my request: If there would be an additional parameter like setPermanent=true that saves the URL parameters in the current browser settings as well (cookies, session storage, etc.), that’d save me (and others who do the same thing) some time adjusting the settings each time I click on a tweet or browse to a different account.
I looked through the issues and found this from a few years ago:
Done, it saves the theme to preferences as well although I'm not sure that's the wanted behaviour, it's an easy fix so let me know if you want that changed.
Originally posted by @zedeus in https://github.com/zedeus/nitter/issues/84#issuecomment-562463449
It sounds to me like that's what you wanted, too (URL params are saved as permanent settings), but unfortunately it doesn’t seem to work right now (maybe it’s just me - let me know if that’s the case).
Cheers
Why not simply use your browser's bookmark feature?
Hmm, so can site settings already be set within the URL?
If so, I think a temporary solution would be to use a userscript to replace a portion of the URL with our preferred settings.
Like this: https://github.com/buckmelanoma/libreddit_redirect/blob/main/libreddit_redirect.js
Of course, being able to set our settings using a predefined URL that stays the same while navigating pages would be ideal!
Here are a couple of related issues/requests:
I am unable to get them working for my URL, but for those interested, the list of Nitter parameter names are listed here ("genPrefs" starting on line 52):
https://github.com/zedeus/nitter/blob/cc0e4b16681204346a329d532459dcf681458caa/src/prefs_impl.nim
I am unable to get them working for my URL
Clarified with @zedeus about URL Parameter functionality, and it seems this is not yet implemented.
━━━━━━━━━━━━━━━━━━━━━━━━━
If so, I think a temporary solution would be to use a userscript to replace a portion of the URL with our preferred settings.
Building on what I mentioned before, as a workaround, I was able to get custom URL Theming to work "permanently" using this userscript I created:
[REDACTED, BROKEN USERSCRIPT]
Feel free to use/update this script in the meantime!
I would love to see this feature.
Is there no way to hide Replies/Tweet Stats using a URL Parameter?