KDC: Kyrah Design concept – Second Life content creation, 3D modeling, programming & game design: UserScripts

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;
      }
    });
}
Kyrah Abattoir
Creator of BDSM and fetish content in Second Life since 2004.

Seasoned 3D artist and programmer, aspiring video game creator.

Archives
  • [—]2023
  • [+]2022
  • [+]2021
  • [+]2020
  • [+]2019
  • [+]2018
  • [+]2017
  • [+]2016
  • [+]2015
  • [+]2014
  • [+]2013
  • [+]2012
  • [+]2011
  • [+]2010
  • [+]2009
  • [+]2008
  • [+]2007
  • [+]2006