Greasy Fork

Greasy Fork is available in English.

Google Apps

Add some Google Apps to your Browser

当前为 2017-12-04 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Google Apps
// @namespace    http://tampermonkey.net/
// @version      0.6.0
// @description  Add some Google Apps to your Browser
// @author       Nils
// @match        https://www.google.de/
// @match        https://www.google.de/*
// @match        https://www.google.com/
// @match        https://www.google.com/*
// @grant        none
// ==/UserScript==

var image_youtube = document.createElement('img');
    image_youtube = new Image(25, 25);
    image_youtube.setAttribute('src', 'https://lh3.googleusercontent.com/Ned_Tu_ge6GgJZ_lIO_5mieIEmjDpq9kfgD05wapmvzcInvT4qQMxhxq_hEazf8ZsqA=w300');

var image_translate = document.createElement('img');
    image_translate = new Image(25, 20);
    image_translate.setAttribute('src', 'https://lh3.googleusercontent.com/ZrNeuKthBirZN7rrXPN1JmUbaG8ICy3kZSHt-WgSnREsJzo2txzCzjIoChlevMIQEA=w300'); 

var image_gmail = document.createElement('img');
    image_gmail = new Image(25, 20);
    image_gmail.setAttribute('src', 'https://image.flaticon.com/icons/svg/281/281769.svg');

    var link_youtube = document.createElement("a");
    link_youtube.setAttribute('href', 'https://www.youtube.com/?gl=DE');
    
    var link_translate = document.createElement("a");
    link_translate.setAttribute('href', 'https://translate.google.de/?hl=de&tab=iT');
    
    var link_gmail = document.createElement("a");
    link_gmail.setAttribute('href', 'https://www.google.com/gmail/');
    //var node = document.createTextNode("Youtube");
    //link.appendChild(node);


    var div = document.getElementById("tophf");
    div.appendChild(image_youtube);
    link_youtube.appendChild(image_youtube);
    div.appendChild(link_youtube);
    div.style="position:absolute; left:47.5%; top:95%;";
    
    div.appendChild(image_translate);
    link_translate.appendChild(image_translate);
    div.appendChild(link_translate);
    
    div.appendChild(image_gmail);
    link_gmail.appendChild(image_gmail);
    div.appendChild(link_gmail)