Last updated on 21.4.2024
Hello, I want to share some useful custom scrapers that everyone can add to their bookmarks and use for free!
Titles scraper (SERP)
javascript:(function() { var elements = document.querySelectorAll('h3.LC20lb.MBeuO.DKV0Md'); var contentList = []; elements.forEach(function(el) { contentList.push(el.innerText.trim()); }); var contentString = contentList.join('\n'); navigator.clipboard.writeText(contentString).then(function() { console.log('Content copied to clipboard'); }, function(err) { console.error('Could not copy text: ', err); });})();
Keywords from the END of the page scraper
javascript:(function() { var elements = document.querySelectorAll('div.s75CSd.u60jwe.r2fjmd.AB4Wff'); var contentList = []; elements.forEach(function(el) { contentList.push(el.innerText.trim()); }); var contentString = contentList.join('\n'); navigator.clipboard.writeText(contentString).then(function() { console.log('Content copied to clipboard'); }, function(err) { console.error('Could not copy text: ', err); });})();
Suggested Keywords (searchbox) Scraper
javascript:(function() { var elements = document.querySelectorAll('div.wM6W7d'); var contentList = []; elements.forEach(function(el) { contentList.push(el.innerText.trim()); }); var contentString = contentList.join('\n'); navigator.clipboard.writeText(contentString).then(function() { console.log('Content copied to clipboard'); }, function(err) { console.error('Could not copy text: ', err); });})();
PAA Scraper
LTR (EN) Version
javascript:(function() { var elements = document.querySelectorAll('span[jsname="r4nke"].JCzEY.tNxQIb'); var contentList = []; elements.forEach(function(el) { contentList.push(el.innerText.trim()); }); var contentString = contentList.join('\n'); navigator.clipboard.writeText(contentString).then(function() { console.log('Content copied to clipboard'); }, function(err) { console.error('Could not copy text: ', err); });})();
RTL Version
javascript:(function() { var elements = document.querySelectorAll('div.JlqpRe span.CSkcDe'); var contentList = []; elements.forEach(function(el) { contentList.push(el.innerText.trim()); }); var contentString = contentList.join('\n'); navigator.clipboard.writeText(contentString).then(function() { console.log('Content copied to clipboard'); }, function(err) { console.error('Could not copy text: ', err); });})();