Afficher/masquer le menu
Liens Ecyseo
  • Tags cloud
  • Daily
  • Pictures wall
  • Search
  • Display options
    • Links per page :
    • 20 links
    • 50 links
    • 100 links
  • RSS Feed
  • Login

J'ai besoin d'intimité. Non pas parce que mes actions sont douteuses, mais parce que votre jugement et vos intentions le sont.

5166 links 

page 6 / 14

Liste des liens

263 results tagged javascript x
About rel=noopener
2016-10-27 12:43 - permalink -

La fonction

function openNew(url) {
    var otherWindow = window.open();
    otherWindow.opener = null;
    otherWindow.location = url;
}

est celle qui fonctionne le mieux avec tous les navigateurs puisqu'elle ouvre un nouvel onglet avant d'ouvrir l'url.

javascript
- https://mathiasbynens.github.io/rel-noopener/
fetch : La fin de $.ajax()
2016-10-27 11:31 - permalink -
javascript
- https://blog.nathanaelcherrier.com/2016/10/26/fetch-fin-jquery-ajax/
The target="_blank" vulnerability by example
2016-10-21 11:50 - permalink -

Les risques à utiliser l'ouverture d'une nouvelle fenêtre/onglet via un lien.
C'est déjà passé dans la river mais je ne l'ai pas retrouvé.

Donc je le poste ici.

javascript sécurité
- https://dev.to/ben/the-targetblank-vulnerability-by-example
Quick Tip: Accessing The Clipboard With JavaScript | Tutorialzine
2016-10-19 12:38 - permalink -

Copy On Click

var button = document.getElementById("copy-button"),
    contentHolder = document.getElementById("content-holder");

button.addEventListener("click", function() {

    // We will need a range object and a selection.
    var range = document.createRange(),
        selection = window.getSelection();

    // Clear selection from any previous data.
    selection.removeAllRanges();

    // Make the range select the entire content of the contentHolder paragraph.
    range.selectNodeContents(contentHolder);

    // Add that range to the selection.
    selection.addRange(range);

    // Copy the selection to clipboard.
    document.execCommand('copy');

    // Clear selection if you want to.
    selection.removeAllRanges();

}, false);

Modify Copied Text

document.addEventListener('copy', function(e){

    // We need to prevent the default copy functionality,
    // otherwise it would just copy the selection as usual.
    e.preventDefault();

    // The copy event doesn't give us access to the clipboard data,
    // so we need to get the user selection via the Selection API.
    var selection = window.getSelection().toString();

    // Transform the selection in any way we want.
    // In this example we will escape HTML code.
    var escaped = escapeHTML(selection);

    // Place the transformed text in the clipboard. 
    e.clipboardData.setData('text/plain', escaped);

});
code copie javascript
- http://tutorialzine.com/2016/10/quick-tip-accessing-the-clipboard-with-javascript/
You Might Not Need JavaScript
2016-10-13 12:9 - permalink -

Comment remplacer javascript par du css (en l'occurence ici du scss).
Ce n'est quand même pas toujours aussi simple...

css javascript
- http://youmightnotneedjs.com/
ClicToDico: des bookmarklets pour mes élèves - Warrior du Dimanche
2016-10-10 14:8 - permalink -

javascript:(function(){%20if(window.getSelection){%20sel=window.getSelection();}else%20if(document.getSelection){%20sel=%20document.getSelection();}else{var%20selection=document.selection&&document.selection.createRange();if(selection.text){%20sel=selection.text;}};window.open('<a href="http://www.wordreference.com/enfr/'+sel,'traduction">http://www.wordreference.com/enfr/'+sel,'traduction</a>');})()

javascript:(function(){%20if(window.getSelection){%20sel=window.getSelection();}else%20if(document.getSelection){%20sel=%20document.getSelection();}else{var%20selection=document.selection&&document.selection.createRange();if(selection.text){%20sel=selection.text;}};window.open('<a href="http://www.linguee.fr/francais-anglais/search?source=auto&query='+encodeURIComponent(sel),'traduction">http://www.linguee.fr/francais-anglais/search?source=auto&query='+encodeURIComponent(sel),'traduction</a>');})()

javascript:(function(){%20if(window.getSelection){%20sel=window.getSelection();}else%20if(document.getSelection){%20sel=%20document.getSelection();}else{var%20selection=document.selection&&document.selection.createRange();if(selection.text){%20sel=selection.text;}};window.open('<a href="http://www.linguee.fr/francais-anglais/search?source=auto&query='+sel,'traduction">http://www.linguee.fr/francais-anglais/search?source=auto&query='+sel,'traduction</a>');})()
bookmarklet code javascript traduction
- http://warriordudimanche.net/index.php?article0349/clictodico-des-bookmarklets-pour-mes-eleves
Bookmarklet pour générer un mot de passe dans un formulaire contenant un champ mot de passe
2016-10-10 14:1 - permalink -

Suite au snippet de Bronco , j'ai fait ce petit bookmarklet qui peut être utile :

javascript:function%20generer_password(champ_cible){var%20ok='azertyupqsdfghjkmwxcvbn23456789AZERTYUPQSDFGHJKMWXCVBN';var%20pass='';var%20reponse=prompt("Quelle longueur pour le mot de passe à générer ?", "Nombre ( ≤ 8 pour plus de sécurité)");if(reponse==null){var%20longueur=8;}else{var%20longueur=reponse;}for(i=0;i<longueur;i++){var%20wpos=Math.round(Math.random()*ok.length);pass+=ok.substring(wpos,wpos+1);}champ_cible.value=pass;reponse=confirm("Voir le mot de passe généré ?");if(reponse){alert(pass);}}var%20champ_cible=undefined;var%20allinputs=document.getElementsByTagName('INPUT');var%20nbInputs=allinputs.length;for(var%20i=0;i<nbInputs;i++){if(allinputs[i].type=='password'){champ_cible=allinputs[i];}}if(champ_cible!=undefined){generer_password(champ_cible);}
code javascript password
- http://snippetvamp.warriordudimanche.net/snippetvamp.php?snippet=56def63350a33
Why you should avoid using document.write, specifically for scripts injection | DareBoost Blog
2016-10-3 22:11 - permalink -

À lire...

javascript sécurité tutoriels
- http://blog.dareboost.com/en/2016/09/avoid-using-document-write-scripts-injection/
Framarklets
2016-10-3 18:7 - permalink -

Trop bien, surtout celui pour les caractères spéciaux.

bookmarklet javascript
- https://framalab.org/framarklets/
RulersGuides.js demo
2016-09-11 22:29 - permalink -

Pas mal. Il existe aussi un bookmarklet.

bookmarklet javascript javascript ruler
- http://mark-rolich.github.io/RulersGuides.js/
Examples | Granim.js
2016-09-5 13:27 - permalink -

Librairie Javascript pour animer des gradients de couleurs sur des images, sur du texte ou en fond de bloc.

animation css javascript librairie
- https://sarcadass.github.io/granim.js/examples.html
Page de téléchargement du module complémentaire de navigateur pour la désactivation de Google Analytics
2016-08-19 2:8 - permalink -

Je vais l'activer sur un de mes navigateurs. On verra bien...
Est-ce que l'un(e) d'entre vous l'a déjà activé et peut faire un retour ?

google javascript statistiques
- https://tools.google.com/dlpage/gaoptout?hl=fr
Barba.js
2016-07-27 14:53 - permalink -

via Shazen

bibliothèque javascript transitions
- http://barbajs.org/demos.html
ScrollTrigger - Scroll based animations with ease
2016-07-18 14:4 - permalink -
css3 javascript scroll
- https://terwanerik.github.io/ScrollTrigger/
Récupérer les paramètres GET d’une URL avec JavaScript - JavaScript / jQuery | Creative Juiz
2016-06-9 23:11 - permalink -

Une petite fonction qu'elle est bien madame !

javascript
- https://www.creativejuiz.fr/blog/javascript/recuperer-parametres-get-url-javascript
Javascript : Apprendre le Javascript depuis le PHP
2016-05-31 18:1 - permalink -

{code
// Un remplaçant pour notre fameux foreach ^^
["Salut", "les", "gens"].forEach(function (eleve) {
"Salut " + eleve
})
code}

javascript
- https://www.grafikart.fr/formations/debuter-javascript/php-to-js
Push.js
2016-05-30 22:51 - permalink -

Une librairie javascript pour pousser des notifications sur le bureau. Pratique pour une application d'agenda par exemple.
Pas de dépendance et en pur javascript.

javascript vanilla
- https://github.com/Nickersoft/push.js
Drag and Drop table content with JavaScript – Redips spideR Net
2016-05-28 1:37 - permalink -

Un site qui vaut le détour

javascript php
- http://www.redips.net/javascript/drag-and-drop-table-content/
cash
2016-05-27 10:46 - permalink -

Une alternative à jQuery qui en reprend la syntaxe mais en beaucoup plus léger.
Petit bémol, les animations ne sont pas supportées et IE n'est supporté qu'à partir de la version 9.

javascript jquery vanilla
- http://kenwheeler.github.io/cash/
JavaScript Tooltips
2016-05-26 10:46 - permalink -

À tester

javascript tooltips
- http://www.dyn-web.com/code/tooltips/
page 6 / 14


Tags


  • shaarli
  • wikipedia

Tags cloud

Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation
Affiches "loi aviva" créées par Geoffrey Dorne le 13 Mai, 2020 - Mastodon 1 - Mastodon 2