Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(website): let links to our own repo send the referrer, so GitHub credits the site
EtienneLescot2896c1f7b9ad
diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.tsindex 17bb8e980..f71f654c9 100644--- a/website/docusaurus.config.ts+++ b/website/docusaurus.config.ts@@ -648,6 +648,8 @@ export default async function createConfig(): Promise<Config> {},{href: `${REPO_URL}/blob/main/ROADMAP.md`,+ // No noreferrer on links to our own repo: GitHub then credits the visit to the site.+ rel: "noopener",label: "Roadmap",position: "left",},@@ -661,7 +663,7 @@ export default async function createConfig(): Promise<Config> {type: "html",position: "right",value:- `<a class="navbar-github-link" href="${REPO_URL}" target="_blank" rel="noopener noreferrer">` ++ `<a class="navbar-github-link" href="${REPO_URL}" target="_blank" rel="noopener">` +// GitHub's own mark (Octicons `mark-github`), not a generic code glyph: the item// is one of several in the navbar and the logo is what makes it findable at a// glance. Inline for the same reason as the star above — no widget, no request.diff --git a/website/src/pages/download.tsx b/website/src/pages/download.tsxindex 7302926b5..145eaf065 100644--- a/website/src/pages/download.tsx+++ b/website/src/pages/download.tsx@@ -206,7 +206,7 @@ function StarPrompt({ starCount, locale }: { starCount: number | null; locale: sOpenScreen is free and MIT licensed. A star on GitHub helps other people find it.</Translate></p>- <a className={styles.startedCta} href={REPO_URL} target="_blank" rel="noopener noreferrer">+ <a className={styles.startedCta} href={REPO_URL} target="_blank" rel="noopener"><Star size={14} /><Translate id="download.started.cta">Star on GitHub</Translate>{starCount !== null ? (diff --git a/website/src/theme/Footer/index.tsx b/website/src/theme/Footer/index.tsxindex 767b07fe0..595423ef9 100644--- a/website/src/theme/Footer/index.tsx+++ b/website/src/theme/Footer/index.tsx@@ -112,8 +112,10 @@ export default function Footer(): ReactNode {<Translate id="footer.project.title">Project</Translate></div><div className={styles.colLinks}>- <Link href="https://github.com/getopenscreen/openscreen">GitHub</Link>- <Link href="https://github.com/getopenscreen/openscreen/releases">+ <Link rel="noopener" href="https://github.com/getopenscreen/openscreen">+ GitHub+ </Link>+ <Link rel="noopener" href="https://github.com/getopenscreen/openscreen/releases"><Translate id="footer.project.releases">Releases</Translate></Link><LocaleLink to="/blog/">@@ -132,10 +134,16 @@ export default function Footer(): ReactNode {<Translate id="footer.community.title">Community</Translate></div><div className={styles.colLinks}>- <Link href="https://github.com/getopenscreen/openscreen/blob/main/CONTRIBUTING.md">+ <Link+ rel="noopener"+ href="https://github.com/getopenscreen/openscreen/blob/main/CONTRIBUTING.md"+ ><Translate id="footer.community.contributing">Contributing</Translate></Link>- <Link href="https://github.com/getopenscreen/openscreen/blob/main/LICENSE">+ <Link+ rel="noopener"+ href="https://github.com/getopenscreen/openscreen/blob/main/LICENSE"+ ><Translate id="footer.community.license">License (MIT)</Translate></Link><Link href="https://getopenscreen.com/discord/">Discord</Link>