The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus for iPad (http://forums.omnigroup.com/forumdisplay.php?f=63)
-   -   Atomic Web Browser (Javascript) (http://forums.omnigroup.com/showthread.php?t=21635)

endoftheQ 2011-07-18 03:40 AM

Atomic Web Browser (Javascript)
 
I'm a big fan of [URL="http://itunes.apple.com/gb/app/atomic-web-browser-browse/id347929410?mt=8"]Atomic Web Browser[/URL] for iDevices and have just received a request from another Member for the Javascript that adds the [B]Send to OmniFocus[/B] (StOF) function as a bookmark to the Atomic App.

I'm certain (unless this is a complete senior moment) that I've already posted this on the Board but having done a quick search, I can't locate it. So sincere apologies if this is repetition (and no, I'm not involved with Atomic except as a very contented end user!).

[B]Send to OmniFocus
[/B][I]javascript:window.location='omnifocus:///add?note='+encodeURIComponent(window.location)+'&name='+encodeURIComponent(document.title)[/I]

If you find it annoying that urls in other Apps such as Mail open in Safari then you can add this bookmark to Safari which will then open the same url in Atomic.

[B]Send to Atomic
[/B][I]javascript:window.location='atomic://'+location.href[/I]

If you use [B]Instapaper[/B] or [B]Read It Later[/B], then the following might also be of use.

[B]Send to Instapaper
[/B][I]javascript:function iprl5(){var d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...) '+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/42fJSseRKuCZ?u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}}iprl5();void(0)[/I]

[B]Send to Read It Later
[/B][I]javascript:(function(){ISRIL_H='0aad';ISRIL_SCRIPT=document.createElement('SCRIPT');ISRIL_SCRIPT.type='text/javascript';ISRIL_SCRIPT.src='http://readitlaterlist.com/b/r.js';document.getElementsByTagName('head')[0].appendChild(ISRIL_SCRIPT)})();/*INSTALLED*/[/I]

My thanks to [URL="http://atomicwebbrowser.com/"]Richard Trautvetter[/URL] (Atomic's developer) who shows unending patience with my requests for scripts linking Atomic to other Apps!

I hope the above is helpful.


All times are GMT -8. The time now is 04:25 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.