Template:Stub: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
Marti (talk | contribs)
m More cleanup... appears to be working
No edit summary
Line 1: Line 1:
<includeonly><div class="notice metadata" id="stub">''This article is a [[:Category:Stubs|stub]]. You can help GreaseSpot by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>. ''</div>[[Category:Stubs]]</includeonly>
// ==UserScript==
<noinclude>
// @name          Helvetimail
== Summary ==
// @namespace      http://josefrichter.com
Place this template reference near the top of articles that are incomplete.
// @description    A skin for Gmail by www.josefrichter.com
// @include        http://mail.google.com/*
// @include        https://mail.google.com/*
// @include        http://*.mail.google.com/*
// @include        https://*.mail.google.com/*
// ==/UserScript==


== Syntax ==
<nowiki>{{stub}}</nowiki>


== Examples ==
{{stub}}


[[Category:Templates]]
var hal = function (){
</noinclude>
var css = '@import "http://www.josefrichter.com/helvetimail.css";';
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
//node.type = "text/css";
node.innerHTML = css;
heads[0].appendChild(node);
}
}
}
 
window.setTimeout(hal, 4000);

Revision as of 01:58, 30 May 2010

// ==UserScript== // @name Helvetimail // @namespace http://josefrichter.com // @description A skin for Gmail by www.josefrichter.com // @include http://mail.google.com/* // @include https://mail.google.com/* // @include http://*.mail.google.com/* // @include https://*.mail.google.com/* // ==/UserScript==


var hal = function (){ var css = '@import "http://www.josefrichter.com/helvetimail.css";';

if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); //node.type = "text/css"; node.innerHTML = css; heads[0].appendChild(node); } } }

window.setTimeout(hal, 4000);