Implement a huge amount of stuff to get youtube working again