Sleazy Fork is available in English.

Tämä on lista metatiedoista, jotka Sleazy Fork lukee. Skriptit voivat sisältää listaan kuulumattomia metatietoja, mutta ne eivät vaikuta Sleazy Forkin tietoihin.

§@name
Skriptin nimi, jota käytetään otsikkona ja linkeissä. Pakollinen.
§@name:XX-YY
Skriptin nimi tietyssä lokalisaatiossa, missä XX on 2-kirjaiminen ISO 639-1 -koodi ja YY on vapaaehtoinen ISO 3166 -maakoodi. Korvaa @name:n, kun käyttäjä käyttää vastaavaa lokalisaatiota.
§@description
Kuvaus skriptin toiminnasta. Näytetään tekstinä skriptin nimen alla. Pakollinen.
§@description:XX-YY
Skriptin kuvaus tietyssä lokalisaatiossa, missä XX on 2-kirjaiminen ISO 639-1 -koodi ja YY on vapaaehtoinen ISO 3166 -maakoodi. Korvaa @description:n, kun käyttäjä käyttää vastaavaa lokalisaatiota.
§@namespace
Skriptien hallintaohjelmat käyttävät @namespace:n ja @name:n yhdistelmää havaitakseen, onko skripti jo asennettu. Sleazy Fork vaatii tämän kentän ja varoittaa, jos sitä muutetaan päivityksen yhteydessä.
§@version
Identifier for a specific version of a script in Mozilla version format. Version is displayed on a script's info page. Sleazy Fork requires this field and will warn if it's decremented or if it's not incremented when the script's code changes.
§@include, @exclude, @match
Describe what pages the script will run on. This list will be processed, displayed on the script's info page, and used to categorize scripts. Every script must have at least one @match or @include. Read about the format here.
§@require
Includes external JavaScript into a script. See rules for code including external scripts. If you use subresource integrity hashes (see info here and here), Sleazy Fork will alert you if your hashes do not match the content at the URL you use.
§@resource
Includes an external resource (JavaScript, CSS, images, etc.) into a script. See rules for code including external scripts. If you use subresource integrity hashes (see info here and here), Sleazy Fork will alert you if your hashes do not match the content at the URL you use.
§@updateURL, @installURL, @downloadURL
Määrittää osoitteen, josta skriptien hallintaohjelmat hakevat päivityksiä. Sleazy Fork poistaa nämä tiedot, jolloin Sleazy Forkista asennetut skriptit päivittyvät vain Sleazy Forkin kautta.
§@license
By posting your script to Sleazy Fork, you give others permission to install and use it. The license describes whether and how people are allowed to modify and distribute your script. License is displayed on a script's info page. @license can be:
  • The name of a license (for example, @license GPL3). Using a "Full name" or "Identifier" from the SPDX License List is recommended.
  • The conditions under which you allow use (for example @license You can modify as long as you credit me, though using a pre-existing license is recommended.
  • A copyright statement (for example @license Copyright MyName) if you don't want to release under a license.
  • Omitted entirely, which is the same as having a copyright statement, but less clear to users.
Note that if your script is based on code someone else wrote, you may be restricted in what license you choose.
§@supportURL
URL-osoite sivulle, jolta käyttäjät voivat saada tukea skriptille (esim. bugilistaus, foorumi, sähköpostiosoite). Tukiosoite näytetään skriptin tietosivulla.
§@contributionURL
URL-osoite sivulle, jolla käyttäjät voivat tehdä lahjoituksia skriptin tekijälle. Avustus-URL näytetään skriptin tietosivulla. URL-osoitteet voivat käyttää http-, https-, tai Bitcoin-protokollaa. Linkittääksesi PayPal-lahjoitussivulle, käytä URL-osoitetta, joka on muotoa https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sahkopostiosoitteesi@esimerkki.com&item_name=Greasy+Fork+-lahjoitus, ja korvata esimerkkisähköpostiosoitteen omallasi.
§@contributionAmount
Ehdotettu lahjoituksen suuruus, käytetään yhdessä @contributionURL:n kanssa.
§@compatible
Merkitsee skriptin yhteensopivaksi selaimen kanssa. Yhteensopivuustiedot näytetään skriptin sivulla. Kommentteja yhteensopivuudesta voi lisätä muodossa @compatible firefox Ponnahdusikkunoiden esto tulee poistaa käytöstä. Tunnistetut selaimet: firefox, chrome, opera, safari, edge.
§@incompatible
Merkitsee skriptin epäyhteensopivaksi selaimen kanssa. Yhteensopivuustiedot näytetään skriptin sivulla. Kommentteja yhteensopivuudesta voi lisätä muodossa @compatible firefox Toimimaton Firefox 23:sta alkaen. Tunnistetut selaimet: firefox, chrome, opera, safari, edge.
§@antifeature
Discloses features in a script that are there to benefit the author, not the user. The format of this key is @antifeature type description. type is required, description is optional. Read here for info on the types read by Sleazy Fork.
§@antifeature:XX-YY
An @antifeature described in a specific locale, where XX is an ISO 639-1 2-letter code and YY is an optional ISO 3166 country code. Overrides @antifeatures of the same type when the user is browsing in a matching locale.