UserScripts

Handy little scripts for your browser, the Marketplace and other Second Life properties.

// ==UserScript==
// @name        Secondlife marketplace - Hide gachas by default
// @include     https://marketplace.secondlife.com/products/search*
// @require     https://greasyfork.org/scripts/12228/code/setMutationHandler.js
// ==/UserScript==

// maybe the elements are already on the page
checkThem([].slice.call(document.querySelectorAll('input[type="checkbox"]')));

// but anyway set a MutationObserver handler for them
setMutationHandler(document, 'input[type="checkbox"]', checkThem);

function checkThem(nodes)
{
    nodes.forEach(function(n)
    {
      if(n.id == "search_limited_quantities")
      {
        n.checked = true
        return;
      }
    });
}
About Me
I started SecondLife in 2004 and created my own bdsm fetish virtual products under the name KDC. I fancy myself as a programmer, 3D artist and terrible game designer.
Archives
  • [—]2020
  • [+]2019
  • [+]2018
  • [+]2017
  • [+]2016
  • [+]2015
  • [+]2014
  • [+]2013
  • [+]2012
  • [+]2011
  • [+]2010
  • [+]2009
  • [+]2008
  • [+]2007
  • [+]2006