install scripts: https://sleazyfork.org/en/scripts?set=590816
src/userscripts/scripts # dev
dist/userscripts # buildnpm run build # build core
npm run build:u # build userscripts# go to ./src/index.ts and import any userscript then run:
npm run devIf you are lucky monkey, you can build your own userscript with infinite scroller and content filters with just this setup:
// replace with selectors of your own
const rules = new Rules({
containerSelector: '.content',
thumbs: {
selector: '.thumb',
},
thumb: {
selectors: {
title: '.title',
duration: '.duration'
},
},
schemeOptions: ['Text Filter', 'Badge', 'Duration Filter', 'Advanced'],
});Tip
Use Rules from src/core/rules as documentation
see you space cowboy 😘
⠅⠅⠅⠅⠅⠅⠅⠅⠅⠅⠅⠅⠅⠅⠅⢅⢑⠡⠡⠡⠡⠡⠡⠡⠡⠡⢡⢡⢡⠡⡡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⢁
⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⢐⠨⠨⠨⠨⢨⠨⠨⠨⢈⢂⠣⠣⢣⢪⢪⢪⢌⢌⢌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⡪⡨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⢐
⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⢈⢪⠨⢐⠨⠨⠨⠨⢐⢨⢬⣬⣴⣴⣬⢨⢐⠨⢘⠘⢎⢎⢎⢎⢎⢬⢨⢨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⢐⠰⡘⡜⢜⢌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⡐
⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⠡⢸⠸⠨⢐⠨⠨⣨⣼⣾⣿⣟⣷⡳⡯⣺⡯⣷⢮⣐⠨⢐⢐⢐⠨⠨⢈⢊⠪⠨⢈⢊⠪⠨⠨⠨⠨⠨⠨⠨⠨⢐⢐⠐⢌⠪⡪⡪⠨⠨⠨⠨⠨⠨⠨⠨⢐⢐
⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⡆⠌⠌⣐⣼⡿⣿⢿⢟⢷⣻⡺⣝⡵⡳⠹⣝⢯⢟⡿⡶⣖⡶⡬⣌⡐⡐⠨⠨⢐⢐⠨⠨⠨⠨⠨⠨⠨⠨⠨⢐⢐⠨⠠⢑⢈⠪⣣⠡⠡⠡⠡⠡⠡⢁⢂⢂
⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⠨⡸⠡⢡⣵⢿⢕⣟⢧⡯⡱⡳⣕⡟⢾⢵⠌⣇⡷⡕⢏⣇⢟⢗⢹⣹⢺⡽⣦⢥⡁⡂⡂⠌⠌⠌⠌⠌⠌⠌⠌⠌⡐⡐⠨⠨⢐⢐⢐⢈⢪⠨⠨⠨⠨⠨⢐⢐⢐
⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⢌⠌⢄⣵⣿⣺⢯⡛⢮⡻⡮⡇⣿⢾⡅⢸⢼⣿⢼⠼⡴⣝⡜⣾⢝⢕⢕⠱⣻⡽⡱⣟⢗⣜⢎⡌⠌⠌⠌⠌⠌⢌⢂⢂⠂⠅⠅⡂⡂⡂⡂⡂⢅⠡⠡⠡⢁⢂⢂⢂
⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⡊⣼⢽⣷⣟⡵⡝⣵⢱⢝⢍⢌⠚⢿⣳⡘⣜⠯⣝⢽⢺⢧⢩⡚⡰⣝⠬⡣⣵⡿⣎⠺⡪⡺⣕⣇⢧⡅⠅⠅⠅⡂⠌⠆⠌⢌⢂⢂⢂⢂⢂⢂⠂⠅⠅⠅⡂⡂⡂⡂
⠡⠡⠡⠡⠡⠡⠡⠡⠡⣡⣾⣿⣿⡷⣧⢣⢪⣟⢌⢗⣕⣐⢨⢸⢱⡻⣳⢝⢞⢜⢜⢧⢝⢝⢮⡳⡱⣽⢳⢝⢽⢖⢵⢫⢻⢽⢷⣻⣯⣮⣐⠠⠡⢁⠣⡣⡢⡂⡂⡂⡂⡂⠌⠸⠨⢐⢐⢐⢐⢐
⠨⠨⠨⠨⠨⠨⠨⠨⣰⣿⣿⣿⣿⣿⣳⢹⢕⢇⢓⢅⡑⣕⢕⢕⢕⢝⢜⢌⢆⢦⡱⣱⢱⡱⣱⣕⣝⣜⣬⣨⣪⢮⣢⡧⣖⣦⣣⣇⢧⡻⡽⣿⣌⡐⠠⠑⢕⢌⢂⢂⠢⡨⠨⢈⢪⢐⢐⢐⢐⢐
⠨⠨⠨⠨⠨⠨⢈⠢⣿⣿⣿⣿⣿⣟⢮⣳⣳⣯⣿⣷⣿⣿⣿⡿⣿⢿⣿⢿⡿⣟⣷⣱⢳⢝⣵⡿⣾⡽⣾⢯⣿⣻⣟⣿⣻⡯⣿⢾⣻⣻⣽⢾⡽⣷⡅⠅⡂⡑⢕⢑⢕⠌⠌⡐⠸⡐⡐⡐⡐⡐
⠅⠅⠅⠅⠅⠅⡂⢌⣿⣿⢿⣿⣿⣯⣿⡿⢿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣿⣟⣿⣺⢌⢝⡽⣟⡧⠡⠑⠝⡞⣗⢯⢷⢗⢿⢽⢯⣟⣾⣺⢯⣟⡷⣿⢧⡂⠌⡂⡂⢇⠅⠅⡂⠅⡇⡂⡂⡂⡂
⠅⠅⠅⠅⠅⠅⡂⢼⣻⡾⣿⣿⣗⣿⣿⢑⠠⡑⡙⠝⢟⢝⣿⣿⣿⣿⣷⣿⣿⣿⣽⡞⣕⣓⢝⣯⢯⣧⢡⢁⢃⢢⣩⣪⢾⣽⢽⣝⢾⡺⡾⣽⣺⣻⢼⣲⣯⢐⢐⢐⠘⡌⡐⡈⢮⡂⡂⡂⡂⡂
⠅⠅⠅⠅⠅⠅⡂⣿⣿⢿⡽⣯⣷⣿⣟⣿⣶⣐⢠⣱⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣗⡏⠌⠌⡮⡺⣿⢾⣟⣶⣖⣿⢷⣿⢿⣽⣟⡾⡯⡯⣟⣞⣮⣗⢽⣻⣾⢂⢂⢂⢂⢂⢂⢂⢣⢃⢂⢂⢂⢂
⠨⠨⠨⠨⠨⠐⠄⣿⣿⣯⢻⣿⣻⣿⣿⣻⠪⡻⣯⣟⣯⣿⢿⣿⣿⣻⣽⣿⡿⡵⡓⠇⠅⠅⡯⣗⡝⣿⣿⣳⢯⣟⣯⣿⣟⣯⣷⢿⣻⡯⣿⡽⣾⠎⣺⢵⣟⡆⡂⡂⡂⡂⡂⡂⢸⢐⢐⢐⢐⢐
⠌⠌⠌⠌⠌⠌⢢⢻⣿⢮⢺⣻⣿⡗⣿⣯⣧⡻⣺⡺⣽⣾⣿⣻⣿⢿⣿⣿⢯⢇⢮⠃⠅⠅⢯⢞⣎⢟⣯⣿⣻⣞⡿⡾⣯⢿⣾⣻⣿⣻⣟⣿⡻⡐⢼⢯⡾⣇⢂⢂⢢⢃⢂⠂⠌⡆⡂⡂⡂⡂
⠅⠅⠅⠅⠅⠅⡂⢗⢟⣯⠆⢽⣿⣷⢱⢿⣿⣎⢗⢯⣻⣷⣿⢿⣟⡿⡻⡜⣇⢇⠯⠨⠨⠈⡎⠏⠪⠢⠙⢞⢷⢝⣮⣿⣽⣿⢾⣿⣻⣿⡿⢏⡮⡃⡯⡻⡽⣿⡐⡐⢸⢐⠐⠌⠄⢇⢂⢂⢂⢂
⠌⠌⠌⠌⠌⡐⡐⡈⡞⣽⢧⡘⢿⣿⡪⡲⣭⡻⢿⢿⡿⡟⡟⣋⠧⢋⢂⢜⡎⢕⠅⠅⠅⠅⢅⠅⢅⢅⢕⢄⠑⠍⡏⣗⡛⡞⡟⡟⡽⡱⠝⡙⡘⢌⢗⢴⣿⣿⣇⢂⢂⢣⢑⠅⠅⡇⡂⡂⡂⡂
⠡⠡⠡⠡⢁⢂⢂⢂⠱⣹⢯⣷⢔⣿⢷⠹⡨⡝⡓⡓⡒⡃⠩⢐⢈⢆⢇⢗⣅⣢⣧⠡⠡⡡⡎⣣⡥⣹⢂⠂⠌⡐⡐⠠⠡⠡⠡⡁⡂⡂⣑⢔⢌⢺⣿⣿⣟⣯⣿⡐⡐⡀⡃⡇⢕⢐⢐⢐⢐⢐
⠨⠨⠨⠨⢐⢐⢐⢐⢈⢺⣯⣗⢇⣿⣿⡂⠱⡱⠱⡐⡔⡠⡁⡢⡪⡸⡸⠸⢸⢵⢳⢝⣽⢵⣫⡾⣞⡗⡧⡨⡐⡐⠠⠡⠡⠡⢑⠐⢔⢕⢕⠕⠄⣟⣿⣞⣿⣻⡿⡐⡐⡐⢄⢇⢝⢐⢐⢐⢐⢐
⠨⠨⠨⠨⢐⢐⢐⢐⠰⢹⣗⣟⡔⡵⣟⡇⠅⡂⢇⢣⢣⢢⢪⠪⠪⢐⠠⢡⢢⢣⢈⢻⡞⡗⡘⣜⢇⢯⠪⡒⠔⠄⠅⠅⠅⠅⡂⠌⢜⢜⢌⢎⠂⡽⣟⡾⣯⢟⠱⢐⢐⢠⢣⢣⢱⢐⢐⢐⢐⢐
⠨⠨⠨⠨⢐⢐⢐⢐⢈⠊⡎⣞⣗⣝⡿⣯⢐⢐⠨⡪⡪⡪⠊⠌⠌⣐⣜⢮⢻⠨⢨⡣⡣⣲⡘⡸⣸⢘⢲⢸⢌⠌⠌⠌⠌⡐⠠⡱⡱⡱⡱⣑⠁⡯⣿⢝⢃⠂⠅⡂⡢⡪⣪⢊⠸⢐⢐⢐⢐⢐
⠌⠌⠌⠌⡐⡐⡐⡐⡐⠠⡑⢜⢾⣺⣟⣿⡐⡐⡐⢸⢸⠨⠨⢨⣸⢮⢞⣗⢯⢫⢣⢩⢩⢪⡣⣱⣑⡕⣮⢪⣎⡎⡧⡡⡁⡂⠅⢇⢗⡝⣜⢆⢂⣿⢍⢐⢐⢨⢢⢎⢮⢣⢃⢂⠇⡂⡂⡂⡂⡂
⠡⠡⠡⢁⢂⢂⢂⢂⠂⠅⠌⢆⠙⢷⣻⣿⣇⢂⠂⠌⠪⡣⢁⠢⡻⢙⢉⢃⢫⢩⢨⢹⢡⢃⢇⢵⢱⢽⢻⡫⡏⡏⠞⡐⡐⠠⢡⡳⣝⣞⢮⢢⣺⡏⡂⡂⣢⢯⡪⣳⢹⢕⠐⢼⢐⢐⢐⢐⢐⢐
⠨⠨⠨⢐⢐⢐⢐⢐⠨⠨⠨⠠⠡⢈⠻⣽⣿⣦⠨⠨⡐⡈⡂⡂⡂⡂⡂⡂⡒⡔⡒⡖⡦⣳⢕⢆⢕⢌⢎⢎⠂⠅⠅⡂⡂⡕⣵⡫⣞⢞⣰⣽⡟⡐⡐⣜⢮⡳⣝⢜⢮⡣⡃⢕⢐⢐⢐⢐⢐⢐
⠌⠌⠌⡐⡐⡐⡐⡐⠨⠨⠨⠨⠨⢐⢐⠈⢿⡿⣿⣄⡣⡂⡂⡂⡂⡂⡂⠢⡑⡘⠜⠜⠕⠕⠝⢜⢘⢌⠢⡡⡡⡡⡑⡔⣜⢮⡺⣪⡮⣾⢿⢏⢂⠂⡎⣮⢳⡫⢎⢏⣣⡑⣜⢂⢂⢂⢂⢂⢂⢂
⠌⠌⡐⡐⡐⡐⡐⠠⠡⠡⠡⠡⢁⢂⠂⠌⠄⠻⣟⣿⣷⣕⣆⢂⢂⠂⠌⠌⡐⠠⠡⠡⠡⠡⢁⢂⢂⠂⠅⢌⠆⡎⡜⣜⠮⣣⣷⣿⢽⡫⡳⡁⢢⢱⠹⠸⡑⡑⣴⣻⢾⡽⢂⢂⢂⢂⢂⢂⢂⢂
⠌⡐⡐⡐⡐⡐⠠⠡⠡⠡⠡⢁⢂⠂⠌⠌⢱⠡⠙⢷⣿⢿⣞⣆⠢⠨⠨⢐⠠⠡⠡⠡⠡⢁⢂⢂⠂⠌⢌⢌⢎⢮⢺⣸⣾⢿⡻⣪⠳⠡⠱⡨⠢⠡⠡⡑⡰⣽⢽⢯⢃⢂⢂⢂⢂⢂⢂⢂⢂⢂
⡐⡐⡐⡐⡐⠠⠡⠡⠡⠡⢁⢂⠂⠌⠌⠌⠌⠎⠌⠌⣾⣿⣿⡜⣯⣌⢪⢢⢨⢨⠨⠨⠨⡐⡐⡐⡬⡸⣜⢮⢳⣱⣷⢿⡯⠟⡘⡐⡌⠎⠅⢇⠅⠅⢡⢎⣯⢾⢋⢂⢂⢂⢂⢂⢂⢂⢂⢂⢂⠂
⡐⡐⡐⡐⠠⠡⠡⠡⠡⢁⢂⠂⠌⠌⠌⠌⠌⡘⢌⢐⠸⡯⣿⣗⠔⠹⢾⣜⣜⡘⢜⢕⠕⢎⢚⢜⢎⣏⣮⣧⣷⣿⡟⠏⢌⢆⢆⢇⠅⠅⢅⠂⠅⣕⣽⡽⣞⢇⡂⡂⡂⡂⡂⡂⡂⡂⡂⡂⡂⠌
⢂⢂⢂⠂⠅⠅⠅⠅⠅⡂⡂⠌⠌⠌⠌⠌⡐⡐⢠⡱⣕⢹⢺⢾⠌⠌⠌⢺⣫⢿⣟⢿⣻⢿⡿⣿⢿⣿⢿⣿⢿⠋⠄⡇⣗⢕⡕⡥⡱⣱⢢⣣⢯⢾⣾⢻⡘⡘⠌⠲⡐⣐⢐⢐⢐⢐⢐⢐⠠⠡
⡐⡐⡐⠨⠨⠨⠨⠨⢐⢐⠠⠡⠡⠡⠡⢁⡢⠊⠅⢅⠸⡸⡈⢯⢧⠡⢁⢂⠣⢑⢐⠠⠑⢝⡽⡽⣟⣿⢟⢋⢂⠏⡮⡾⡮⣗⢯⣫⢯⡮⡷⡝⠯⡻⡸⡘⠌⠄⠅⠅⡂⡂⠅⡂⡂⡂⡂⡂⠌⠌
⡂⡂⡂⠅⠅⠅⠅⠅⡂⡂⠌⠌⠌⠌⠌⡐⠠⡕⡝⡜⡅⡇⡇⠪⡫⣎⢐⠠⡑⡐⡐⠨⠨⢨⣪⢿⠽⠡⡱⡰⣕⢃⢯⢯⠯⡞⣝⢪⠣⠥⢑⠨⢐⠐⠌⠌⠌⠌⠌⡐⡐⠠⢁⢂⢂⢂⢂⠂⠅⠅
⡐⡐⠠⠡⠡⠡⠡⢁⢂⠂⠅⠅⠅⠅⠅⡂⠅⠌⠪⡊⡪⡪⡊⡂⠌⠪⡦⡂⣗⢗⣔⢥⣣⢷⢝⢅⢕⡝⡼⡕⢣⢢⠡⠱⢃⢑⢐⠡⠨⠨⢐⠨⢐⠨⠨⠨⠨⠨⢐⢐⠠⢁⢂⢂⢂⢂⠂⠌⠌⠌
⢐⠠⠡⠡⠡⠡⢁⢂⠂⠌⠌⠌⠌⠌⡐⠠⠡⠡⢁⠂⠌⠌⡂⡂⠅⢅⢊⢗⢜⢽⢮⢗⢯⢣⡳⡱⠣⠡⢑⢈⢂⠂⠌⠌⡐⡐⡐⠨⠨⠨⢐⠨⢐⠨⠨⠨⠨⠨⢐⢐⠨⢐⢐⢐⢐⢐⠨⠨⠨⠨
