2.2.12

Kode JavaScript for Embed Anchor Link

Berikut ini teknik or trick Javascript sederhana guna menampilkan embed link, anchor link and back to article! Like this

Try this link.

<a href="javascript:%28function%28%29%7Bvar%20e%3D%7B%22http:%2F%2Fbeben-koben.blogspot.com%2F%22%3A%7Bre%3A%2F%5E%28.%2A%29%20-%20Beben%20Koben%24%2F%2Ctwit%3A%22%40BebenKoben%22%7D%2C%22http:%2F%2Fbeben-koben.blogspot.com%2F%22%3A%7Bhtag%3A%22%23beben-koben%22%7D%7D%3Bvar%20i%3D%28window.getSelection%3F%22%22%2Bwindow.getSelection%28%29%3A%22%22%29.replace%28%22%3C%22%2C%22%26lt%3B%22%29%3Bvar%20b%3Ddocument.title%3Bvar%20g%3D%22%22%3Bvar%20h%3D%22%22%3Bvar%20f%3De%5Bdocument.location.host%5D%3Bif%28f%29%7Bif%28f.re%29%7Bb%3Df.re.exec%28b%29%5B1%5D%7Dif%28f.twit%29%7Bg%3Df.twit%2B%22%20%22%7Dif%28f.htag%29%7Bh%3D%22%20%22%2Bf.htag%7D%7Dvar%20c%3D%7Bttl%3Ab%2Ctwit%3Ag%2Chref%3Adocument.location.href%2Chtag%3Ah%2Cselt%3A%28i%3F%22%5Cn%5Cn%22%2Bi%3A%22%22%29%2Cselh%3A%28i%3F%22%3Cbr%3E%22%2Bi%3A%22%22%29%7D%3Bvar%20j%3Dwindow.open%28%29.document%3Bj.write%28%28%27%3Chtml%3E%3Chead%3E%3Ctitle%3ECopy%20link%3A%20%7Bttl%7D%3C%2Ftitle%3E%3C%2Fhead%3E%3Cbody%3E%3Ca%20href%3D%22%7Bhref%7D%22%3E%7Bttl%7D%3C%2Fa%3E%7Bselh%7D%3Cbr%3E%3Cbr%3E%3Ctextarea%20id%3D%22text%22%20cols%3D%22111%22%20rows%3D%224%22%3E%7Bttl%7D%20%7Btwit%7D%7Bhref%7D%7Bhtag%7D%5Cn%5Cn%26lt%3Ba%20href%3D%22%7Bhref%7D%22%26gt%3B%7Bttl%7D%26lt%3B%2Fa%26gt%3B%7Bselt%7D%3C%2Ftextarea%3E%3C%2Fbody%3E%3C%2Fhtml%3E%27%29.replace%28%2F%7B%28%5Ba-z%5D%2B%29%7D%2Fg%2Cfunction%28d%2Ca%29%7Breturn%20c%5Ba%5D%7D%29%29%3Bj.close%28%29%7D%28%29%29%3B">Your Title Here!!!</a>