Skip to content

Instantly share code, notes, and snippets.

View jilink's full-sized avatar

Jimmy SOUSSAN jilink

View GitHub Profile
@jilink
jilink / canvaFilterPremium.js
Last active August 5, 2023 13:45
Canva filter premium elements
javascript:(function(){
function applyStyleToNewElements() {
const elementsToRemove = document.querySelectorAll('div div div div div div div img + span span span.alJDIQ');
elementsToRemove.forEach(element => {
let parentDiv = element;
for (let i = 0; i < 9; i++) {
parentDiv = parentDiv.parentElement;
if (!parentDiv) return;
}
@jilink
jilink / mytf1subtitles.js
Created October 14, 2022 08:54
Sous titre plus gros mytf1
javascript:(function(){
const subtitleElement = document.getElementsByClassName("shaka-text-container")[0];
subtitleElement.setAttribute("style", "font-size: 50px;");
})();
@jilink
jilink / .zshrc
Last active July 10, 2022 11:20
Melvyn Zsh
ANTIGEN_LOG="$HOME/antigen/CHANGELOG.md"
source "$HOME/antigen/antigen.zsh"
antigen use oh-my-zsh
antigen bundle git
antigen bundle pip
antigen bundle command-not-found
antigen bundle zsh-users/zsh-completions
@jilink
jilink / text-to-orange.js
Created July 8, 2022 14:39
Tuto bookmarklet - Change text to orange
var all = document.getElementsByTagName("*");
for (var i=0, max=all.length; i < max; i++) {
all[i].style.color = "orange";
}
@jilink
jilink / github-to-vscode-toggle.js
Created November 5, 2021 22:30
Bookmarklet to toggle between github repo and vscode version in one click
javascript: (function () {
if (window.location.href.includes("vscode.dev")) {
window.location.replace(
window.location.href.replace(
"vscode.dev/", ""
).replace("github", "github.com"))
}
else {
window.location.replace(`http://vscode.dev/${window.location.href}`)
}
@jilink
jilink / github-to-vscode-simple.js
Created November 5, 2021 22:28
Bookmarklet to go from github repo to vscode version in one click
javascript:(function(){window.location.replace(`http://vscode.dev/${window.location.href}`)})();