Wikipedia:User scripts/Guide: Difference between revisions

Content deleted Content added
Zvn (talk | contribs)
Adding elements: These functions begin with small cap letters.
Line 270:
 
 
2) using DOM methods: <tt>'''CreateElementcreateElement()'''</tt>, then atachattach as child using <tt>'''AppendChildappendChild()'''</tt> or <tt>'''InsertBeforeinsertBefore()'''</tt>. For examples of usage see the code of <tt>addPortletLink()</tt>
 
=== Removing elements ===