Skip to content

Instantly share code, notes, and snippets.

View ElfhirDev's full-sized avatar

ElfhirDev ElfhirDev

View GitHub Profile
@ElfhirDev
ElfhirDev / jvc_hide_cookie.user.css
Created April 10, 2020 06:25
jvc_hide_cookie.user.css
@ElfhirDev
ElfhirDev / HelveticaNeue_FontFace.css
Created June 20, 2019 14:03
Fix a bold rendering problem with Helvetica Neue "Faux Bold"
@font-face {
font-family: 'Helvetica Neue';
src: local('Helvetica Neue');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Helvetica Neue';
@ElfhirDev
ElfhirDev / avenoel-toolkit.user.js
Last active November 15, 2017 17:54
Add toolbar functionalities : go to the top/bottom of the page, refresh,
// ==UserScript==
// @name avenoel-toolkit
// @namespace avnt
// @description toolbar for scroll to top, to bottom, refresh, youtube-player from cdv
// @include https://avenoel.org/*
// @version 1.03
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js
// @run-at document-end
// ==/UserScript==
@ElfhirDev
ElfhirDev / gmail-enhancer.user.js
Last active June 18, 2017 11:14
gmail-enhancer
// ==UserScript==
// @name gmail-enhancer
// @namespace gmail-enhancer
// @description gmail-enhancer UX experience
// @include https://mail.google.com/mail/*
// @version 1.2
// @grant none
// ==/UserScript==
(function() {
@ElfhirDev
ElfhirDev / jthreshold-scroll.user.css
Last active October 26, 2016 13:29
Display line of threshold for scroll-based animation. When element is between the line, it will be affected. Need GreaseMonkey / Tampascript and Stylish plugins.
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp("http://localhost/([a-zA-Z0-9_/])+") {
.jgrid {
position: fixed;
z-index: 999998;
top:0; left: 0; right: 0; bottom: 0;
width: 100%;
height: 100%;
}
@ElfhirDev
ElfhirDev / Clean zoom image
Last active October 10, 2016 10:12
zoom-image.css
/* 2016.10.10 */
img {
display: block;
width: 100%;
height: 100%;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
-moz-transition: transform 0.250s ease;
@ElfhirDev
ElfhirDev / yt-anti-suggested-video-right-bar.user.js
Last active September 14, 2016 15:39
Remove suggested video because not relevant most of the time : based on previously seen video, videos in my subscribs but already seen ...
// ==UserScript==
// @name yt-anti-suggested-video
// @namespace yt-anti
// @description remove suggested video because not relevant
// @include https://www.youtube.com/*
// @version 1.5
// @grant none
// @require https://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.min.js
// ==/UserScript==
$(document).ready(function () {
@ElfhirDev
ElfhirDev / yt-make-playlist.user.js
Last active August 12, 2016 08:06
Make Youtube Playlist on the Fly
// ==UserScript==
// @name yt-make-playlist
// @namespace yt-make-playlist
// @include https://www.youtube.com/*
// @version 1.1
// @grant none
// @require https://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.min.js
// ==/UserScript==
$(document).ready(function () {
var ids = [];
@ElfhirDev
ElfhirDev / bg-img.css
Created August 4, 2016 09:47
css image bg replace img src
/* Inspired by https://github.com/JasonBarnabe/stylish */
#img {
height: 0 !important;
width: 0 !important;
/* these numbers match the new image's dimensions */
padding-left: 128px !important;
padding-top: 128px !important;
background: url(http://placekitten.com.s3.amazonaws.com/homepage-samples/408/287.jpg) no-repeat !important;
}