Your new post is loading...
Your new post is loading...
Javascript library to connect to swagger-enabled APIs via browser or nodejs - GitHub - swagger-api/swagger-js: Javascript library to connect to swagger-enabled APIs via browser or nodejs
Introduces Ajax, a group interrelated techniques used in client-side web development for creating asynchronous web applications.
Par défaut les moteurs de recherche ne cherchent pas à crawler et indexer les contenus chargés en Ajax. Utiliser cette technologie représente potentiellement un gros handicap pour avoir un bon référencement.
This plugin allows Selenium IDE to automatically wait until the element is found before executing each command using a locator. It is equivalent to the implicit wait function available with Selenium 2 WebDrivers. It avoids having to insert waitForElementPresent before click, type, select..., and provides a command to deal with AJAX processing status. For more information, see the project page.
When building complex client-side applications, at some point it usually becomes necessary to make Ajax requests to domains other than the one from which y
Online JSON Viewer, JSON Beautifier, JSON Formatter, Validator, Minify, - Convert JSON Strings to a Friendly Readable Format, into XML/CSV
Autocomplete, or word completion, is a feature in which an application predicts the rest of a word a user is typing. In graphical user interfaces, users can typically press the […] The post jQuery Autocomplete with Json appeared first on jQuery Rain.
Via Jean-Jacques Roland
La problématique Pourquoi une navigation en Ajax ? Une navigation en Ajax a les avantages suivants par rapport à une navigation HTML standard : pas de rechargement complet de la page, seul le contenu demandé est chargé, ce qui permet de gagner au niveau du temps de traitement de la page et de la bande …
With SimpleXMLElement it is often easy and looks like a very quick way to turn some XML into JSON. But not everything in PHP that has an easy interface works out of the box. In this three part series I'll cover the basics of using the json_encode() function on a SimpleXMLElement, will make problematic areas…
To add the CORS authorization to the header using Apache, simply add the following line inside either the <Directory>, <Location>, <Files> or <VirtualHost> sections of your server config (usually located in a *.conf file, such as httpd.conf or apache.conf), or within a .htaccess file:
Header set Access-Control-Allow-Origin "*"
Un focus sur l'API Javascript window.fetch au lieu de XMLHttpRequest.
In this article, we will look at advanced topics, such as security and performance. We will learn how to secure our application against XSS (cross-site scripting) attacks and how to improve the application's performance on both the server and the client sides.
This seems to be something a lot of people don't know how to do so here's a quick intro. You might have a great error logging setup on the backend of your site but most people have no idea what's going on with the frontend. As an example, wouldn't it be great to be able to see what browser version that one user who always gets JS errors was actually using, or even track the user's id so you can reference their profile data to get in contact with them.
That's where logging client side javascript errors comes in handy. You'll need to add logging code on the frontend and a simple API on the backend. And as a disclaimer, this code is not 100% vetted, it's just a quick example to get you started.
|
htmx allows you to access AJAX, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext
htmx is small (~8k min.gz'd), dependency-free, extendable & IE11 compatible
Deux documents ne provenant pas du même domaine ne peuvent pas accéder aux contenus respectifs : - Pas d’accès au DOM, aux cookies, aux URLs, …
- Pas d’accès entre fenêtres et entre frames.
Cependant - Les scripts inclus avec <script> ont plein accès (conséquence : SOP ne peut pas bloquer le JavaScript injecté) ;
- Autres balises violant la SOP (et pour cause) : <img>, <link>, <embed>, <object>, <iframe>, <bgsound>, <audio>, <video>, …
- window.name viole la SOP (pas très utilisé) ;
- window.postMessage : violation contrôlée de la SOP.
XML to JSON Converter, Parser, Transformer Online Utility. Load form URL, Download, Save and Share
Recently I ran a workshop where I ran a small section of the workshop on CORS and how to enable it. In the past, I've found it to be very easy but this time around everything backfired and it didn't work. So after the workshop I went about understanding why the CORS demo it didn't work, and how to get it working.
Documentation du navigateur Microsoft Edge pour l'erreur "XMLHttpRequest: Erreur réseau 0x41, Accès au réseau refusé."
Le moteur d'indexation de Google a progressé : les recommandations SEO changent pour le sites AJAX.
On October 14, Google announced it no longer recommends the Ajax crawling scheme they published in 2009. Columnist Mark Munroe dives into the question of whether this means you can now count on Google to successfully crawl and index an Ajax site.
If you don't have access to configure Apache, you can still send the header from a PHP script. It's a case of adding the following to your PHP scripts:
<?php header("Access-Control-Allow-Origin: *");
HTML5 Datalist is a new html tag shipped with HTML5 specification. HTML5 Datalist can be used to create a simple poor man’s Autocomplete feature for a webpage.
In this tutorial we will go through the basics of HTML5 Datalist tag and check some quick examples of autocomplete.
Ce générateur de loader CSS, créé par Wifeo, est à votre disposition gratuitement pour une utilisation personnelle ou professionelle sur votre site. Pour utiliser ce générateur de loader, choisissez le style qui vous interesse, puis vous aurez la possibilité de le personnaliser graphiquement.
|
Swagger Client is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.