Skip to content

Instantly share code, notes, and snippets.

View Jayasagar's full-sized avatar

Jayasagar Jagirapu Jayasagar

View GitHub Profile
@mstijak
mstijak / error.js
Created November 13, 2016 21:49
Google Bot Crawl Debugging
window.onerror = function (message, url, lineNo, colNo, error) {
console.log(arguments);
let container = document.createElement('div');
container.style.color = 'red';
container.style.position = 'fixed';
container.style.background = '#eee';
container.style.padding = '2em';