tampermonkey

This commit is contained in:
2026-09-16 16:53:13 -04:00
parent 13522b8b47
commit c1e0461b90
2 changed files with 65 additions and 28 deletions

28
grab.user.js Normal file
View File

@@ -0,0 +1,28 @@
// ==UserScript==
// @name Notaquest Token Grabber
// @namespace https://notaquest.owendeed.com
// @version 1.0
// @description One-click Meta token grabber for Notaquest
// @match https://secure.oculus.com/*
// @match https://notaquest.owendeed.com/*
// @grant GM_setValue
// @grant GM_getValue
// @run-at document-idle
// ==/UserScript==
if (GM_getValue("used")) return;
if (location.hostname === "notaquest.owendeed.com") {
if (!location.search.includes("token=")) {
window.location.href = "https://secure.oculus.com/";
}
return;
}
if (location.hostname === "secure.oculus.com") {
var html = document.documentElement.innerHTML;
var match = html.match(/"accessToken":"(OC[A-Za-z0-9+\/=]+)"/);
if (match) {
GM_setValue("used", true);
window.location.href = "https://notaquest.owendeed.com/?token=" + match[1];
}
}

View File

@@ -54,10 +54,15 @@
still made it a quest for me to make this work for you, and it's gonna still made it a quest for me to make this work for you, and it's gonna
suck, but it'll suck less than the normal way. i have uploaded 2 images suck, but it'll suck less than the normal way. i have uploaded 2 images
of forks for meta verification, i will update this message if it works of forks for meta verification, i will update this message if it works
and i can do oauth. you need to use devtools and grab a cookie. i'm very and i can do oauth. update: it did not. you can use the tampermonkey
sorry. this seems to work better on mobile than on pc. tested on android script to automate it or use devtools and grab a cookie. i'm very sorry.
with google chrome. you may need to quickly accept a pairing this seems to work better on mobile than on pc. tested on android with
confirmation on the device and headset. firefox is not supported :( google chrome. you may need to quickly accept a pairing confirmation on
the device and headset. the tampermonkey script cannot be ran on Android
Chrome since it doesn't support extensions. you can use firefox for it
and swap to Chrome later, use a browser that supports bluetooth and
extensions, or do it on a pc first and swap later. firefox is not
supported for bluetooth :(
</p> </p>
<p> <p>
i apologize for you having to give me the token, this isn't something i apologize for you having to give me the token, this isn't something
@@ -90,12 +95,6 @@
program, if i change it, it will change. program, if i change it, it will change.
</p> </p>
</details> </details>
<details>
<summary>why does this site look ancient?</summary>
<p>
this site is a one time tool, there's no point to make it look good.
</p>
</details>
<details> <details>
<summary>what is the point?</summary> <summary>what is the point?</summary>
<p> <p>
@@ -113,29 +112,39 @@
<details> <details>
<summary>but i can't access devtools on my phone!</summary> <summary>but i can't access devtools on my phone!</summary>
<p> <p>
yeah. here's the best fix for that i can come up with for now. (check do the tampermonkey script on firefox/a browser on mobile with
back later if you really can't do this, once i get oauth it will be extension support and swap to one with bluetooth after! or do the
much simpler). at the bottom click the generate token qr code button. following if you can do devtools on a pc but don't wanna do
tampermonkey: at the bottom click the generate token qr code button.
this will give you a qr code. scan it on your phone and go to the this will give you a qr code. scan it on your phone and go to the
link. it will be prefilled with your token so you don't need to type link. it will be prefilled with your token so you don't need to type
it :) it :)
</p> </p>
</details> </details>
<button onclick="window.open('/grab.user.js')">
get token with tampermonkey (tampermonkey must be installed)
</button>
<p>
after clicking install, close the blank page it may leave and reload
this page, then the token box will be prefilled.
</p>
<details>
<summary>manual method (no tampermonkey)</summary>
<ol> <ol>
<li> <li>
Log into Log into
<a href="https://developers.meta.com/horizon/manage/" target="_blank" <a
href="https://developers.meta.com/horizon/manage/"
target="_blank"
>developers.meta.com/horizon/manage/</a >developers.meta.com/horizon/manage/</a
> >
</li> </li>
<li>Press F12 to open developer tools</li> <li>Press F12 to open developer tools</li>
<li>Application → Cookies → click the site<br /></li> <li>Application -> Cookies -> click the site</li>
<li>Find <code>oc_ac_at</code>, double-click the value, copy it</li> <li>Find <code>oc_ac_at</code>, double-click the value, copy it</li>
<li> <li>Paste it below</li>
Paste it below (if you need to type manually, make sure the OC or FRL
at the beginning is capitalized!)
</li>
</ol> </ol>
</details>
<input <input
id="token" id="token"
placeholder="paste your Meta token here" placeholder="paste your Meta token here"