FixTweet / FxTwitter

Fix broken Twitter/X embeds! Use multiple images, videos, polls, translations and more on Discord, Telegram and others
https://fxtwitter.com
MIT License
2.62k stars 77 forks source link

Missing stats for nerds in /version #67

Closed sparkyfen closed 2 years ago

sparkyfen commented 2 years ago

I saw that the stats are available in the<head> tag but they are missing in the body when the page is rendered.

Prob just needs a quick copy-paste. https://github.com/dangeredwolf/FixTweet/blob/8d59ff240e7e6905d427779d1047774e884e02d4/src/strings.ts#L119

dangeredwolf commented 2 years ago

We don't include IP address info in the body because imo it's not very relevant for end users and more relevant to seeing where a crawler is requesting FixTweet from.

sparkyfen commented 2 years ago

Sorry if you've indirectly answered this but can't the end user see it in the meta tag anyways? Is the goal to prevent them from seeing it? Or just for crawlers?

dangeredwolf commented 2 years ago

If a user is savvy enough to know how to use inspect element or other tools to find the meta tag they're savvy enough to know what an IP address is so I don't see their being any issue there.

The reason we do it for crawlers is I find it neat to look at the IP address of which server Discord or Telegram is using to calculate the embed.

dangeredwolf commented 2 years ago

If you have any other concerns you can reopen the issue

sparkyfen commented 2 years ago

I guess then my final question is, isn't this <h3> tag useless then? https://github.com/dangeredwolf/FixTweet/blob/main/src/strings.ts#L119

dangeredwolf commented 2 years ago

it's separate for styling reasons lol