Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternative frontend redirection page #112

Open
DarkCat09 opened this issue Mar 13, 2024 · 2 comments
Open

Add alternative frontend redirection page #112

DarkCat09 opened this issue Mar 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@DarkCat09
Copy link
Member

Useful in iframes. For example, do not load YouTube embed, but load a txtdot page instead, where "Open in Invidious" / "Original page" can be chosen. Alternative frontends' URLs are configured in settings, #99

@DarkCat09 DarkCat09 added the enhancement New feature or request label Mar 13, 2024
@DarkCat09
Copy link
Member Author

@artegoser, we'll add this page as a new engine?

@DarkCat09
Copy link
Member Author

DarkCat09 commented Mar 13, 2024

Just realized that in the engine output HTML, we can set classes to apply txtdot's CSS.
So, yeah, I think the "alt frontend redirection page" should be added as a new engine, with txtdot-styled buttons in its output.

Upd: there will be "Home" and "Original page" buttons at the top in this case.
So maybe not:
"Redirect to alt frontend" / "Original page" buttons in a row,
but:
"Home" / "Original page" at the top
URL field (filled with URL configured in settings) / "Redirect" button.

Or keep it simple and create a separate txtdot route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant