Giter Site home page Giter Site logo

abc's Introduction

A:BC (About:Blank Cloak)

A javascript library for creating websites with hidden urls. Demo

Types

About

This method seems to be quite old and I first found in an old bookmarklet that had many little features using it to "clone" websites by geting the innerHTML of the whole page and making it in an about:blank page. To use it you just make a new var with a window.open like var page = window.open() but not adding a url. Then use innerHTML of document write like page.document.write("test"). It has been used in SC and Utopia but can be found in older bookmarklets.

Blob

This method creates a blob url (a temporary url that thats stores data in a file-like object). It's a feature thats used by many websites and is well documented but not used by the community. You can find the official Mdn docs here.

Overwrite

Just sets the innerHTML of the current page.

Notes

How it Works

Basically creates a full screen iframe with whatever url you want.

Hide From History

The about method does hide the website from your history. The blob one does go into your history but is deleted very soon after. The overwrite method just shows the current website you are on. Extensions like securly that have iframe detection might still see it.

Unblockable

Despite what you have heard, it will still be blockable because your viewing the website just in an iframe.

Basic Example

Note: You can also locally host ABC on your website. Just download this file and change the src to /index.js or your file path

HTML

<script src="https://cdn.jsdelivr.net/gh/FogNetwork/ABC/index.js"></script>

Javascript

//Creates new ABC
var page = new ABC({
    "type": "blank", //Blank, blob, or overwrite
    "url": "https://example.com" //Any url
})
//Set the type
page.setType("blank")
//Set the url
page.setUrl("https://example.com")
//Get iframe code
console.log(page.getCode())
//Open page
page.open()

Credits

Nebelung - For this thing

Veracity - See below

Both the about:blank method and fullscreen iframe have be around for a while but veracity combined them to from Utopia

abc's People

Contributors

nebelung-dev avatar lucasrpatten 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.