{"id":479,"date":"2009-02-17T12:59:13","date_gmt":"2009-02-17T12:59:13","guid":{"rendered":"http:\/\/dalelane.co.uk\/blog\/?p=479"},"modified":"2009-08-23T15:06:42","modified_gmt":"2009-08-23T15:06:42","slug":"syncing-browsing-between-mobile-and-computer","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=479","title":{"rendered":"Syncing browsing between mobile and computer"},"content":{"rendered":"<p>Imagine the scene.<\/p>\n<p>You are sat at your computer, reading a fascinating article online. <\/p>\n<p>You&#8217;re about halfway through reading it when something comes up and you need to leave your desk. <\/p>\n<p>Wouldn&#8217;t it be great if you could finish reading the page on your mobile? (Without needing to remember how you found the webpage, or what the URL is?)<\/p>\n<p>With this Firefox extension, you can. \ud83d\ude42<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/i267.photobucket.com\/albums\/ii311\/dale_lane\/090217-firefox.png\" alt=\"screenshot\"\/><\/p>\n<p><!--more-->When Firefox properly release their <a href=\"https:\/\/wiki.mozilla.org\/Mobile\/Fennec\" target=\"_blank\">new mobile browser<\/a>, and <a target=\"_blank\" href=\"http:\/\/labs.mozilla.com\/projects\/weave\/\">Weave<\/a> starts to deliver on the promise of browser data in the cloud, then this sort of thing will all come out of the box. <\/p>\n<p>But this hack might help fill the gap while we wait for that.<\/p>\n<p>I will write a few posts explaining how I implemented some of the more interesting bits of this, but in the meantime I thought I&#8217;d start by showing the end result.<\/p>\n<p><strong>What you do<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/i267.photobucket.com\/albums\/ii311\/dale_lane\/090217-firefox1.png\" alt=\"screenshot\" align=\"left\" vspace=\"5\" hspace=\"10\"\/>Click on the toolbar icon showing the mobile phone with the arrow going into it.<\/p>\n<p>The page currently open in Firefox will be sent to your mobile phone and opened in Pocket Internet Explorer.<\/p>\n<p>Or, coming back the other way&#8230;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/i267.photobucket.com\/albums\/ii311\/dale_lane\/090217-firefox2.png\" alt=\"screenshot\" align=\"right\" vspace=\"5\" hspace=\"10\"\/>Click on the toolbar icon showing the mobile phone with the arrow coming out from it.<\/p>\n<p>The page currently open in Pocket Internet Explorer will be received from your mobile phone and opened on your computer in Firefox.<\/p>\n<p>After all, why keep reading something on a two-inch screen when you get back your computer? Move it to your computer and finish reading something there.<\/p>\n<p><strong>What it needs<\/strong><\/p>\n<p>The hack has been written to use:<\/p>\n<ul>\n<li>Firefox &#8211; <em>I&#8217;m using Firefox 3, but it should run on Firefox 2 as well<\/em>\n<\/li>\n<li>Windows Mobile &#8211; <em>I&#8217;m using Pocket Internet Explorer on a Windows Mobile 6 phone, but it should work with WM5 as well<\/em>\n<\/li>\n<li>ActiveSync &#8211; I don&#8217;t make my own connection to the mobile, instead using RAPI to reuse an existing ActiveSync connection. (<em>Which makes this all sadly rather Windows-specific<\/em>)\n<\/li>\n<\/ul>\n<p><strong>How to install it<\/strong><\/p>\n<p>You need the <strong><a href=\"http:\/\/dalelane.co.uk\/files\/bladesync.xpi.zip\">Firefox extension  (v0.6)<\/a><\/strong>. <\/p>\n<p>If you unzip the <a href=\"http:\/\/dalelane.co.uk\/files\/bladesync.xpi.zip\">archive<\/a>, you&#8217;ll find a Firefox extension xpi file inside which you can open with Firefox to install.<\/p>\n<p>(<em>Unfortunately my web host won&#8217;t let me host .xpi files, so I&#8217;m putting it in a zip as a workaround<\/em>)<\/p>\n<p>In order to get the current page from the mobile, I also need to run some code on the phone. This needs to be installed using this <strong><a href=\"http:\/\/dalelane.co.uk\/files\/bLADE_Sync.CAB\">Windows Mobile extension<\/a><\/strong>. <\/p>\n<p>(<em>Sending a web page from your computer to your mobile will work fine without this &#8211; you need the bit of code on the phone to go back the other way.<\/em>)<\/p>\n<p><strong>Known limitations<\/strong><\/p>\n<p>Pages are transferred by URL, so if a website redirects mobile browsers to a different page, then you might not end up with the same page on your phone that you had on your computer. (E.g. if you are looking at http:\/\/twitter.com\/ then click on the toolbar button, it&#8217;ll probably be http:\/\/m.twitter.com\/ that gets opened on your phone).<\/p>\n<p>If you have your Firefox in a sandbox to limit it&#8217;s administrative privileges, (e.g. you run it with something like DropMyRights) then you might need to fiddle with the executables that the Firefox extension runs, otherwise they may not be allowed to run.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imagine the scene. You are sat at your computer, reading a fascinating article online. You&#8217;re about halfway through reading it when something comes up and you need to leave your desk. Wouldn&#8217;t it be great if you could finish reading the page on your mobile? (Without needing to remember how you found the webpage, or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[289,152,46,155,19,43],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry","category-code","tag-cloud","tag-firefox","tag-mobile","tag-sync","tag-windows-mobile","tag-windowsmobile"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=479"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/479\/revisions"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}