<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.181.107.87&amp;*</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.181.107.87&amp;*"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/89.181.107.87"/>
		<updated>2026-04-05T02:06:32Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Javascript&amp;diff=362</id>
		<title>Javascript</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Javascript&amp;diff=362"/>
				<updated>2008-02-17T02:21:59Z</updated>
		
		<summary type="html">&lt;p&gt;89.181.107.87: /* Replace html markup in html characters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Javascript is a client-side scripting language. Its main differences relative to server-sided languages is that it is run by the client machine instead of the server machine. This can be useful in order to unload the server machine. Combined with [http://en.wikipedia.org/wiki/Xml XML] technology it forms the core-technology of the [http://en.wikipedia.org/wiki/Ajax_(programming) AJAX] programming philosophy.&lt;br /&gt;
&lt;br /&gt;
==Replace html markup in html characters==&lt;br /&gt;
Here's how to replace html markup in html characters&lt;br /&gt;
 &amp;lt;code&amp;gt;divtag.replace(/&amp;lt;([^&amp;lt;&amp;gt;]*)&amp;gt;/g,&amp;quot;&amp;amp;amp;lt;$1&amp;amp;amp;gt;&amp;quot;)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Bookmarklets]]==&lt;br /&gt;
[[Bookmarklets]] are little javascript one-liners that aim to compose a more or less complex [http://en.wikipedia.org/wiki/Url url].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Del.icio.us mp3 player user script===&lt;br /&gt;
This one should work for GreaseMonkey in Firefox as well in Opera 9.X (save it as&lt;br /&gt;
'''deliciousmp3.user.js''').&lt;br /&gt;
&lt;br /&gt;
 // ==UserScript==&lt;br /&gt;
 // @name          del.icio.us mp3&lt;br /&gt;
 // @namespace&lt;br /&gt;
 // @description   add del.icio.us mp3 player to links&lt;br /&gt;
 // @include       http://* &lt;br /&gt;
 // @exclude       http://*.icio.us/* &lt;br /&gt;
 // ==/UserScript==&lt;br /&gt;
    var head,script;&lt;br /&gt;
    head = document.getElementsByTagName('head')[0];&lt;br /&gt;
    if (head){&lt;br /&gt;
        script = document.createElement('script');&lt;br /&gt;
        script.type = 'text/javascript';&lt;br /&gt;
        script.src = 'http://del.icio.us/js/playtagger'&lt;br /&gt;
        head.appendChild(script);        &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
==External References==&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Javascript Javascript Wikipedia],&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Bookmarklet Bookmarklet Wikipedia],&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Greasemonkey Greasemonkey Wikipedia].&lt;br /&gt;
&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:Programming]]&lt;br /&gt;
[[Category:Script]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>89.181.107.87</name></author>	</entry>

	</feed>