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.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/437595/1002297/WykopObserve.js

Author
look997
Version
0.0.1.20211226065014
Created
2021-12-26
Updated
2021-12-26
License
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);

})()