I hereby claim:
- I am iiic on github.
- I am iiic (https://keybase.io/iiic) on keybase.
- I have a public key whose fingerprint is C331 FDC2 0D2E B506 A522 E160 760C C8FB FF5A 6EA7
To claim this, I am signing this object:
Verifying that +iiiiic is my blockchain ID. https://onename.com/iiiiic |
{block|strip} | |
{default $type = NULL} {* pokud na nic lepšího nepřijdu, tak zobrazím jako obrázek *} | |
{default $integrityCheckHash = NULL} {* @todo : pokud někdo zadá integritu atributem integrity="sha256-…něco…" tak bych to měl asi vyseparovat a vložit semka *} | |
{default $calcIntegrity = TRUE} | |
{default $noCache = FALSE} | |
{default $attributes = []} | |
{default $hashName = 'sha256'} | |
{default $appendix = NULL} | |
{default $forceSpace = ' '} {* "\n" se dá třeba ještě použít *} |
{spaceless} | |
{default $type = NULL} {* pokud na nic lepšího nepřijdu, tak zobrazím jako obrázek *} | |
{default $integrityCheckHash = NULL} {* @todo : pokud někdo zadá integritu atributem integrity="sha256-…něco…" tak bych to měl asi vyseparovat a vložit semka *} | |
{default $calcIntegrity = TRUE} | |
{default $noCache = FALSE} | |
{default $attributes = []} | |
{default $hashName = $context->parameters[site][security][integrityCheckHash]} {* třeba sha256 *} | |
{default $appendix = NULL} | |
{default $forceSpace = ' '} {* "\n" se dá třeba ještě použít *} |
I hereby claim:
To claim this, I am signing this object:
(function (w) { | |
'use strict'; | |
const TIMEOUT = 2000; | |
const FID_QSA = '_fid='; | |
function removeFid() { | |
var url = w.location.search.toString(); | |
var fidPosition = url.indexOf(FID_QSA); | |
if (w.history && w.history.replaceState && fidPosition !== -1) { | |
var repairedUrl = url.substr(0, fidPosition) + url.substr(fidPosition + 10); | |
while ((repairedUrl.substr(repairedUrl.length-1) === '?') || (repairedUrl.substr(repairedUrl.length-1) === '&')) { |
<!DOCTYPE HTML> | |
<meta charset="utf-8"> | |
<title>accesskey tester</title> | |
<body> | |
<p> | |
takže nejdou použít: <br> | |
v chrome: d, e, f + všechny čísla<br> | |
ve firefoxu : fungují všechny, ovšem navíc s SHIFTem<br> | |
v opeře: d, f, p + všechna čísla<br> | |
v IE čku: d pouze<br> |
<!DOCTYPE HTML> | |
<meta charset="utf-8"> | |
<title>accesskey tester</title> | |
<body> | |
<p> | |
Podle input type='reset' resetuji formulář, ovšem, až po potvrzení js confirm-u | |
</p> | |
<form method="get" action="#odeslany-formular"> | |
<input type="text" value="defaultní hodnota"> | |
<input type="submit"> |
<!DOCTYPE HTML> | |
<meta charset="utf-8"> | |
<title>File drop cancel on page</title> | |
<body> | |
<p> | |
Tohle je libovolná stránka, kam se NEmají vkládat soubory pomocí drag & drop. | |
<br> | |
Výchozí chování prohlížečů je takové, že po přenesení souboru do stránky (pomocí drag & drop), | |
tento soubor otevřou v aktuálním okně (čímž přesměrují stránku, co tam byla předtím na nový soubor). | |
Což tedy znamená opuštění stránky :( a to u vlastních stránek nechceme :). |
(function () { | |
'use strict'; | |
var forms = document.getElementsByTagName('form'); | |
for (var i = 0; i < forms.length; i++) { | |
var singleForm = forms[i]; | |
singleForm.addEventListener('keydown', function(event) { | |
if (event.ctrlKey && event.key === 'Enter') { | |
singleForm.submit(); | |
} | |
}); |
<?php | |
class Iptc { | |
private $meta; | |
const OBJECT_NAME = '2#005'; | |
const EDIT_STATUS = '2#007'; | |
const PRIORITY = '2#010'; | |
const CATEGORY = '2#015'; | |
const SUPPLEMENTAL_CATEGORY = '2#020'; |