Open this page from a desktop browser.
Choose an option for extracting URL links from a webpage:
- Either install a browser extension that can do this for you:
- Firefox: https://addons.mozilla.org/en-GB/firefox/search/?q=copy+links
/* | |
The new (2017) YouTube interface is quite pretty (especially Dark Mode), but doesn't play nice with Chromecast controls (yet). | |
Until this is fixed, can use this bookmarklet to easily go back to the old YT interface with the more robust casting controls. | |
All this does is just add an extra query string parameter to the current URL: disable_polymer=true | |
To use, create a new bookmark in your browser, name it whatever you want, and then copy and past the code below into the address field. | |
Now when on any YouTube page and you need to go back to the old interface - click your new bookmarklet and it will automagically disable the new interface. | |
Adapted from: https://stackoverflow.com/a/20678352 |
To be placed in a main parent Activity, or as part of some custom BaseActivity class for handling permission request and responses without losing the "flow".
Example usage:
btn_load_timeline?.setOnClickListener {
permissionCheck(Manifest.permission.READ_EXTERNAL_STORAGE, PermissionRequestCode.TIMELINE_FEATURE_EXTERNAL_STORAGE) { permissionResponse ->
when (permissionResponse) {
PermissionResponse.PERMISSION_GRANTED -> {
Log.d(TAG, "Permission granted, load timeline here")
// Do stuff with granted permission
Updated: 2022-07
I wrote the first edition of this as a guide for myself at the end of 2017 - it was a mashup of Pi-Hole + PiVPN scripts and an IPsec script installed within a separate Raspian Docker image... and it actually worked!
But things have come a long way, and WireGuard happened - I've since streamlined and simplified my setup into a single Docker Compose script.
The steps below assume the following:
Just documenting my own experiences in restoring my Nexus 5X back from bootlooping state.
Hopefully this can be helpful to some, but "common sense" caveats apply:
Remember: