added twitch embed login fix
This commit is contained in:
Vendored
+17
@@ -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()
|
||||
}
|
||||
})()
|
||||
@@ -9,6 +9,10 @@ Requires Violentmonkey (or Tampermonkey etc): [Chrome](https://chrome.google.com
|
||||
- **zomo.dev** v1.1
|
||||
- `https://x.com/*`,`https://twitter.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)
|
||||
- **zomo.dev** v1.0
|
||||
- `https://brantsteele.net/hungergames/edit.php`
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
;(async () => {
|
||||
if (!(await document.hasStorageAccess())) {
|
||||
await document.requestStorageAccess()
|
||||
location.reload()
|
||||
}
|
||||
})()
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user