Linx Trix

August 24, 2007

Launch Safari from a OSX widget

Filed under: easy, osx, widget — admin @ 7:18 pm

This is not exactly for the hard category since I have found this solution pretty quick, but still I had to do some digging so it’s worth sharing.

In the javascript code:

  1. if (window.widget) {
  2.         widget.openURL(‘http://www.linxtrix.com’);
  3. }

Good thing is there is no referrer even if you load a page in your widget and pop open the link from there…

p.s. I just installed a syntax highlighting plugin from here. Hope it works nice :)

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

August 23, 2007

Hello world!

Filed under: Uncategorized — admin @ 2:38 pm

Hello and Welcome to Linx Trix.

My goal is to write about web development / general programming stuff that I could not find while developing(or the data which I found was lacking). Which happens to me all the time since I usually do pretty weird stuff.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

Powered by WordPress