Uh oh!
There was an error while loading. Please reload this page.
') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })();
There was an error while loading. Please reload this page.
fix(explorer): show correct cost per proof and remove inspects#830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
fix(explorer): show correct cost per proof and remove inspects #830
Changes from all commits
4505643aa6bc3de26ce1928fcd6cba2d5cd14d400088eb429f90fc30f3b0db97b9bbaf38a69dae62d06062e0c071d0a95c14191980f9f6e890f312a97299bbe9e7bc85d6eb5a83da2054b4201d76ed35fa352af60606dd7e9af4eeb4753095cd7d902db552cd1cfdbc1646b8e3f4640b6d777f1ff2a41dbb64bf9a85d3e0acc1193ee43460f7fb69b6ac6a1b196115b105c09c1d804c784f0efba32c163205bba0e228a7a868d5530ffa891eccc6e40073052e74248ae3097e31fbc65a0b5e948492e80a9f80af407de2687fea833c03e2e97d108f4ffbe3402c9d58644de5399698f026dafb7527525e7e69c11fb9f19bb318347aa76a2e1def7376cc2d3043770f7ce9f2dd9a4295528fc8f43aeba15fb1e3d6378d4be7a68a8db9ec420a69ac789480ca1b0b4210487cda96df47e25f59cbea08ed7c67eb54b938a184840af6930ba8566a8f58d9a43ec9dae0599364fd480a5ed7f2921b9397e42cac3fa48dbe07ad3ec200b6a06109fffb8e7f41da0c88d6e22d0200533de2b0c987e335692c40127e085151b3e7a98fb00364f3ac246ffe37ba05bb5a66da5d7a54049485c6fe86758ab48373ad777d8c30d554cd2650a16cc8498868ebb7824e62aac8aa61e525272f05ad2dd1969a51dd66ca1ebd8470963cc85bf7c22c36df15cfb5a8d104358eb003e6f47b89eae5d312446b247f3e160b63be3e6939cdde167557125d4d876516b10bd8c6eb9292fe4a1c0ecd717dd39740c796f37253b5af970c54a7f4da578ca861c12887240750295fca2e05dbda2590931aaa3012e736702c3865b51512fcaa4c2f6cc509116a4a29f4a82379213f7da8102943f43da8a3eb19c96d3c59e4c9ae408985c4558377aaacfcca41fce0ccdeffffcddf299056d7bc2581fcf406a65fc5ce51723683e22107ba3ed0a8914b0309da93037b0f74c9a4f9dfe3da2871351a56a2339c389c4032606baa3d2fa1e7e94d713b1ea2dfe61c0617bbe3a137bdb6959ff86f52e64c86098723a5918a95e57d20927a911223150222679d51cbd56f9a113f2adb0dfddd89eceac139e019c7bfe062e2133363b9e7147d8874df424033df549aba99683cb358b410955219f7db5db95a582c7dede61c4d7fd8977690623f8620440dd9aeabfeb778b9ec2b72c1824b4a74a07c69eb7b68bb3463d92b7fd421a665716ab736e439ae97465ef7cec8e79518c7b2edac4e90285c3096c56544File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.