diff --git a/dist/fuck-twitter.user.js b/dist/fuck-twitter.user.js new file mode 100644 index 0000000..69ce34e --- /dev/null +++ b/dist/fuck-twitter.user.js @@ -0,0 +1,13 @@ +// ==UserScript== +// @name redir x.com and twitter.com -> bsky.app +// @namespace zomo.dev +// @match https://x.com/* +// @match https://twitter.com/* +// @version 1.0 +// @description fuck twitter +// @runat document-start +// @downloadURL https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/fuck-twitter.user.js +// @supportURL https://git.zomo.dev/zomo/browser-scripts/issues +// @homepageURL https://git.zomo.dev/zomo/browser-scripts +// ==/UserScript== +location.href = 'https://bsky.app/' diff --git a/readme.md b/readme.md index 3360259..5c1367e 100644 --- a/readme.md +++ b/readme.md @@ -5,6 +5,9 @@ Requires Violentmonkey (or Tampermonkey etc): [Chrome](https://chrome.google.com ## Installs +- [redir x.com and twitter.com -> bsky.app](https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/fuck-twitter.user.js) + - zomo.dev 1.0 + - fuck twitter - [Hunger Games BrantSteele WebP Support](https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/hungergames-brantsteele-webp.user.js) - zomo.dev 1.0 - fix the form validator to allow webp images diff --git a/scripts/fuck-twitter/main.ts b/scripts/fuck-twitter/main.ts new file mode 100644 index 0000000..f384c00 --- /dev/null +++ b/scripts/fuck-twitter/main.ts @@ -0,0 +1 @@ +location.href = 'https://bsky.app/' diff --git a/scripts/fuck-twitter/meta.json b/scripts/fuck-twitter/meta.json new file mode 100644 index 0000000..7577344 --- /dev/null +++ b/scripts/fuck-twitter/meta.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://git.zomo.dev/zomo/browser-scripts-builder/raw/branch/main/meta.schema.json", + "name": "redir x.com and twitter.com -> bsky.app", + "description": "fuck twitter", + "namespace": "zomo.dev", + "match": ["https://x.com/*", "https://twitter.com/*"], + "version": "1.0", + "runat": "document-start" +} diff --git a/scripts/fuck-twitter/tsconfig.json b/scripts/fuck-twitter/tsconfig.json new file mode 100644 index 0000000..0314104 --- /dev/null +++ b/scripts/fuck-twitter/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "es2021", + "module": "commonjs", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "strict": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "types": [ + "../../node_modules/@types/greasemonkey", + "../../node_modules/browser-scripts-builder" + ] + } +}