Skip to content

Instantly share code, notes, and snippets.

View Fawers's full-sized avatar
💻
Studying and gaming

Fabricio Werneck Fawers

💻
Studying and gaming
View GitHub Profile
@mateusmaaia
mateusmaaia / dafiti-products.js
Last active October 7, 2025 17:13
Discover what products are sold and distributed by Dafiti's
javascript:(
function(){
$(".banner-text-box").css("display", "none");
$(".col-md-3").css("width","15%");
$(".col-md-9").css("width","85%");
$(".product-list-col-3 .product-box").css({"width": "30%", "margin-right": "3%"});
$(".product-box").each((i, item) => {
url = $(item).find(".quickview-link.product-box-preview").attr("data-remote");
@rafaelcanovas
rafaelcanovas / main.js
Created June 14, 2016 19:29
A widget that shows the current image thumbnail instead of clear/modify controls.
function styleFileUploader(fileInputId) {
var fileInput = $(fileInputId),
addFileField = fileInput.siblings('button');
fileInput.hide();
addFileField.on('click touchstart', function (e) {
fileInput.trigger('click').trigger('touchstart');
});