WykopObserve

API WykopObserve dla dodatków na wykop.pl - daje API, które robi pętlę z callbackiem, po wpisach z filtrowaniem wedłów różnych kryteriów.

Ce script ne doit pas être installé directement. C'est une librairie destinée à être incluse dans d'autres scripts avec la méta-directive // @require https://update.greasyfork.org/scripts/437595/1002297/WykopObserve.js

Auteur
look997
Version
0.0.1.20211226065014
Créé
26/12/2021
Mis à jour
26/12/2021
Licence
N/A

Pełny Opis API WykopObserve:
https://github.com/look997/wykopObserve.js#jak-użyć

Przykładowy kod UserScript-u:

// ==UserScript==
// @name        Wykop UserScript
// @description Wykop UserScript.
// @version     1.0
// @author      author
// @include     https://www.wykop.pl/*
// @require https://greasyfork.org/scripts/437595-wykopobserve/code/WykopObserve.js?version=1002287
// @run-at      document-end
// ==/UserScript==

(async function () {

wykopObserve(filter, function (elements, attrs) {
  // twój kod
}, options);

})()