Skip to content

Instantly share code, notes, and snippets.

/*
Open your browser's Dev Tools (F12) and run this in the console to
open every frame/iframe on the current page in a new window.
Especially handy for any non-Firefox browser that doesn't provide a
context menu option to open iframes in a new tab/window
NOTE: You may need to disable your popup blocker in some browsers **cough** Google Chrome **cough**
*/
for(var i=0;i<window.frames.length;i++){
window.open(window.frames[i].location.href, 'f' + i, '');
}
@scunliffe
scunliffe / HTML5InputTypeRange.html
Created February 15, 2016 20:24
HTML5 Input Type Range Example
<input type="range" min="1" max="10" step="1"/>
@scunliffe
scunliffe / gist:d0aa32ba3c2b2fffb422
Last active August 29, 2015 14:03
Absolute Base Template
<!doctype html>
<html>
<head>
<style>
html,body{
font-family:Arial, Helvetica, sans-serif;
font-size:9pt;
}
</style>
</head>