parent
1abc84ee3e
commit
a07204d8cd
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
|||||||
#n:public
|
|
||||||
!<md> [676280, 0, null, null, -2147483648, -2147483648]
|
|
@ -1,31 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="MessDetectorOptionsConfiguration">
|
|
||||||
<option name="transferred" value="true" />
|
|
||||||
</component>
|
|
||||||
<component name="PHPCSFixerOptionsConfiguration">
|
|
||||||
<option name="transferred" value="true" />
|
|
||||||
</component>
|
|
||||||
<component name="PHPCodeSnifferOptionsConfiguration">
|
|
||||||
<option name="highlightLevel" value="WARNING" />
|
|
||||||
<option name="transferred" value="true" />
|
|
||||||
</component>
|
|
||||||
<component name="PhpIncludePathManager">
|
|
||||||
<include_path>
|
|
||||||
<path value="$PROJECT_DIR$/vendor/composer" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/altorouter/altorouter" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/twig/twig" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
|
|
||||||
</include_path>
|
|
||||||
</component>
|
|
||||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.3" />
|
|
||||||
<component name="PhpStanOptionsConfiguration">
|
|
||||||
<option name="transferred" value="true" />
|
|
||||||
</component>
|
|
||||||
<component name="PsalmOptionsConfiguration">
|
|
||||||
<option name="transferred" value="true" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -0,0 +1,23 @@
|
|||||||
|
function copyCurrentUrl() {
|
||||||
|
const currentUrl = window.location.href;
|
||||||
|
|
||||||
|
if (navigator.clipboard) {
|
||||||
|
navigator.clipboard.writeText(currentUrl).then(() => {
|
||||||
|
alert('Lien copié dans le presse-papiers : ' + currentUrl);
|
||||||
|
}).catch(err => {
|
||||||
|
console.error('Échec lors de la copie : ', err);
|
||||||
|
alert('Impossible de copier le lien.');
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
// Méthode de secours pour copier l'URL
|
||||||
|
const tempInput = document.createElement('input');
|
||||||
|
document.body.appendChild(tempInput);
|
||||||
|
tempInput.value = currentUrl;
|
||||||
|
tempInput.select();
|
||||||
|
document.execCommand('copy');
|
||||||
|
document.body.removeChild(tempInput);
|
||||||
|
//mettre une ref a la place
|
||||||
|
alert('🧙♂️ \"Un lien pour les gouverner tous, un lien pour les trouver, un lien pour les amener tous, et dans les ténèbres les lier...\" \n\n -\t(presque) Gandalf');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
œ
|
Loading…
Reference in new issue