Skip to content

Instantly share code, notes, and snippets.

@natzir
natzir / Google-Image-Entity-Extractor.js
Last active Nov 23, 2020
Google Images Entity Extractor
View Google-Image-Entity-Extractor.js
javascript:(function(){output="<html><head><title>Google Images Entity Extractor</title></head><body>";var imageEntity = document.getElementsByClassName(" PKhmud sc-it tzVsfd");for(var i = 0; i < imageEntity.length; i++){var entity = imageEntity[i].innerText;output+=entity+"<br />";};with(window.open()){document.write(output);document.close();}})();
View cannibalization.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / google-api-indexing.ipynb
Created Nov 12, 2020
Google-API-Indexing.ipynb
View google-api-indexing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / puppeteer-fetch-and-render.js
Last active Oct 28, 2020
Fetch and Render as Googlebot
View puppeteer-fetch-and-render.js
// This code allows you to render a page as Googlebot with puppeter (headless Chrome).
// It even renders elements with the lazy-load implemented through IntersectionObserver.
// Copy and paste it here: https://try-puppeteer.appspot.com/
const browser = await puppeteer.launch();
const page = await browser.newPage();
// Descriptors for other mobile devices: https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts
const mobile = {
name: 'Nexus 5X',
View SERP-analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View seo-forecast.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bubbles.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View meta-queries.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View semantic_crosslinking.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View seo-split-testing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.