- Vær en nørd (!important)
- Installer dotjs (http://defunkt.io/dotjs/)
- Put
webhosting.dk.jsi~/.js - Gå til http://www.webhosting.dk/cgi-bin/domainscannerview.pl
- Find feltet markeret med grøn
- Profit
Created
May 23, 2012 10:35
-
-
Save mikker/2774498 to your computer and use it in GitHub Desktop.
Filtrer Webhosting.dk's nyligt udløbne .dk-domæner efter længde
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| var cl = function(){ if(console && console.log) { console.log(arguments); } } | |
| $(function(){ | |
| $("td a font").css({fontSize: '14px !important'}); | |
| $("font table:nth-child(3)").hide(); | |
| $("form:nth-child(3)").after(lengthInput); | |
| $("input#filterLength").change(function(e){ | |
| $("tr").show(""); | |
| if (this.value.length > 0) { | |
| filterResultsByLength(parseInt(this.value)); | |
| } | |
| }); | |
| }); | |
| var lengthInput = $("<input placeholder='Max længde' type='text' length='4' style='border: 2px solid green' id='filterLength'>"); | |
| var filterResultsByLength = function(length) { | |
| length = length+3; | |
| $("td a font").filter(function(){ | |
| return ($(this).text().length > length); | |
| }).parents("tr").hide(); | |
| } | |
| }()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment