Giter VIP home page Giter VIP logo

in-app-browser-framebreaker's Introduction

In-app browser framebreaker demo

If you open a link in TikTok's or Instagram's apps, they don't open using the native browser, but using the respective social network's built-in browser. This causes serious privacy concerns for once, but according to stackoverflow, also interferes with basic functions such as printing the website.

For more information see Adrian Holovaty's blogpost or Felix Krause.

Especially tiktok is notorious here: While Instagram's in-app browser offers a "Open in Chrome" link, TikTok does not allow that at all and even hides the browser URL from you.

I cobbled together some stackoverflow answers and github gists I found on the internet out of personal curiosity (see index.html sourcecode for references). A lot of advice is outdated, and so will this website for sure.

This repo provides a website with a button that breaks the website out of the in-app browser. Tested as of 2022 with TikTok's and Instagram's in-app browser on Android. I don't have an iOS device to test on.

See demo here.

To try out the demo, you can:

  1. Open the tiktok (or instagram) app.
  2. Browse to a popular creator's profile that contains a youtube link
  3. Tap the youtube link (will open in-app browser)
  4. Enter google.com into the youtube searchbar
  5. There will be at least one video that has a link to Google in its video descripton, tap it.
  6. Search for this repository (or my username).
  7. Browse to the above link.
  8. Tap the "Break out" button and see how the website re-opens in hopefully the native browser.

Caveats

  • You may get prompts when clicking "Break me". Certainly on iOS, and perhaps also on certain Android versions.

TODO

  • Detect in-app browsers, i.e. don't rely on button-press

in-app-browser-framebreaker's People

Contributors

untitaker avatar

Watchers

 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.