Skip to content

Instantly share code, notes, and snippets.

View svelteComponentRecaptcha.svelte
// Due to the nature of svelte, implementing recaptcha inside a svelte component by following the official documentation
// can lead to DOM issue.
// The best way I find is to render the recaptcha inside onMount
<script>
import { onMount } from 'svelte';
onMount(async () => {
window.grecaptcha.ready(() => {
grecaptcha.render('recaptcha-id', { sitekey: YOUR_SITE_KEY })
@kiuKisas
kiuKisas / bonjourepi.user.js
Last active Feb 4, 2017
GreaseMonkey script that can allow you to access to secret bonjourMadame wrapper from Epitech Intranet !!
View bonjourepi.user.js
// ==UserScript==
// @name BonjourEpi
// @namespace BonjourEpi
// @description BonjourMadame sur l'intra d'Epitech ?
// @match https://intra.epitech.eu/*
// @version 1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @run-at document-start
// ==/UserScript==