FTool

开发工具快捷链接集合

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         FTool
// @namespace    http://www.theoft.cn/
// @version      0.3.2
// @description  开发工具快捷链接集合
// @author       Theo Ft
// @match        *://*/*
// @match        chrome://newtab/
// @grant        GM_addStyle
// ==/UserScript==

GM_addStyle ( `
    .ftool {
        position: fixed;
		right: 0;top: 50%;
		margin-top: -50px;
		width: 100px;
		background-color: #e4f7ce;
		text-align: center;
		border: solid 1px #ccc;
		border-bottom-left-radius: 8px;
		border-top-left-radius: 8px;
		z-index: 999999;"
    }
	.ftool a{
		color: #755a19;
		text-decoration: none;
		display:block;
		padding: 4px 8px;
		border-top: 1px solid #ccc;
	}
	.ftool a:first-child{
		border-top: none;
	}
	.ftool a:hover{
		background: #e6e851;
		text-decoration: none;
	}
` );

(function() {
	'use strict';

	var div = document.createElement("div");
	div.classList.add("ftool");
	div.innerHTML = '<a href="https://tool.chinaz.com/tools/unixtime.aspx" target="timestamp">时间戳</a>' +
		'<a href="https://www.json.cn/" target="json">Json序列化</a>' +
		'<a href="https://tool.oschina.net/regex" target="regex">正则表达式</a>' +
		'<a href="http://tools.jb51.net/static/colorpicker/index.html" target="color">颜色选择器</a>' +
		'<a href="https://greasyfork.org/zh-CN" target="greasyfork">greasyfork</a>'
	document.body.appendChild(div)
    if(document.location.href=="https://www.cordcloud.biz/auth/login"){
        $(function(){
            $('#login').click();
        })
    }

    if(document.location.href=="https://www.cordcloud.biz/user"){
        $(function(){
            $('#checkin').click();
        })
    }

})();