Greasy Fork is available in English.

bing_rel_next_prev

On *.bing.com add a rel="prev" and rel="next" attribute to the <a> going to Prev and Next pages, so it works with Saka keys and others.

Δημιουργός
grepsuzette
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
11
Βαθμολογίες
0 0 0
Έκδοση
20191004_0007
Δημιουργήθηκε την
04/10/2019
Ενημερώθηκε την
02/04/2022
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

Bing.com, as of 2019 (still the case in 2022), does not yet integrate rel="next" and rel="prev" W3C standard in its <a> tags for previous page and next page. See https://www.w3.org/TR/html5/links.html#sequential-link-types

This prevents it working with some plugins exploiting this standard (such as Saka Keys and similar, e.g. mapping a key to go to prev and next page).

Thus this script does this on *.bing.com's DOM:

document.body.querySelectorAll('a[href][title="Prev page"]').rel = "prev";
document.body.querySelectorAll('a[href][title="Next page"]').rel = "next";