bit dojo labs : file explorer

Inspecting: home > js > bookmarklet > twitter.html (download)
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Twitter Bookmarklet</title>
	
	<style type="text/css">
		body {
			color: #444;
			font-family: "Calibri", Arial, Helvetica, sans-serif;
			width: 600px;
			margin: 40px;
		}
	</style>
	
</head>

<body>

<h1>Twitter Bookmarklet</h1>

To setup:<br/>
Drag the bookmarklet link below into your browser's bookmarks panel.<br/><br/>

To tweet: <br/>
Just click on the bookmarklet to tweet the current page (title + shortened URL), you can also select some text to quote it.<br/><br/>

<b>
Bookmarklet: <a href="javascript:void(open('http://chaos.bitdojo.net/twitter.php?title='+encodeURI(document.title)+'&text='+encodeURI(document.selection?document.selection.createRange().text:(window.getSelection?window.getSelection():(document.getSelection?document.getSelection:'')))+'&url='+encodeURI(location.href),'t','width=562,height=210,top=30,left=30,resizable=1,scrollbars=0,status=0'))">Share on Twitter</a><br/>
</b><br/>

Note: This bookmarklet uses a <a href="http://labs.bitdojo.net/view/php/twitter-bookmarklet/twitter.php">simple server script hosted on Bit Dojo</a> to access bit.ly's URL shortening service. We do not keep any data or personal information on our servers.

</body>
</html>