2
5
Fork
You've already forked userscripts
2

Add support to rewrite Reddit links to Teddit #4

Merged
izzy merged 1 commit from ltguillaume/userscripts:master into master 2020年11月28日 21:49:46 +01:00
Contributor
Copy link
No description provided.
Owner
Copy link

Thanks! Tried it and it works (first wondered why it failed, so a note: one explicitly needs to set a teddit instance after updating the script. When installing it for the first time, it most likely works out-of-the-box as the default settings will be used).

Good thing it failed, that gave me an idea how to disable a certain service: setting its instance to an empty string. Just need to handle that appropriately then.

Thanks! Tried it and it works (first wondered why it failed, so a note: one explicitly needs to set a teddit instance after updating the script. When installing it for the first time, it most likely works out-of-the-box as the default settings will be used). Good thing it failed, that gave me an idea how to disable a certain service: setting its instance to an empty string. Just need to handle that appropriately then.
Author
Contributor
Copy link

Yeah I saw that, too, but I didn't know if you'd appreciate adding code for that. I would also like to be able to disable a service rewrite with an empty string, yeah!

Yeah I saw that, too, but I didn't know if you'd appreciate adding code for that. I would also like to be able to disable a service rewrite with an empty string, yeah!
Owner
Copy link

I would also like to be able to disable a service rewrite with an empty string, yeah!

Well, you can – just update to v1.5.1 😃

Besides, there was another request at Greasyfork to toggle the tumbnails for Teddit. I'm not a Reddit user, so I wouldn't know what to look for when checking whether the code works – but if you wish to address that, too, with another PR, just take a look how the Invidious proxy is toggled and introduce a corresponding tedThumb variable. The URL parameter would be showThumbs=false.

> I would also like to be able to disable a service rewrite with an empty string, yeah! Well, you can – just update to v1.5.1 :smiley: Besides, there was [another request at Greasyfork](https://greasyfork.org/de/scripts/374833-yt2invidio/discussions/66899) to toggle the tumbnails for Teddit. I'm not a Reddit user, so I wouldn't know what to look for when checking whether the code works – but if you wish to address that, too, with another PR, just take a look how the Invidious proxy is toggled and introduce a corresponding `tedThumb` variable. The URL parameter would be `showThumbs=false`.
Author
Contributor
Copy link

Haha, had already updated, confirmed working 👍

As for the thumbnails, reddit-lite was created for mobile use and thumbnails aren't really integrated into the UI nicely. That's different for teddit. I guess disabling thumbs was added to reddit-lite in order to save data and/or on-screen space or something, but I doubt that many users will use it. I'd say let's not put all kinds of rarely used features into the script.

Haha, had already updated, confirmed working 👍 As for the thumbnails, reddit-lite was created for mobile use and thumbnails aren't really integrated into the UI nicely. That's different for teddit. I guess disabling thumbs was added to reddit-lite in order to save data and/or on-screen space or something, but I doubt that many users will use it. I'd say let's not put all kinds of rarely used features into the script.
Owner
Copy link

Thanks for the insights – and full ack then!

Thanks for the insights – and full ack then!
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
izzy/userscripts!4
Reference in a new issue
izzy/userscripts
No description provided.
Delete branch "ltguillaume/userscripts:master"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?