Skip to content

Instantly share code, notes, and snippets.

@Tiramisu77
Tiramisu77 / liftMDN.user.js
Created March 7, 2019 15:45
lift MDN usercscript
// ==UserScript==
// @name lift MDN
// @description move search results from MDN to the top of the page
// @include https://www.google.com/search*
// @run-at document-end
// @grant none
// ==/UserScript==
(function() {
'use strict';
const calculateEarnedMerit = function(activity, rawMerit){
const meritStartDate = new Date("January 24, 2018")
const today = Date.now()
const startMerits = {
"Brand new": 0,
"Newbie":0,
"Jr Member": 1,