added twitch embed login fix

This commit is contained in:
zomo
2026-09-05 14:39:32 -05:00
parent 27ae0dd0ab
commit 610a879405
5 changed files with 53 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// ==UserScript==
// @name twitch embed login fix
// @namespace zomo.dev
// @match https://twitch.tv/embed/*
// @version 1.0
// @description embedded twitch frames will automatically request cookie access from the browser. as long as you're logged in to twitch and cookies aren't fully blocked this will keep you logged into embedded frames
// @runat document-start
// @downloadURL https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/twitch-embed-login.user.js
// @supportURL https://git.zomo.dev/zomo/browser-scripts/issues
// @homepageURL https://git.zomo.dev/zomo/browser-scripts
// ==/UserScript==
;(async () => {
if (!(await document.hasStorageAccess())) {
await document.requestStorageAccess()
location.reload()
}
})()
+4
View File
@@ -9,6 +9,10 @@ Requires Violentmonkey (or Tampermonkey etc): [Chrome](https://chrome.google.com
- **zomo.dev** v1.1 - **zomo.dev** v1.1
- `https://x.com/*`,`https://twitter.com/*` - `https://x.com/*`,`https://twitter.com/*`
- redir x.com and twitter.com -> xcancel.com - redir x.com and twitter.com -> xcancel.com
- [twitch embed login fix](https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/fuck-twitter copy.user.js)
- **zomo.dev** v1.0
- `https://twitch.tv/embed/*`
- embedded twitch frames will automatically request cookie access from the browser. as long as you're logged in to twitch and cookies aren't fully blocked this will keep you logged into embedded frames
- [Hunger Games BrantSteele WebP Support](https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/hungergames-brantsteele-webp.user.js) - [Hunger Games BrantSteele WebP Support](https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/hungergames-brantsteele-webp.user.js)
- **zomo.dev** v1.0 - **zomo.dev** v1.0
- `https://brantsteele.net/hungergames/edit.php` - `https://brantsteele.net/hungergames/edit.php`
+6
View File
@@ -0,0 +1,6 @@
;(async () => {
if (!(await document.hasStorageAccess())) {
await document.requestStorageAccess()
location.reload()
}
})()
+9
View File
@@ -0,0 +1,9 @@
{
"$schema": "https://git.zomo.dev/zomo/browser-scripts-builder/raw/branch/main/meta.schema.json",
"name": "twitch embed login fix",
"description": "embedded twitch frames will automatically request cookie access from the browser. as long as you're logged in to twitch and cookies aren't fully blocked this will keep you logged into embedded frames",
"namespace": "zomo.dev",
"match": ["https://twitch.tv/embed/*"],
"version": "1.0",
"runat": "document-start"
}
+17
View File
@@ -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"
]
}
}