public marks

PUBLIC MARKS from decembre with tags userscript & greasyfork

2018

USERSCRIPT - Nexto (infinite scroll) FOR Babelio - Découvrez des livres, critiques, extraits, résumés

1 comment
var implementations = [ { site: "https://www.babelio.com/mabibliotheque.php", // regex to compare against site URL, similar to @include nextLinkSelector: ".fleche.icon-next", // css selector for the next link, tip: find the current page button and do next sibling contentSelector: ".mes_livres", // the content that will be added to from the next page javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work }, { site: "https://www.babelio.com/livres-", // regex to compare against site URL, similar to @include nextLinkSelector: ".pagination .icon-next", // css selector for the next link, tip: find the current page button and do next sibling contentSelector: "#debug", // the content that will be added to from the next page javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work } } ];

USERSCRIPT (AUTOPAGER like) - Nexto - Example

This is a base for an autopager, basically loads the next page if you give it the content to load and a CSS selector to the Next link, to add a website modify the implementation array, only tested on Firefox, probably buggy but works for what I need it for, you need to add @includes and add website to the implementations array to get it to work. V1.5 works in Chrome, if you're into that sort of thing. (example) Test OK for Recherche OPAC Bibliothèque de Bobigny (2018) (link http://bibliotheque.ville-bobigny.fr/recherche-catalogue/recherche-simple/simple/Auteur/0/herge/ligne?limit=50) : var implementations = [ { site: "http://bibliotheque.ville-bobigny.fr/recherche-catalogue/", // regex to compare against site URL, similar to @include nextLinkSelector: ".dropdown.btn.btn-default.pagi + .btn.btn-default.hidden-phone.hasTooltip", // css selector for the next link, tip: find the current page button and do next sibling contentSelector: ".tmpl-content .colctre", // the content that will be added to from the next page javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work } ];

2017

JQUERY - LIBRARY - jQuery.copyCSS

jQuery.copyCSS: Quick, simple jQuery extension to retrieve or copy all styles (with optional whitelist and blacklist) from an HTML element.

2016

2015

2014

GM - Popup Video (Greasy Fork)

Popup online video out of the webpage