Skip to content

Instantly share code, notes, and snippets.

Gaël Métais gmetais

Block or report user

Report or block gmetais

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gmetais / findCssProperty.js
Last active Aug 29, 2015
Find a CSS property in the page
View findCssProperty.js
* Copy this function in the browser console then start using.
* Examples:
* findCssProperty('background-image')
* --> log into the console all the background-images used
* findCssProperty('font-family', 'Roboto')
* --> log into the console all elements that have a background that contains the string "Roboto"
View Airport wi-fi injected ad script
if (window.addEventListener) {
window.addEventListener("load", AIALoadEvent);
} else {
window.attachEvent("onload", AIALoadEvent);
function AIALoadEvent() {
if (self == top) {
setTimeout(AIADisplayADV, 2000);
gmetais / findMultipleCssProperties.js
Last active May 7, 2016
Look up the DOM to find elements that have multiple CSS properties
View findMultipleCssProperties.js
* Copy this function in the browser console then start using.
* Example:
* findMultipleCssProperties([['font-family', 'Roboto'], ['font-weight', 'normal', true], ['font-style', 'italic', true]])
* --> the last parameter (true) means the value should be found exactly, otherwise any string that contains the value is marked as ok
gmetais / gzip-conf.txt
Last active Jan 6, 2020
This is a list of Content-Type / mime-type for a server Gzip compression configuration
View gzip-conf.txt
You can’t perform that action at this time.