BrightKite using Fluid with iPhone User Agent

September 1st, 2015

I started to use i.BrightKite with Fluid.

There are two ways.

Set ‘’ up as URL.
Set ‘iPhone’ up as User Agent. You can select User Agent from the BrightKite app menu.

The BirhgtKite icon for Fluid is here.

I prefer the second one.

Now I can see any web sites for iPhone using Fluid instead of iPhoney.

Update: 2015.9.15
I wrote a small userscript for on Safari.
It will fix the paste problem on Safari.

getWindowByName and getTabByURL

September 1st, 2015

was studying AppleScript and Ruby on Leopard for a while.

I created some AppleScript functions for Safari 3.1 on Leopard.


on getWindowByName(appName)
    tell application "System Events"
        set isRunning to (count of (every process whose name is appName)) > 0
        if not isRunning then return missing value
    end tell
    tell application appName
        repeat with thisWindow in (every window whose document of it is not missing value)
            return thisWindow
        end repeat
        return missing value
    end tell
end getWindowByName

This returns an object of a Safari window, even if the window is hidden, minimized or in other Spaces.


on getTabByURL(thisWindow, strURL)
    tell application "Safari"
        repeat with thisTab in tabs of thisWindow
            if URL of thisTab starts with strURL then
                return thisTab
            end if
        end repeat
        return missing value
    end tell
end getTabByURL
set thisWindow to getWindowByName("Safari")
if thisWindow is missing value then return
getTabByURL(thisWindow, "")

This returns an object of a tab which displays “”.

Update Twitter, Plurk and Others on Mac OS X Dashboard

June 20th, 2015

I joined in another posting service, HelloTxt like today.

HelloTxt seems better than so far.

I created a Mac OS X Dashboard Widget by clipping a part of HelloTxt Dashboard using Safari as below.

Hahlo + Fluid + Status Screen Saver

June 7th, 2015

I just started to use Status Screen Saver today.

“Status Screen Saver allows you to be notified quickly and easily of changes to your applications while your mac runs in screen saver mode.”

It sounds nice, but there are modules for just three apps, Mail, NetNewsWire and Twitterific so far.

I’m getting wanted this feature for using Fluid, too.

Creating a module of Status Screen Saver seems easy.
The bundle needs an icon and an AppleScript. That’s all.

But I needed a few steps before creating the AppleScript.

Activate AppleScript of Fluid Instance.
(Now it is OFF, but in the next Fluid it will be activated by default. It’s coming soon.)
To do this, set a value of “NSAppleScriptEnabled” in the “/Contents/Info.plist” to “Yes()”.
Set the number of new tweets to the document title, to pass the number to Status Screen Saver using AppleScript.
To do this, update Hahlo.user.js to the latest version(v1.6~).

Ready to write the AppleScript and test it.

Then a few more steps to go.

Download Hahlo.bundle (in Hahlo-SSS.dmg) I created and copy it to the “~/Library/Screen Savers/Status Screen Saver.saver/Contents/Resources/” directory.

You will see “Hahlo” in the Option panel of Status Screen Saver Preference pane as below.

Check “Hahlo” in it.

All set! And GO!!



May 25th, 2015

I just found an interesting slider UI here (English).

Then I modified and optimized the library for jQuery a bit and added a CSS loading functionality to use it anywhere easily.
And I translated some words in it from Russian to English, too.

<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
$(function() {
        base_url: ''
<div id="qwe"></div>

I put the modified version of the library here.

But this is just a sample for display, might not be practical for use. So I don’t describe the detail to install and use it.
Please try the original one.