Greasemonkey Manual:Editing: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(23 intermediate revisions by 12 users not shown)
Line 1: Line 1:
Digmaan sa Oppresso Liber (06.01.2011 4:52:22)
__NOTOC__
Tiga Sugod: REDnhoJ galing RedPhulah
{{Greasemonkey Manual TOC}}
Tiga Depensa: Batista69 galing 7TH-Evolution 1, Xbytes galing Oppresso Liber, Seventh First, Deo Vindice
 
Kinalabasan ng labanan
== The Editor ==
Tiga Sugod
 
As of Greasemonkey 4.0, due to limits in the WebExtension API surface, only an embedded editor is available.
 
[[Image:Editor.png|thumb|382px|frame|center|Greasemonkey's script editor]]
 
The script itself is listed in the editor's first tab.
Any <code>@require</code> or <code>@resource</code> files will be listed in additional tabs.
Mga Kalaban 0 (-400) 7 (-0) 10 (-0) 0 (-250) 35 (-0) - 0 (-100)
 
Tiga Depensa
Press <kbd>Ctrl-S</kbd> (or click the floppy disk icon at top left<!-- TODO: Update screenshot -->) to save any changes.
Xbytes 948 (-180) 36 (-0) - 112 (-311) 30 (-0) - 116 (-3)
 
Tauhan ng kaalyansa
== That's It! ==
-
 
Writing scripts for [[Greasemonkey]] is not hard.
-
What can get difficult, however, is working with the quirks and limitations that the script runs under;
Some things that work perfectly in a normal web page, copied and pasted directly to a [[user script]] suddenly fail.
-
It's important to know how the [[Greasemonkey Manual:Environment|environment]] the scripts run in works.
1 (-0)
-
0 (-7)
-
Tiga Sugod
Mga Kalaban 0 (-1) 0 (-100) 0 (-20) - -
Tiga Depensa
Xbytes - 97 (-0) 90 (-10) 134 (-70) 19 (-0)
Mga Nanalo:
Xbytes
Mga Natalo:
Batista69, REDnhoJ
392 na mga tauhan ang inilipat mula sa Xbytes patungong Oppresso Liber
Ang mga hukbo ni Batista69 ay nagsitakas dahil naubusan sila ng lakas sa pakikipaglaban.
Dahil wala nang tauhan si REDnhoJ na pupuna sa kanyang pangunahing linya ng labananan, ang mga natira sa kanyang hukbo ay nagsiatras.
Dahil wala nang tauhan si REDnhoJ na pupuna sa kanyang pangunahing linya ng labananan, ang mga natira sa kanyang hukbo ay nagsiatras.

Latest revision as of 00:03, 18 April 2024


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

The Editor

As of Greasemonkey 4.0, due to limits in the WebExtension API surface, only an embedded editor is available.

Greasemonkey's script editor

The script itself is listed in the editor's first tab. Any @require or @resource files will be listed in additional tabs.

Press Ctrl-S (or click the floppy disk icon at top left) to save any changes.

That's It!

Writing scripts for Greasemonkey is not hard. What can get difficult, however, is working with the quirks and limitations that the script runs under; Some things that work perfectly in a normal web page, copied and pasted directly to a user script suddenly fail. It's important to know how the environment the scripts run in works.