UI Hacks

From Prismata Wiki
Jump to: navigation, search

The Code:[edit | edit source]

javascript:(function(){rwf=function(){$(".footer").remove();$(".linkTable").remove();$("object").attr("width",$(window).width()-20).attr("height",$(window).height()-20)};$(window).resize(rwf);rwf();})()

How to Create a Bookmarklet:[edit | edit source]

  1. Create a new Bookmark
  2. Copy the code above into the 'URL' portion of the bookmark and name it something fancy like 'Resize Prismata Screen'

Usage:[edit | edit source]

  1. Goto http://play.prismata.net
  2. Click on the bookmarklet to resize the screen.

Tweaking the Size:[edit | edit source]

Resize the browser window, and the game should resize dynamically.

Known Issues:[edit | edit source]

This is a crude hack and will likely stop working at some point. Hopefully by that time there will be a real resize feature on the official play page.