Second Life Marketplace String Saver

Automatically adds a string of your choosing to the end of the Second Life marketplace searches you make

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Second Life Marketplace String Saver
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Automatically adds a string of your choosing to the end of the Second Life marketplace searches you make
// @author       Lucky Starlight
// @match        https://marketplace.secondlife.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=secondlife.com
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant        none
// @license      MIT
// ==/UserScript==

//Anything you put here will automatically be appended to the end of Marketplace searches.
//In my case I don't want to see anything from two imaginary creators named Poopy Peepoo or Pissy Papapoeepoe so I've put that here.
//Notice me wrapping separate NOT criteria in quote marks!
const savedstring = 'NOT "poopy peepoo" NOT "pissy papapoeepoe"';

$( "#item_search_keywords" ).change(function() {
    //When you put something in the search keywords box, we automatically add a space and our saved string to the end
  $( "#item_search_keywords" ).val($( "#item_search_keywords" ).val() + ' ' + savedstring);
});