') + ')', '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); } })(); })(); API data update from `PokeAPI/pokeapi#1417` by pokeapi-machine-user · Pull Request #335 · PokeAPI/api-data · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions data/api/v2/ability/101/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,6 +57,17 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "Powers up the Pok\u00e9mon\u2019s\nweaker moves.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "platinum",
"url": "/api/v2/version-group/9/"
}
},
{
"flavor_text": "Augmente la puissance des capacit\u00e9s les plus faibles.",
"language": {
Expand DownExpand Up@@ -90,17 +101,6 @@
"url": "/api/v2/version-group/9/"
}
},
{
"flavor_text": "Powers up the Pok\u00e9mon\u2019s\nweaker moves.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "platinum",
"url": "/api/v2/version-group/9/"
}
},
{
"flavor_text": "Augmente la puissance des capacit\u00e9s les plus faibles.",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/108/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "\u51fa\u5834\u6642\uff0c\u9810\u898b1\u500b\n\u5c0d\u624b\u6301\u6709\u7684\u62db\u5f0f\u3002",
"language": {
"name": "zh-hant",
"url": "/api/v2/language/4/"
},
"version_group": {
"name": "ultra-sun-ultra-moon",
"url": "/api/v2/version-group/18/"
}
},
{
"flavor_text": "D\u00e9couvre la capacit\u00e9 ennemie la plus puissante.",
"language": {
Expand DownExpand Up@@ -500,6 +489,17 @@
"url": "/api/v2/version-group/18/"
}
},
{
"flavor_text": "\u51fa\u5834\u6642\uff0c\u9810\u898b1\u500b\n\u5c0d\u624b\u6301\u6709\u7684\u62db\u5f0f\u3002",
"language": {
"name": "zh-hant",
"url": "/api/v2/language/4/"
},
"version_group": {
"name": "ultra-sun-ultra-moon",
"url": "/api/v2/version-group/18/"
}
},
{
"flavor_text": "R\u00e9v\u00e8le l'une des capacit\u00e9s de l'ennemi quand le combat commence.",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/116/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "Reduces damage from\nsupereffective attacks.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "x-y",
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "Affaiblit les capacit\u00e9s \u201csuper efficaces\u201d.",
"language": {
Expand DownExpand Up@@ -236,6 +225,17 @@
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "Reduces damage from\nsupereffective attacks.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "x-y",
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "\u52b9\u679c\u30d0\u30c4\u30b0\u30f3\u3000\u306e\u3068\u304d\n\u5a01\u529b\u3092\u3000\u5f31\u3081\u308b\u3002",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/120/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "Powers up moves that\nhave recoil damage.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "x-y",
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "Booste les cap. ayant des d\u00e9g\u00e2ts de contrecoups.",
"language": {
Expand DownExpand Up@@ -247,6 +236,17 @@
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "Powers up moves that\nhave recoil damage.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "x-y",
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "\u53cd\u52d5\u3067\u3000\u30c0\u30e1\u30fc\u30b8\u3092\n\u53d7\u3051\u308b\u6280\u304c\u3000\u5f37\u304f\u306a\u308b\u3002",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/132/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "Reduces damage done to allies.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "omega-ruby-alpha-sapphire",
"url": "/api/v2/version-group/16/"
}
},
{
"flavor_text": "Diminue les d\u00e9g\u00e2ts subis\npar les alli\u00e9s.",
"language": {
Expand DownExpand Up@@ -225,6 +214,17 @@
"url": "/api/v2/version-group/16/"
}
},
{
"flavor_text": "Reduces damage done to allies.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "omega-ruby-alpha-sapphire",
"url": "/api/v2/version-group/16/"
}
},
{
"flavor_text": "\u5473\u65b9\u306e\u3000\u30c0\u30e1\u30fc\u30b8\u3092\n\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/134/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "Raddoppia il peso del Pok\u00e9mon.",
"language": {
"name": "it",
"url": "/api/v2/language/8/"
},
"version_group": {
"name": "lets-go-pikachu-lets-go-eevee",
"url": "/api/v2/version-group/19/"
}
},
{
"flavor_text": "Double le poids\ndu Pok\u00e9mon.",
"language": {
Expand DownExpand Up@@ -533,6 +522,17 @@
"url": "/api/v2/version-group/19/"
}
},
{
"flavor_text": "Raddoppia il peso del Pok\u00e9mon.",
"language": {
"name": "it",
"url": "/api/v2/language/8/"
},
"version_group": {
"name": "lets-go-pikachu-lets-go-eevee",
"url": "/api/v2/version-group/19/"
}
},
{
"flavor_text": "Doubles the Pok\u00e9mon\u2019s weight.",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/139/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "May create another Berry after one is used.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "scarlet-violet",
"url": "/api/v2/version-group/25/"
}
},
{
"flavor_text": "Les Baies utilis\u00e9es\npeuvent repousser.",
"language": {
Expand DownExpand Up@@ -697,6 +686,17 @@
"name": "scarlet-violet",
"url": "/api/v2/version-group/25/"
}
},
{
"flavor_text": "May create another Berry after one is used.",
"language": {
"name": "en",
"url": "/api/v2/language/9/"
},
"version_group": {
"name": "scarlet-violet",
"url": "/api/v2/version-group/25/"
}
}
],
"generation": {
Expand Down
32 changes: 16 additions & 16 deletions data/api/v2/ability/146/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,14 +28,14 @@
],
"flavor_text_entries": [
{
"flavor_text": "\ubaa8\ub798\ubc14\ub78c\uc73c\ub85c\n\uc2a4\ud53c\ub4dc\uac00 \uc62c\ub77c\uac04\ub2e4.",
"flavor_text": "Se c\u2019\u00e8 una tempeste di sabbia, la Velocit\u00e0 aumenta.",
"language": {
"name": "ko",
"url": "/api/v2/language/3/"
"name": "it",
"url": "/api/v2/language/8/"
},
"version_group": {
"name": "x-y",
"url": "/api/v2/version-group/15/"
"name": "sword-shield",
"url": "/api/v2/version-group/20/"
}
},
{
Expand DownExpand Up@@ -82,6 +82,17 @@
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "\ubaa8\ub798\ubc14\ub78c\uc73c\ub85c\n\uc2a4\ud53c\ub4dc\uac00 \uc62c\ub77c\uac04\ub2e4.",
"language": {
"name": "ko",
"url": "/api/v2/language/3/"
},
"version_group": {
"name": "x-y",
"url": "/api/v2/version-group/15/"
}
},
{
"flavor_text": "Augmente la Vitesse lors des\ntemp\u00eates de sable.",
"language": {
Expand DownExpand Up@@ -632,17 +643,6 @@
"url": "/api/v2/version-group/20/"
}
},
{
"flavor_text": "Se c\u2019\u00e8 una tempeste di sabbia, la Velocit\u00e0 aumenta.",
"language": {
"name": "it",
"url": "/api/v2/language/8/"
},
"version_group": {
"name": "sword-shield",
"url": "/api/v2/version-group/20/"
}
},
{
"flavor_text": "Boosts the Pok\u00e9mon\u2019s Speed stat in a sandstorm.",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/150/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,6 +27,17 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "\u76ee\u306e\u524d\u306e\u3000\u30dd\u30b1\u30e2\u30f3\u306b\n\u5909\u8eab\u3000\u3057\u3066\u3057\u307e\u3046\u3002",
"language": {
"name": "ja",
"url": "/api/v2/language/11/"
},
"version_group": {
"name": "sun-moon",
"url": "/api/v2/version-group/17/"
}
},
{
"flavor_text": "Adopte l\u2019apparence du\nPok\u00e9mon adverse.",
"language": {
Expand DownExpand Up@@ -324,17 +335,6 @@
"url": "/api/v2/version-group/17/"
}
},
{
"flavor_text": "\u76ee\u306e\u524d\u306e\u3000\u30dd\u30b1\u30e2\u30f3\u306b\n\u5909\u8eab\u3000\u3057\u3066\u3057\u307e\u3046\u3002",
"language": {
"name": "ja",
"url": "/api/v2/language/11/"
},
"version_group": {
"name": "sun-moon",
"url": "/api/v2/version-group/17/"
}
},
{
"flavor_text": "\u53d8\u8eab\u4e3a\u5f53\u524d\u9762\u5bf9\u7684\u5b9d\u53ef\u68a6\u3002",
"language": {
Expand Down
22 changes: 11 additions & 11 deletions data/api/v2/ability/152/index.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,17 +27,6 @@
}
],
"flavor_text_entries": [
{
"flavor_text": "Momifie le talent de l\u2019ennemi qui\nle touche.",
"language": {
"name": "fr",
"url": "/api/v2/language/5/"
},
"version_group": {
"name": "omega-ruby-alpha-sapphire",
"url": "/api/v2/version-group/16/"
}
},
{
"flavor_text": "Momifie la cap. sp\u00e9. de\nl\u2019ennemi qui le touche.",
"language": {
Expand DownExpand Up@@ -181,6 +170,17 @@
"url": "/api/v2/version-group/16/"
}
},
{
"flavor_text": "Momifie le talent de l\u2019ennemi qui\nle touche.",
"language": {
"name": "fr",
"url": "/api/v2/language/5/"
},
"version_group": {
"name": "omega-ruby-alpha-sapphire",
"url": "/api/v2/version-group/16/"
}
},
{
"flavor_text": "Ber\u00fchrt man das Pok\u00e9mon,\n\u00fcbernimmt man seine F\u00e4higkeit.",
"language": {
Expand Down
Loading