arieljannai / Share to Telegram (floating bubble)

// ==UserScript==
// @name         Share to Telegram (floating bubble)
// @namespace    https://github.com/arieljannai
// @version      0.1.1
// @description  Adds a share to telegram floating bubble to every site.
// @author       Ariel Jannai
// @icon         https://telegram.org/img/t_logo.png
// @noframes
// @grant        none
// @include      /^https?://.*/
// @exclude      https://web.telegram.org/
// @exclude      https://zhukov.github.io/webogram
// @exclude      https://web.whatsapp.com/
// @license      MIT
// ==/UserScript==
/* jshint -W097 */
'use strict';

var floatingButton = '<div id="telegram-share-btn" onclick="javascript:;" title="Send to Telegram"><div id="close-telegram-share" title="Close bubble" onclick="javascript:;"><div id="cross"></div></div></div>';

addGlobalStyle('#telegram-share-btn { background: ' + tlgrmShrGetIcon('telegram') + ' no-repeat; background-size: contain; width: 50px; height: 50px; position: fixed; bottom: 10px; left: 10px; opacity: 0.5; cursor: pointer; } #telegram-share-btn:hover { opacity: 1; }');
addGlobalStyle('#close-telegram-share { background: ' + tlgrmShrGetIcon('close') + ' no-repeat; background-size: contain; top: -15%; right: -15%; width: 30%; height: 30%; position: relative; opacity: 0.5; cursor: pointer; float: right; visibility: hidden; } #close-telegram-share:hover { opacity: 1; }');

var tempDiv = document.createElement('div');
tempDiv.innerHTML = floatingButton;
document.body.insertAdjacentElement('beforeend', tempDiv.firstChild);

var telegramShareBtn = document.getElementById('telegram-share-btn');
var closeTelegramShare = document.getElementById('close-telegram-share');

telegramShareBtn.onmouseenter = function() {
	closeTelegramShare.style.visibility = 'visible';
}

telegramShareBtn.onmouseleave = function() {
	closeTelegramShare.style.visibility = 'hidden';
}

telegramShareBtn.onclick = function(event) {
	console.log('sharing to telegram');
	window.open(encodeURI("https://telegram.me/share/url?url=" + document.location.href + "&text=" + document.title), '_blank');
}

closeTelegramShare.onclick = function(event) {
	event.stopPropagation();

	console.log('closing the telegram share bubble until next time');
	removeTelegramShareButton();
}

// https://somethingididnotknow.wordpress.com/2013/07/01/change-page-styles-with-greasemonkeytampermonkey/
function addGlobalStyle(css) {
	var head, style;
	head = document.getElementsByTagName('head')[0];
	if (!head) { return; }
	style = document.createElement('style');
	style.type = 'text/css';
	style.innerHTML = css;
	style.className += ' telegram-share-btn-css ';
	head.appendChild(style);
}

function removeTelegramShareButton() {
	document.getElementById('telegram-share-btn').remove();
	var cssArr = document.getElementsByClassName('telegram-share-btn-css');
	for (var i = cssArr.length - 1; i >= 0; i--) {
		cssArr[i].remove();
	}

	return true;
}

function tlgrmShrGetIcon(name) {
	// https://telegram.org/img/t_logo.png
	var telegramLogo = 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOwAAADsCAYAAAB300oUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ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OPCWuWSu1xYDX6OdnO+Kwehp+w/okYJBLFuRX/YFkfdxVznXHcfU23NHdGUCeK1b9P68HsgwH/mIvXFBv4yac6AUkLHD88ap9Mh4oMHYNO+cKB/Qw+smV8QA/d3hurLoNYJKxmONsd1xSl+BeL6tSgOQXap3DqHkmCUgNvnxzrBOuKTu489mRPgC37nGKY2dPgNuCwZq9WbioFn8L/gcX+AHPyNNOYJx8wAMkPxe8wxuTcVVeUzDl8J0AzaefixTjy2lJAP2OBL+a7/6vDN5nigquygFImf11RFPHzBYA7U0r8S8MIQrqYkr1XZrlB2g++UjYQ9WkJIDkUtO2m/s7ERX5Tb8Ko5x+OBHAW7Q5jBGsZlOhF8D3qCk5EljoI1oaYE7KHJ+gnjinWNK+3/d7dZd+/8RT5qB4VH+TK22Z+Yo+n6VFsTuX7BWc7mv3zNSen7Zzrolhv9yK6Orua/Zdv7yij75m4sFlId36yqUP6FmVvq9csyXtoTuIunwzrk1qHJhqJBQzBs9ed7jBLlN7eF1JUVv9uOsfv3YR1cXHE2kMZa+o8xztnmLyHhI63D12xvOvbNpWsWtXxbZNK54vHnt3nmmFV6fH/lknN7E0k8ZS9w11/+X/falI4IdZ0wcvrjteB17rSmPqp1vqPz//WTKxr2WXTe07aWn9OExgUw8aW92WNpioOlmxbNZDhQUdM1OTvN6k1MyOBYWjS5ZXNLhX4vdlnWkKypp9IhIT5disTJqKvAPWXw2P4spr/eNoUkodvVX6ndWrW0am0ASVNmLFWXGKM8vuT6XJytNj8ppToSFOlf/uZg9NXu0LZ5R/arEZ/uVPy4sL2/MDkicrf8Tk0sXlb2yv2LWrYvsb5YtLJ4/Iz/QQU0wxxRRTTDHFFFNMMcUUU0yu6n9lwlTdPzFsggAAAABJRU5ErkJggg==")';

	switch (name) {
		case 'telegram':
			return telegramLogo;
		case 'close':
			return closeIcon;
		default:
			return false;
	}
}