StudiVZ Image Deblocker v2.0

By IchBins Last update Jan 12, 2007 — Installed 7,593 times.
// ==UserScript==
// @name          StudiVZ Image Deblocker v2.0
// @namespace     IchBins
// @description   removes transparent gif that blocks saving StudiVZ user images
// @include       http://*studivz.net/showalbum.php?id=*
// ==/UserScript==
//
//	Changelog v1.0:
//	- first release
//
//	Changelog v1.1b (unreleased):
//	- rewritten code - now removes alls elements with id="circle"
//
//	Changelog v2.0:
//	- script was automatically generated by the Firefox extension Platypus (http://platypus.mozdev.org/), I only shortened it a little bit

function do_platypus_script() {
erase_it(window.document,document.getElementById('circle'),null,null,null);
}; // Ends do_platypus_script
window.addEventListener("load", function() { do_platypus_script() }, false);

function erase_it(doc, node) {
  var offset_height = node.offsetHeight;
  var offset_width = node.offsetWidth;
  var replacement_div = doc.createElement ("DIV");
  replacement_div.setAttribute('style',
       "height: "+offset_height+"; width: "+offset_width+";");
  node.parentNode.insertBefore(replacement_div, node);
  node.style.display = "none";
  return replacement_div;
};