Skip to content

Instantly share code, notes, and snippets.

View rdricco's full-sized avatar
Working from home

renato ricco rdricco

Working from home
View GitHub Profile
<-- Inserir no body -->
<custom name="opencounter" type="tracking" />
rdricco / HeaderTopBar.html
Last active February 19, 2021 16:27
<div class="header__bar">
<div class="shell">
<div class="header__bar-inner">
<ul class="list-features">
<span style="color: white; text-transform:none;">
<a href="">
<strong>FRETE GRÁTIS</strong>* Brasil: Veja as condições.
rdricco / observe-element.js
Last active January 7, 2020 17:42
js observer
function observeElement(el) {
// select the target node
var target = document.querySelector(el);
// create an observer instance
var observer = new MutationObserver(function(mutations) {
console.log('mutação detectada');