Your new post is loading...
Your new post is loading...
Initiée il y a un peu plus de 3 mois, la spécification a pour objectif d'aider les développeurs à intégrer une nouvelle génération d'expériences Web fonctionnant sur différents dispositifs de saisie, tels que le tactile, le stylet et la souris.
The HTML5 Sandbox; Author: Dariusz Parys; Updated: 8 Jun 2012; Section: HTML / CSS; Chapter: Web Development; Updated: 8 Jun 2012
Internet Explorer 10 et les applications du Windows Store en JavaScript prennent en charge l’attribut sandbox. L’attribut sandbox permet d’appliquer des restrictions de sécurité pour les éléments iframe à contenu non approuvé. Ces restrictions renforcent la sécurité en empêchant le contenu non approuvé d’effectuer des actions pouvant entraîner un comportement potentiellement malveillant. Le W3C (World Wide Web Consortium) définit l’attribut sandbox dans la section 4.8.2 de la spécification HTML5, laquelle n’est pour l’instant qu’à l’état d’ébauche.
Less time testing IE. More time building what matters.
Mickael Ruau's insight:
Recherchez les problèmes de codage courants. Entrez l'URL d'une page Web ici : Run the modern.IE site scan in your local development environment. Download it here.
Subject to the Terms of Use.
Less time testing IE. More time building what matters.
Microsoft n’est plus le maître des navigateurs. Chrome et Firefox ont mené la vie dure à Internet Explorer et l’éditeur a dû revoir sa stratégie : plus d’ouverture, plus de nouveautés et plus souvent, plus d’outils de développement.
Dans cet article nous allons voir comment créer une interface de transfert de fichiers multiple en HTML5 basée sur le drag & drop (glisser déposer).
Let's face it folks, everyone in the web design world is chirping away about responsive websites these days. Via gonzodesign
gonzodesign's curator insight,
April 23, 2013 7:21 PM
Many responsive mobile sites are using native drop-downs (as in: a select tag) for main navigation and many plugins have been developed for this specific purpose, yet our usability research shows that this is a poor strategy. |
En JavaScript, la gestion structurée des erreurs s'appuie sur les fonctions throw et try/catch : le développeur déclare une erreur et transmet le flux de contrôle à la partie du programme chargée de la gestion des erreurs. Lorsqu'une erreur est détectée, Chakra, le moteur JavaScript d'Internet Explorer, collecte la chaîne d'appels à l'origine de l'erreur, également appelée « pile des appels ». Si l'objet généré est un objet Error (ou s'il s'agit d'une fonction dont la chaîne prototype renvoie à Error), Chakra crée une arborescence d'appels de procédure, c'est-à-dire une liste lisible à l'œil de la pile des appels. Cette liste est représentée sous forme de propriété, stack, dans l'objet Error. La propriété stack inclut différentes informations relatives aux fonctions : message d'erreur, nom et emplacement du fichier source. Forts de ces informations, les développeurs peuvent diagnostiquer rapidement les défauts en identifiant la fonction appelée et même connaître la ligne de code à l'origine du problème. Ainsi, ces informations peuvent par exemple indiquer que la valeur d'un paramètre transmis à la fonction était null ou que son type n'était pas valide.
Compat Inspector is a JavaScript-based testing tool that analyzes your site while it runs. Compat Inspector reports patterns of interaction which can cause issues in recent modes. This allows you to identify problems quickly without memorizing a bunch of documentation or searching through the entirety of your site's code. The IE team developed Compat Inspector during the course of IE9 to speed up the process of recognizing common issues across different sites. Now you can use it too. Check out the Compat Inspector Test Drive to try it out before using it on your own site. Compat Inspector is designed to help sites migrating to IE9 mode and up, not those running in legacy modes. You may still need to refer to documentation such as the Internet Explorer 9 Compatibility Cookbook and the Internet Explorer 10 Guide for Developers for some issues. The best pattern is to use Compat Inspector first, then fall back to documentation if nothing is found.
More and more content gets pulled into websites each day with the use of iframes, but not without increased security risks. But don't stress ... there's a new kid on the block to help you out: the HTML5 sandbox.
The HTML iframe Element (or HTML inline frame element) represents a nested browsing context, effectively embedding another HTML page into the current page. Each browsing context has its own session history and active document.
Mickael Ruau's insight:
sandbox HTML5 onlyIf specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame. The value of the attribute can be a space-separated list of tokens that lift particular restrictions. Valid tokens are:allow-same-origin: Allows the content to be treated as being from its normal origin. If this keyword is not used, the embedded content is treated as being from a unique origin.allow-top-navigation: Allows the embedded browsing context to navigate (load) content to the top-level browsing context. If this keyword is not used, this operation is not allowed.allow-forms: Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.allow-scripts: Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.
Note: When the embedded document has the same origin as the main page, it is strongly discouraged to use both allow-scripts and allow-same-origin at the same time, as that allows the embedded document to programmatically remove the sandbox attribute. Although it is accepted, this case is no more secure than not using the sandbox attribute.Sandboxing in general is only of minimal help if the attacker can arrange for the potentially hostile content to be displayed in the user's browser outside a sandboxed iframe. It is recommended that such content should be served from a separate dedicated domain, to limit the potential damage.
20 conseils pour opter pour une conception moderne de sites en utilisant des anciennes versions d'Internet Explorer.
Rendez-vous professionnel totalement dédié à l’e-marketing, aux solutions globales du Web, au monde du développement et de la diffusion d’applications et de sites mobiles, des services Online, M-commerce, géolocalisation, m-paiement, m-pub, du...
CSS Menu Maker permet de créer facilement un menu déroulant en personnalisant le CSS dans les menus sans avoir à connaître tout le code compliqué.
gonzodesign's curator insight,
April 23, 2013 6:01 PM
In this edition of Ask UXmatters, our experts discuss how responsive Web design and accessibility fit together. |
Your new post is loading...