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.

March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
Archives