I hereby claim:
- I am damien-list on github.
- I am damli (https://keybase.io/damli) on keybase.
- I have a public key ASB69ifxGTLP_3M_UxrYuKAfoPrK7BVQYr3vprJZLOTkhgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Top 6 | |
bugsense.com | |
jslogger.com | |
qbaka.com | |
muscula.com | |
errorception.com | |
exceptionhub.com | |
Not targeting JS primarily: | |
exceptional.io |
function is_email(id){return (/^([w!.%+-*])+@([w-])+(?:.[w-]+)+$/).test(id);} |
(function($) { | |
$.fn.extend( { | |
limiter: function(limit, elem) { | |
$(this).on("keyup focus", function() { | |
setCount(this, elem); | |
}); | |
function setCount(src, elem) { | |
var chars = src.value.length; | |
if (chars > limit) { | |
src.value = src.value.substr(0, limit); |
<div id="ads_bottom" style="position: absolute; bottom: 0; right: -5000px; width: 100px; height: 100px;"></div> | |
onload = function() { | |
if (document.getElementById('ads_bottom').offsetHeight == 0) { | |
alert('Désactivez AdBlock !'); | |
} | |
} |
$(document).ready(function() { | |
if ( !("placeholder" in document.createElement("input")) ) { | |
$("input[placeholder]").each(function() { | |
var val = $(this).attr("placeholder"); | |
if ( this.value == "" ) { | |
this.value = val; | |
} | |
$(this).focus(function() { | |
if ( this.value == val ) { |
<?php | |
ini_set("display_errors", 1); | |
error_reporting(E_ALL); | |
?> |