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.

December 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
Archives
Categories