Reddit Auth (*.reddit.com only)

Handle authentication for Reddit, and provide some helper functions for cookies and tokens.

אין להתקין סקריפט זה ישירות. זוהי ספריה עבור סקריפטים אחרים // @require https://update.greasyfork.org/scripts/575868/1811613/Reddit%20Auth%20%28%2Aredditcom%20only%29.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

יוצר
littux
גרסה
1.0.1
נוצר
29-04-2026
עודכן
29-04-2026
Size
3.47 קילו-בייט
רישיון
GPL-3.0-only

Needs @grant GM_xmlhttpRequest and @connect www.reddit.com to work

Exposes the following functions:

declare var gmFetch: typeof GM_xmlhttpRequest extends (details: infer T) => any ? (details: T) => Promise<Tampermonkey.Response<T["context"]>> : never;
declare var pingURL: (url: string) => Promise<void>;
declare var getCookie: (name: string) => Promise<string | null>;
declare var getCookiePing: (name: string, pingSrc: string) => Promise<string>;
declare var getToken: () => Promise<string>;