Added support for giving url and copying from one browser window to
another. Refactored. Prepared detection customization.