1
0
mirror of https://github.com/XFox111/TabsAsideExtension.git synced 2026-04-22 07:58:01 +03:00
Files
TabsAsideExtension/data/links.ts
T
xfox111 2bd9337e63 Major 3.0 (#118)
Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
2025-07-30 15:02:26 +03:00

25 lines
1.1 KiB
TypeScript

import Package from "@/package.json";
export const buyMeACoffeeLink: string = "https://buymeacoffee.com/xfox111";
export const bskyLink: string = "https://bsky.app/profile/xfox111.net";
export const websiteLink: string = "https://xfox111.net";
export const v3blogPost: string = "https://at.xfox111.net/tabs-aside-3-0";
const githubLink = (path: string = "."): string =>
new URL(path, browser.runtime.getManifest().homepage_url).href;
export const githubLinks =
{
repo: githubLink(),
release: githubLink(`releases/tag/v${Package.version}`),
license: githubLink("blob/main/LICENSE"),
translationGuide: githubLink("wiki/Contribution-Guidelines#contributing-to-translations")
};
export const storeLink: string =
import.meta.env.FIREFOX
? "https://addons.mozilla.org/en-US/firefox/addon/ms-edge-tabs-aside/" :
chrome.runtime.getManifest().update_url?.startsWith("https://edge.microsoft.com/") ?
"https://microsoftedge.microsoft.com/addons/detail/tabs-aside/kmnblllmalkiapkfknnlpobmjjdnlhnd" :
"https://chromewebstore.google.com/detail/tabs-aside/mgmjbodjgijnebfgohlnjkegdpbdjgin";