A userscript that display links between different libraries and book stores.
I notice i need add // @include too to can use it with Waterfox Classic + Greasemonkey 3.17 (the last old one)
After update v.1.14, testing with Firefox Quantum + Tampermonkey,
This code work for Library / Bibliothèque de Bobigny
In section:var metadata_yaml =
bibliotheque.ville-bobigny.fr:
matches:
- "https://bibliotheque-bobigny.siib.fr/detail-d-une-notice/notice*"
type: 'XPATH'
metadata:
title: "//title"
authros: "//a[contains(@class, 'ntc-link-auteur')]"
In section:
var search_yaml =
Bobigny:
url: "https://bibliotheque-bobigny.siib.fr/recherche-catalogue/recherche-simple/simple/Mots%252BNotice/0/"
languages:
- "fr"
- "fr-ca"
- "fr-fr"
`;
The @match and @include i need to add:
// @match https://bibliotheque-bobigny.siib.fr/*
// @match https://bibliotheque-bobigny.siib.fr/detail-d-une-notice/notice/*
// @include https://bibliotheque-bobigny.siib.fr/*
// @include https://bibliotheque-bobigny.siib.fr/detail-d-une-notice/notice/*
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
It seems their is a change for Bobigny's library site...
Example:
Recherche simple
I have added :
// @match https://bibliotheque-bobigny.siib.fr/detail-d-une-notice/notice/*
But that's not sufficient.
Xpath seems to need a change too.
I try to find the good xpath, but i am not enough good for that:
my test fails too with Firefox Quantum when trying to use a tool for testing xpath,
an error message said that's not possible select by xpath because the element is in shadow DOM...
Can you drop an eye on that?
Note:
If you add a way to use CSS selector too, it should be more easy for me to test tweaks...
Tested with:
- Geasemonkey 3.16 + Waterfox Classic
- Tampermonkey + Waterfox Classic
- Tampermonkey + Firefox Quantum