Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5052ee5fbd
Fetching contributors…

Cannot retrieve contributors at this time

189 lines (150 sloc) 8.469 kb
<!--
This is simil source code of my bookmarks description with irrelevant part striped for debugging.
The code inside !-- START ODPy -- and -- END ODPy -- is the relevant part
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Open Directory - Bookmarks: D: development</title>
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
</head>
<body>
<!-- START JavaScipt Worldlinkerator -->
<!--
this is the piece of code that is pasted into my bookmark's description,
then this is loaded when my bookmark's description page is opened.
-->
<!-- loading -->
<style>body{display:none;}</style>
<!-- basics -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<!-- ie fix -->
<!--[if IE]>
<script>
document.createElement("header" );
document.createElement("footer" );
document.createElement("section");
document.createElement("aside" );
document.createElement("nav" );
document.createElement("article");
document.createElement("hgroup" );
document.createElement("time" );
</script>
<![endif]-->
<!-- document load -->
<script type="text/javascript">
var ODPy;
$("body").hide();
$(document).ready(function(){
//here the fun..
//html5 thing
document.doctype.parentNode.replaceChild(document.implementation.createDocumentType('html','',''), document.doctype);
//editors.dmoz.org only
if(document.location.host != '' && document.location.host != 'localhost' && document.location.host != 'editors.dmoz.org')
{
document.location = 'http://editors.dmoz.org/desc/Test/World_Test/World/Espa%C3%B1ol/Herramientas_para_editores/Herramientas_poderosas/JavaScript_Worldlinkerator';
}
else
{
//reset head
$("head").empty();
$("head").append('<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">');
$("head").append('<title>JavaScript Worldlinkerator - Semi-fix altlang</title>');
$("head").append('<link rel="icon" type="image/ico" href="/img/mozilla.ico">');
//reset body
$("head").append($('#body'));
$("body").empty();
$("body").append($('#body'));
ODPy = ODP;//mozilla fix
ODPy.load();
}
});
</script>
<section id="body"><!-- start body -->
<!-- container of hidden categories -->
<section class="container"></section>
<!-- css -->
<link rel="stylesheet" type="text/css" href="http://github.com/titoBouzout/ODPy/raw/master/css/forms.css"/>
<link rel="stylesheet" type="text/css" href="http://github.com/titoBouzout/ODPy/raw/master/css/page.css"/>
<link rel="stylesheet" type="text/css" href="http://github.com/titoBouzout/ODPy/raw/master/css/html5.fix.css"/>
<link rel="stylesheet" type="text/css" href="http://github.com/titoBouzout/ODPy/raw/master/css/odpy.css"/>
<!-- js -->
<!-- master libraries -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/master/swfaddress.js"></script>
<!-- libraries plugins -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/plugins/jquery.inputDefault.js"></script>
<!-- libraries -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryParser.js"></script>
<!-- utils -->
<!-- arrays -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/arrays/inArray.js"></script>
<!-- dom -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/dom/flip.js"></script>
<!-- strings -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/decodeUTF8.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/encodeURI.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/encodeUTF8.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/htmlSpecialCharsDecode.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/match.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/string.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/stripTags.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/subStrCount.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/strings/trim.js"></script>
<!-- urls -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/urls/getSubdomainFromURL.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/urls/removePort.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/urls/removeSubdomain.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/urls/removeWWW.js"></script>
<!-- odp from the ODP Extension -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryCheckFormat.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryGetFromURL.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryGetLastChildName.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryGetURLPrivate.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryParser.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categorySanitize.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryStartsWithValidName.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/categoryTitle.js"></script>
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/lib/ODP/isODPSubdomain.js"></script>
<!-- main -->
<script type="text/javascript" src="http://github.com/titoBouzout/ODPy/raw/master/worldlinkerator.js"></script>
<section class="page">
<!-- header -->
<aside class="margin"></aside>
<header>
<a title="Open Directory Project" href="http://www.dmoz.org/">
<img src="/img/odphead.gif" width="222" height="25" align="middle" alt="Open Directory Project Logo" border="0">
</a>
<img width="83" height="24" align="middle" src="http://editors.dmoz.org/img/aolsearch.gif" alt="In Partnership with AOL Search" style="float:right;">
<nav class="menu">
<input
type="text"
id="category"
placeholder="Type or paste a category path/url here.."
title="Type or paste a category path/url here.."
style="width:100%;"
onkeyup="ODPy.worldlinkerate(this.value);"
onchange="ODPy.worldlinkerate(this.value);"
onblur="ODPy.worldlinkerate(this.value);"
/>
</nav>
</header>
<!-- CONTENT -->
<section class="content" style="margin-bottom:50px;">
</section>
</section><!-- end page -->
<footer>
Copyright © 1998-2010 Netscape — <br />
<a href="http://github.com/titoBouzout/ODPy"><acronym title="Editor Produced Tool">EPT</acronym> ODPy</a>
is an experimental HTML5 interface for ... whatever,
by editor <a href="http://www.dmoz.org/profiles/development.html">development</a>
</footer>
<aside class="status-bar" data-status="">loading document…</aside>
</section><!-- end #body -->
<!-- END JavaScipt Worldlinkerator -->
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.