Category:Code snippets: Difference between revisions
From GreaseSpot Wiki
Jump to navigationJump to search
m Documented Core example template and how it's used. |
m Updated to newest template name and re-verbaged |
||
Line 1: | Line 1: | ||
List of pages with code snippets. Browse around, you might learn something new. | List of pages with code snippets. Browse around, you might learn something new. | ||
<pre>If you see code like this it is usually a Good | <pre>If you see code like this it is usually a Good sample but may not be verified.</pre> | ||
{{Core | {{Core samp |1=<pre style="border: none; margin: inherit;"> | ||
This is typically used in the Greasemonkey API</pre>}} | If you see code like this it is usually a verified Core sample but may or may not be good practice. | ||
This is typically only used in the Greasemonkey API to denote core samples. | |||
</pre>}} | |||
{{Good | {{Good samp |1=<pre style="border: none; margin: inherit;"> | ||
If you see code like this it is usually a verified Good sample. | |||
This is typically good practice in context. | |||
</pre>}} | |||
{{Fair | {{Fair samp |1=<pre style="border: none; margin: inherit;"> | ||
If you see code like this it is usually a verified Fair sample. | |||
This may have some pitfalls and potential security risks but may still be useful in context. | |||
</pre>}} | |||
{{Bad | {{Bad samp |1=<pre style="border: none; margin: inherit;"> | ||
If you see code like this it is usually a verified Bad example. | |||
This includes high security risks and/or not working in context. | |||
</pre>}} |
Revision as of 23:41, 7 May 2009
List of pages with code snippets. Browse around, you might learn something new.
If you see code like this it is usually a Good sample but may not be verified.
This category currently contains no pages or media.