Skip to content

Commit c6648ce

Browse files
committed
feat: Add match *://learning.oreilly.com/library/view/*
1 parent 43feae3 commit c6648ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

toc-bar.user.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
// @match *://distill.pub/*
2323
// @match *://github.com/*/*
2424
// @match *://developer.mozilla.org/*/docs/*
25+
// @match *://learning.oreilly.com/library/view/*
2526
// @run-at document-idle
2627
// @grant GM_getResourceText
2728
// @grant GM_addStyle
@@ -95,7 +96,10 @@
9596
},
9697
'developer.mozilla.org': {
9798
contentSelector: '#content'
98-
}
99+
},
100+
'learning.oreilly.com': {
101+
contentSelector: '#sbo-rt-content'
102+
},
99103
}
100104

101105
function getSiteInfo() {

0 commit comments

Comments
 (0)