Giter Site home page Giter Site logo

aman122641 / buypass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bypassiwastaken/buypass

0.0 0.0 0.0 15 KB

Opening blocked sites with the PaymentRequest API

Home Page: https://buypass.bypassi.com

JavaScript 37.43% CSS 33.55% HTML 29.01%

buypass's Introduction

The Buypass

WARNING: This is a mid bypass. If you don't like it, cope.

How it works

There's an obscure API in most browsers called the Payment Request API. The use purpose is to provide an easy way for websites to make transactions. In practice, this means opening a small window containing a website. In short, this weird window messes up the filtering of some extensions.

What it can and can't do

  • This only lasts for 3 minutes!
  • Pages visited in this window will not be saved to your history, but their cookies will be saved.
  • You can right-click on the window to go back and forward.
  • There's no good way to make the text in the window larger.
  • This won't bypass network filters.
  • You can't log into non-school accounts.
  • It's completely possible that some filters could read and block the data sent within the window.

How to set it up yourself

You can just clone and host this repo. Don't change anything in pay folder unless you know what you're doing.

The base code for opening the PaymentRequest looks like this:

new PaymentRequest(
  [
    {
      supportedMethods: location.origin + "/pay/main.json"
    },
  ],
  {
    total: {
      label: "_",
      amount: { value: "1", currency: "USD" },
    },
  }
).show();

The code above will load google.com by default. To specify a URL, do the following:

new PaymentRequest(
  [
    {
      supportedMethods: location.origin + "/pay/main.json",
      data: { url: "https://youtube.com" },
    },
  ],
  {
    total: {
      label: "_",
      amount: { value: "1", currency: "USD" },
    },
  }
).show();

buypass's People

Contributors

bypassiwastaken avatar mrbrain295 avatar deryilz avatar

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.