View adblocker-detect.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hab() { | |
var t = document.createElement('div'); | |
t.innerHTML = ' '; | |
t.className = 'ad doubleclick google-ad adsbox pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads skyscraper text-ad-links'; | |
var e = !(t.style = 'width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;'); | |
try { | |
document.body.appendChild(t); | |
var a = document.getElementsByClassName('adsbox')[0]; | |
if (0 !== a.offsetHeight && 0 !== a.clientHeight || (e = !0), void 0 !== window.getComputedStyle) { var d = window.getComputedStyle(a, null); !d || 'none' != d.getPropertyValue('display') && 'hidden' != d.getPropertyValue('visibility') || (e = !0) } document.body.removeChild(t) | |
} |
View devtools-detection.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tryCount = 0; | |
var minimalUserResponseInMiliseconds = 200; | |
function check() { | |
console.clear(); | |
before = new Date().getTime(); | |
debugger; | |
after = new Date().getTime(); | |
if (after - before > minimalUserResponseInMiliseconds) { | |
document.write(" Dont open Developer Tools. "); | |
self.location.replace(window.location.protocol + window.location.href.substring(window.location.protocol.length)); |
View reset.md
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
openssl rand -hex 6 | sed 's/(..)/\1:/g; s/.$//' | xargs sudo ifconfig en0 ether
View OCV snippet.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.body.addEventListener('click', e=>{ | |
let t = e.target; | |
if(t.classList.contains('row')){ | |
let p = t.parentElement.parentElement.parentElement; | |
let s = t.parentElement.parentElement; | |
s.style.background = 'yellow'; | |
let elm = [...t.querySelectorAll('.display-text')]; | |
elm = elm.filter(x=>x.innerText=='Edge\\Developer Tools'); | |
if(elm[0]){ | |
elm[0].parentElement.nextElementSibling.nextElementSibling.click(); |
View flight facts.md
Fact #01 - Sky Babies
Apart from a crash, the worst nightmare of every flight attendant is childbirth on board. Although extremely rare, nearly 60 babies were born in the sky!
https://www.cntraveller.in/story/explained-happens-baby-born-airplane/
Fact #02 - A long flight
The longest commercial flight you can book is a flight from Singapore to New York that lasts 18 hours 50 minutes... better get comfortable!
View codeeurope2022.md
Code Europe: Increasing developer effectivity by merging browser tooling and editors
- Microsoft Edge DevTools documentation overview
- Can I use? browser compatibility and support charts
- DevTools inspect tool
- DevTools Elements Tool
- DevTools CSS Grid Inspection
- DevTools Font Editor
- DevTools Issues tool
- Filtering Issue Reports
View bettertogether.md
Resources for "The better together story of Edge DevTools"
We'd love you to help us to spread the message of this idea, so if you need anything (screencasts, videos, help to write blog posts), feel free to contact Chris Heilmann.
This talk/presentation
Materials to watch/read/send to people
View 7devsecrets.md
"7 Developer Tools secrets that shouldn't be secrets" resources
Slides
Console
View jokes.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const e = [ | |
'10 PRINT "BBC Developer Portal" | |
20 GOTO 10', | |
"THE HITCHHIKER'S GUIDE TO THE GALAXY | |
Infocom interactive fiction - a science fiction story | |
Copyright (c) 1984 by Infocom, Inc. All rights reserved. | |
Release 59 / Serial number 851108 | |
You wake up. The room is spinning very gently round your head. Or at least it would be if you could see it which you can't. | |
It is pitch black. | |
>turn on lights |
NewerOlder