Greasemonkey Manual: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
No edit summary
(Undo revision 5735 by 188.105.228.140 (Talk))
Line 1: Line 1:
// Faarks Grepo-Tools
{{Greasemonkey Manual TOC}}
// version 0.3 Beta
// Copyright (c) 2010, Dirk "Faark" Fieblinger
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Hello World", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name          Faarks Grepolis Tools
// @namespace    http://faark.no-ip.info/static/faarksGrepoTools
// @description  Some nice little features for Grepolis (Browsergame by InnoGames)
// @version      0.3
// @include      http://*.grepolis.*/game/*
// ==/UserScript==


// @include      http://xx*db.grepo.innogames.net/game/*
== Welcome ==
Welcome to the [[Greasemonkey]] Manual. This manual is intended to be the authoritative reference for all things [[Greasemonkey]].


if( !document.getElementById( 'faarksGrepoTools_scriptObject' ) ){
This manual is intended to describe the newest version of the Greasemonkey extension.
var grepo_faark_tools_script_object=document.createElement('script');
If an [[Version_history|older version]] of Greasemonkey is in use, it is recommended to upgrade to the latest, or some of the contents will not make sense.
grepo_faark_tools_script_object.setAttribute('src','http://grepo.faark.de/faarksGrepoTools/current/faarksGrepoTools.js');
 
grepo_faark_tools_script_object.setAttribute('id','faarksGrepoTools_scriptObject');
It is divided into two main parts. The first is for general users of Greasemonkey;
document.body.appendChild(grepo_faark_tools_script_object);
it covers such topics as installing [[user script]]s and using the features that Greasemonkey provides.
}
The latter is dedicated to [[user script]] authors and provides information about how to create scripts.
 
Navigation to any section directly is provided by using the table of contents at the right.
Or simply start reading at the first chapter: [[Greasemonkey Manual:Installing Scripts|Installing Scripts]].

Revision as of 07:38, 17 October 2010


Greasemonkey Manual
Using Greasemonkey
Installing Scripts
Monkey Menu
Getting Help
User Script Authoring
Editing
Environment
API

Welcome

Welcome to the Greasemonkey Manual. This manual is intended to be the authoritative reference for all things Greasemonkey.

This manual is intended to describe the newest version of the Greasemonkey extension. If an older version of Greasemonkey is in use, it is recommended to upgrade to the latest, or some of the contents will not make sense.

It is divided into two main parts. The first is for general users of Greasemonkey; it covers such topics as installing user scripts and using the features that Greasemonkey provides. The latter is dedicated to user script authors and provides information about how to create scripts.

Navigation to any section directly is provided by using the table of contents at the right. Or simply start reading at the first chapter: Installing Scripts.