Skip to content

Instantly share code, notes, and snippets.

// 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="([^"]*)
(function () {
extracting = false;
FIXED = 'data-link-fixed';
document.addEventListener('click', function (e) {
if (extracting) return;
if (e.target.closest(`a[${FIXED}]`)) {
e.stopPropagation();
return;
// Select Match ID
data-event-id="([^"]*)
// Retain only highlighted rows
Standings - Overall
--------------------
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[^>]*>([^<]*)
@sysnucleus
sysnucleus / gist:9949f7104e574574b4bf21b4060f31b6
Created December 30, 2025 11:23
WebHarvy RegEx codes for mdpi.com | corresponding author name and email
Corresponding Author Name
--------------------------
scholar\?q=([^"]*)[^>]*>[^>]*>[^>]*>[^>]*>[^>]*>[\d\s\,]*\*
Email
------
\*<\/sup>[^>]*>[^>]*><a class="[^"]*" data-author-id="\d+" href="mailto:([^"]*)
@sysnucleus
sysnucleus / script.js
Created July 31, 2025 04:33
JS code to open pinnacle opening odds in Oddspedia
// ------------------------------------------------------
// For WebHarvy - https://www.webharvy.com
// ------------------------------------------------------
// JavaScript Code to Open 'Pinnacle' Opening Odds.
// You may change the book maker name to one of your choice.
// ------------------------------------------------------
elements = document.querySelectorAll('.eoc-table__row__bookmaker');
pinnacleElements = Array.from(elements).filter(element =>
element.innerHTML.includes('alt="Pinnacle"')
@sysnucleus
sysnucleus / gist:b92f49f0127de747cab0ab411bf112c5
Created May 3, 2025 03:27
webharvy couponfollow.com codes
// JavaScript for revealing coupon code
links = document.querySelectorAll('a[href]');
for (let i = 0; i < links.length; i++) {
link = links[i];
href = decodeURIComponent(link.href);
match = href.match(/(?:cc|promo)\/(\d+)/);
if (match) {
code = match[1];
link.href = `https://couponfollow.com/site/macys.com#C${code}`;
@sysnucleus
sysnucleus / gist:f0daa5f6a16701b6a37dd574ad6f79aa
Last active April 22, 2025 06:58
BetExplorer WebHarvy Codes
BetExplorer Codes
//---------------------------------------------------------------------------
// Mouse Over for 1xBet Home Opening Odds
// hda = 4 means home opening
// Change hda = 5 for Draw and hda = 6 for Away opening odds
// Change bookmaker as per requirement
//---------------------------------------------------------------------------
index = 4;
<title>([^<]*)
document.body.innerHTML = document.body.innerText
@sysnucleus
sysnucleus / webharvy-takealot
Created February 6, 2022 04:30
WebHarvy takealot.com codes
// JavaScript Code
els = document.getElementsByClassName('image-box undefined');
for (var i = els.length - 1; i >= 0; i--) {
img = els[i].children[0];
img.setAttribute('src', img.getAttribute('src').replace('list', 'pdpxl'));
}
// RegEx