Skip to content

Instantly share code, notes, and snippets.

@mikhoul
mikhoul / unfix-all-the-toolbars.user.js
Created Oct 20, 2017 — forked from hyOzd/unfix-all-the-toolbars.user.js
GreaseMonkey script to remove "position: fixed" from webpages
View unfix-all-the-toolbars.user.js
// ==UserScript==
// @name unfix-all-the-toolbars
// @description Removes "position: fixed" style from elements, unfixing "toolbars" and the such.
// @namespace https://hasanyavuz.ozderya.net
// @include *
// @version 1
// @grant none
// ==/UserScript==
View linkToQrcode
javascript:(function(){document.location.href='https://chart.googleapis.com/chart?chs=150x150&cht=qr&choe=UTF-8&chl='+encodeURIComponent(document.location.href);})()
// 根据当前页面生成 QR code 的 bookmarklet
// 用到了 Google Chart API: https://developers.google.com/chart/infographics/docs/qr_codes?csw=1