This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //---------------------------------------------- | |
| // Click Home-H2H tab | |
| //---------------------------------------------- | |
| document.querySelector('.h2hSection').children[0].children[1].click(); | |
| //---------------------------------------------- | |
| // Remove H2H section if matches less than 5 | |
| //---------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //bet365 — Home opening odds: | |
| alt="bet365"[\s\S]*?ODDS_COMPARISONS_ODD_CELL_1"[\s\S]*?(?:title="(?<opening>[\d.]+)\s*\u00BB\s*[\d.]+"[\s\S]*?<span[^>]*>[\d.]+</span>|title=""[\s\S]*?<span[^>]*>(?<opening>[\d.]+)</span>) | |
| //bet365 — Draw opening odds: | |
| alt="bet365"[\s\S]*?ODDS_COMPARISONS_ODD_CELL_2"[\s\S]*?(?:title="(?<opening>[\d.]+)\s*\u00BB\s*[\d.]+"[\s\S]*?<span[^>]*>[\d.]+</span>|title=""[\s\S]*?<span[^>]*>(?<opening>[\d.]+)</span>) | |
| // bet365 — Away opening odds: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <OddsPortal Codes for WebHarvy/> | |
| //------------------------------------------------------------------------------- | |
| // Closing Odds (1, X, 2) | |
| // For Bet365, change bookmaker name as required, for example: Pinnacle[^\d]*(.*) | |
| //-------------------------------------------------------------------------------- | |
| bet365[^\d-]*(.*) | |
| bet365[^\d-]*.*\s*(.*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| els = document.getElementsByClassName('core-authors')[0]; | |
| for (var i = els.children.length - 1; i >= 0; i--) { | |
| el = els.children[i]; | |
| if(!el.innerHTML.includes('mailto')) { | |
| el.parentElement.removeChild(el); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| els = document.getElementsByClassName('al-author-name'); | |
| for (var i = els.length - 1; i >= 0; i--) { | |
| if(!els[i].innerHTML.includes('*')) { | |
| els[i].parentElement.removeChild(els[i]); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // RegEx for Author Name | |
| name="citation_author" content="([^"]*)"><meta data-vue-meta="1" name="citation_author_email" | |
| // RegEx for Email | |
| name="citation_author" content="[^"]*"><meta data-vue-meta="1" name="citation_author_email" content="([^"]*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| extracting = false; | |
| FIXED = 'data-link-fixed'; | |
| document.addEventListener('click', function (e) { | |
| if (extracting) return; | |
| if (e.target.closest(`a[${FIXED}]`)) { | |
| e.stopPropagation(); | |
| return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Select Match ID | |
| data-event-id="([^"]*) | |
| // Retain only highlighted rows | |
| Standings - Overall | |
| -------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Yellow card[\s\S]*?<span[^>]*>([^<]*) | |
| Red card[\s\S]*?<span[^>]*>([^<]*) | |
| Substitution[\s\S]*?<span[^>]*>([^<]*) | |
| >Goal[\s\S]*?<span[\s\S]*?<span[^>]*>([^<]*) | |
| >Own goal[\s\S]*?<span[\s\S]*?<span[^>]*>([^<]*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Corresponding Author Name | |
| -------------------------- | |
| scholar\?q=([^"]*)[^>]*>[^>]*>[^>]*>[^>]*>[^>]*>[\d\s\,]*\* | |
| ------ | |
| \*<\/sup>[^>]*>[^>]*><a class="[^"]*" data-author-id="\d+" href="mailto:([^"]*) |
NewerOlder