Coder Social home page Coder Social logo

taux1c / onlyfans-cookie-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from m-rcus/onlyfans-cookie-helper

1.0 0.0 0.0 44 KB

An extension made to make it easier to copy the correct `config.json` values when using: https://github.com/DIGITALCRIMINALS/OnlyFans

License: MIT License

JavaScript 90.75% HTML 9.25%

onlyfans-cookie-helper's Introduction

OnlyFans Cookie Helper

An extension made to make it easier to copy the correct config.json values when using DIGITALCRIMINALS/OnlyFans.

It's ugly and super simple.

How to install

For now you have to download the repository and load it manually.
Eventually I may upload it to the Firefox / Chrome extension stores, but for now this is what you can do to use the extension...

Firefox

Option 1:

Go to Releases, download the .xpi file and install it by typing about:addons into your URL bar, pressing CTRL+Shift+A or clicking the "hamburger menu" top-right of the Firefox window and then "Addons".

Screenshot on how to do Firefox install option 1

Option 2:

Follow the Trying it out steps on their developer website.

Chrome / Brave

Follow the steps on Chrome's "Getting Started" tutorial for extensions.

NOTES:

  • You do NOT need to create the manifest.json file yourself, that is already included in the repository.
  • The extension may say it contains errors and then highlight a permission called "contextualIdentities":
    • It's safe to ignore, as it's a permission meant for Firefox users, but does not affect Chrome / Brave.

These steps MAY work on Microsoft Edge, but no guarantees.

How to use

Make sure you're logged into the OnlyFans website normally.

After installing the extension, click the cookie icon.
A popup should show up (see preview) with a JSON-formatted text.
There's a a "Copy to clipboard" button at the bottom of the popup that should copy the text to your clipboard.
If it does not work, you can just copy the text manually by selecting it.

Once you've copied the text to clipboard, you can paste it into the auth.json file in your profiles folder.
The default auth.json file should be located in <OnlyFans-Software-Folder>/.profiles/OnlyFans/default/auth.json, but may not show up until you've started up the OnlyFans software at least once.

You can also create a new folder and a separate auth.json file, which is useful if you have multiple accounts.
For example:

  • <OnlyFans-Software-Folder>/.profiles/OnlyFans/my-personal-account/auth.json
  • <OnlyFans-Software-Folder>/.profiles/OnlyFans/my-secret-account/auth.json

Preview

Screenshot as of extension version v1.0.3, which means it's slightly outdated.
A few things to note:

  • auth_hash, auth_uniq_, email and password are typically empty. Don't panic if they don't have any values, as it's completely normal.
  • The username field is by default set to "u" plus the same number as auth_id. It does not need to be your actual OnlyFans username.

Preview of extension

Permissions

Overview of permissions and why they're required.

  • cookies
    • Values such as auth_id and sess are contained within cookies.
    • Keep in mind that the cookies permission only applies for onlyfans.com and no other websites.
  • clipboardWrite
    • To copy the auth.json values into your clipboard
  • storage
    • This is specifically just to "synchronize" the x_bc value to the popup (so it can be copied).
    • x_bc isn't available via the regular cookies permission, so we need a workaround (which utilizes the storage permission).
  • contextualIdentities
    • On Firefox, it's used to support multi-account containers.
    • On Chromium-based browsers (Google Chrome, Brave, Microsoft Edge etc.) it does nothing. However, it will give a warning (that you can ignore).

LICENSE

MIT License

Mirrors

This project is currently mirrored to three different providers:

Those are the only 'official' sources for this extension.
Anyone else can of course freely mirror the project as they see fit.

Sellout (Tips)

If you find the extension useful and would like to send me a tip, then I'll gladly take some crypto <3

  • Bitcoin: bc1qps35rpadgmpf2a7vmuq45xnt7qscymtlnny6mx
  • Dogecoin: DAjtoHdXFFhRc3qJq8sqCWpQLLDB8t3L6n
  • Litecoin: LbX5iqVfYoRz7kPAPQoEKdqiN7Y9PRxsAg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.