Arts marketer by day, out-of-hours llama wrangler to the stars by night.

Filter content by

digital media · pictures · videos · weird · interesting · the past · the present · the future · the arts · tips

Even more

Wishlist · Validate · Licensing

Search results

Force page to break out of iframe

This code will let your page detect whether it has been loaded within an <iframe>, and - if it has - it'll bust out of the frame and reload the page:

<head>
<script>
 function break_iframe() { 
  if ( window.location != window.parent.location ) {
   top.location = self.location.href;
  }
 }
</script>
</head>
<body onload="break_iframe();">
...

I wrote this as a workaround when I found another site loading our organisation's website within an iframe, then selling ad space around our content.

Arts PR – banned words list

The Guardian Culture Professionals Network recently asked arts marketers/PRs to tell them which words they'd like to see banned from press releases. I'd say the list also applies to all arts copy.

The list was presented by the Guardian as a fancy word cloud, but I thought it would be more useful as a plain text list. Here it is, with the most hated words and phrases at the top.

Bash script to backup OS X apps

As a happy OS X user with a healthy distrust for Apple and the App Store, I wanted to back up my apps to a DVD-R. After having to reinstall OS X one day, I reached for my backed-up apps disc, only to find a significant problem: it takes ages to copy them back. So long, in fact, that I ended up downloading them all from the App Store again, which rather defeated the point of backing them up.