Skip to content

Commit

Permalink
Help and privacy policy drafts (#96)
Browse files Browse the repository at this point in the history
* Help and privacy policy drafts

* "Dynamic" heuristics adjusted

* Signed heuristics
  • Loading branch information
WesSouza authored Apr 3, 2024
1 parent 861e6be commit b2aedd5
Show file tree
Hide file tree
Showing 7 changed files with 968 additions and 813 deletions.
73 changes: 73 additions & 0 deletions src/components/enhanced-youtube/Layout.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
import BaseHeadMeta from '../../components/BaseHeadMeta.astro';
export interface Props {
title: string;
description?: string | undefined;
image?: string | undefined;
twitterCardType?: string | undefined;
}
const { title, description = '', image, twitterCardType } = Astro.props;
---

<!doctype html>
<html lang="en">
<head>
<BaseHeadMeta
title={`${title} - Enhanced Youtube Safari Extension`}
description={description}
image={image}
twitterCardType={twitterCardType}
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/enhanced-youtube/Icon16.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/enhanced-youtube/Icon32.png"
/>
<link
rel="icon"
type="image/png"
sizes="256x256"
href="/enhanced-youtube/Icon256.png"
/>

<style>
html {
font-family: system-ui;
background: #0f1112;
color: #fff;
min-height: 100vh;
}

*,
*::after,
*::before {
box-sizing: border-box;
}

a {
color: inherit;
}

body {
--colum-width: 50%;
margin: 0;
min-height: 100vh;
}

@media screen and (max-width: 760px) {
}
</style>
</head>
<body>
<slot />
</body>
</html>
65 changes: 65 additions & 0 deletions src/pages/enhanced-youtube/help.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
import Layout from '../../components/enhanced-youtube/Layout.astro';
---

<Layout title="Help">
<h1>Enhanced YouTube Safari Extension Help</h1>
<h2>How does it work?</h2>
<p>
A Safari Extension can be used to modify a website's behavior, enhancing the
user experience.
</p>
<p>
This app provides a Safari Extension that replaces the user interface
controls of the video player when browsing YouTube's desktop website.
</p>
<p>
The enhanced player provides a better user experience, guided by the
visionOS design language.
</p>
<p>The extension utilizes common web standards to enable this experience.</p>
<p>
No personal information is used and no modifications are made beyond the
video player.
</p>

<h2>I don't see the enhanced player</h2>
<p>
Make sure the extension is enabled and allowed to access youtube.com, and
that you are on YouTube's desktop website.
</p>
<p>To request YouTube's desktop website:</p>
<ol>
<li>Open Safari and navigate to <b>youtube.com</b>.</li>
<li>
Tap <b>\(Image(systemName: "textformat.size"))</b> on the right side of the
search field.
</li>
<li>
Tap <b>Request Desktop Website</b> \(Image(systemName: "desktopcomputer")).
</li>
</ol>

<p>To enable the extension on Settings:</p>
<ol>
<li>Open <b>Settings</b> and tap <b>Apps</b> on the sidebar.</li>
<li>Tap \(Image(systemName: "safari")) <b>Safari</b> on the list.</li>
<li>Scroll to the <b>General</b> section and tap <b>Extensions</b>.</li>
<li>Tap <b>\(Image(.sparklesPlayCircle)) Enhanced YouTube</b>.</li>
<li>Make sure the toggle at the top right is on.</li>
<li>
Under <b>Permissions</b>, tap <b>youtube.com</b> and then tap <b>Allow</b
>.
</li>
<li>Return to Safari and reload the video.</li>
</ol>

<h2>Contact</h2>
<p>If you have issues or questions, get in touch using the email below.</p>
<p>
<a
href="mailto:[email protected]?subject=Enhanced%20YouTube%20Extension%20contact"
>[email protected]</a
>
</p>
</Layout>
2 changes: 1 addition & 1 deletion src/pages/enhanced-youtube/heuristics/[version].json.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { APIRoute } from 'astro';

import { Heuristics_1 } from './_heuristics_1';
import Heuristics_1 from './_heuristics_1.json';

export const GET: APIRoute<
Record<string, unknown>,
Expand Down
Loading

0 comments on commit b2aedd5

Please sign in to comment.