Skip to content

Instantly share code, notes, and snippets.

View Deltachaos's full-sized avatar

Maximilian Ruta Deltachaos

View GitHub Profile
@Deltachaos
Deltachaos / yt18.html
Created April 24, 2012 21:16
Translate a "18bla, you must login to see this video" Videolink into blupp viewable without login (http://yt18.natenom.name)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>yt18</title>
<style type="text/css">
body {
background-color: #abcdef;
overflow: hidden;
text-decoration: bold;
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}