<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Niveau débutant &#8211; Kodono</title>
	<atom:link href="https://blog.kodono.info/wordpress/category/niveau-debutant/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.kodono.info/wordpress</link>
	<description>Pour tous les technophiles</description>
	<lastBuildDate>Fri, 30 Dec 2022 14:37:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>spfx error: No development certificate found. Generate a new certificate manually, or set the `canGenerateNewCertificate` parameter to `true` when calling `ensureCertificateAsync`</title>
		<link>https://blog.kodono.info/wordpress/2022/12/30/spfx-error-no-development-certificate-found-generate-a-new-certificate-manually-or-set-the-cangeneratenewcertificate-parameter-to-true-when-calling-ensurecertificateasync/</link>
					<comments>https://blog.kodono.info/wordpress/2022/12/30/spfx-error-no-development-certificate-found-generate-a-new-certificate-manually-or-set-the-cangeneratenewcertificate-parameter-to-true-when-calling-ensurecertificateasync/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Fri, 30 Dec 2022 14:37:21 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Anglais]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=2225</guid>

					<description><![CDATA[When using the command gulp serve, you could receive the below error: No development certificate found. Generate a new certificate manually, or set the `canGenerateNewCertificate` parameter to `true` when calling `ensureCertificateAsync` To resolve, you can type gulp trust-dev-cert.]]></description>
										<content:encoded><![CDATA[<p>When using the command <code>gulp serve</code>, you could receive the below error:</p>
<blockquote><p>No development certificate found. Generate a new certificate manually, or set the `canGenerateNewCertificate` parameter to `true` when calling `ensureCertificateAsync`</p></blockquote>
<p>To resolve, you can type <code>gulp trust-dev-cert</code>.</p>
<p><a href="https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error.png"><img fetchpriority="high" decoding="async" src="https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error-1024x332.png" alt="" width="1024" height="332" class="aligncenter size-large wp-image-2226" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error-1024x332.png 1024w, https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error-300x97.png 300w, https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error-768x249.png 768w, https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error-1536x499.png 1536w, https://blog.kodono.info/wordpress/wp-content/uploads/2022/12/spfx_error.png 1891w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2022/12/30/spfx-error-no-development-certificate-found-generate-a-new-certificate-manually-or-set-the-cangeneratenewcertificate-parameter-to-true-when-calling-ensurecertificateasync/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Detect mobile in JavaScript</title>
		<link>https://blog.kodono.info/wordpress/2022/08/01/detect-mobile-in-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2022/08/01/detect-mobile-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Mon, 01 Aug 2022 13:58:31 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Anglais]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=2160</guid>

					<description><![CDATA[We could simply check the resolution or user agent: const isMobile = Math.min(window.screen.width, window.screen.height) < 768 &#124;&#124; navigator.userAgent.indexOf("Mobile") > -1;]]></description>
										<content:encoded><![CDATA[<p>We could simply check the resolution or user agent:</p>
<pre class="brush:javascript">
const isMobile = Math.min(window.screen.width, window.screen.height) < 768 || navigator.userAgent.indexOf("Mobile") > -1;
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2022/08/01/detect-mobile-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Use CTRL and TAB to switch between two tabs in Chrome</title>
		<link>https://blog.kodono.info/wordpress/2022/03/18/use-ctrl-and-tab-to-switch-between-two-tabs-in-chrome/</link>
					<comments>https://blog.kodono.info/wordpress/2022/03/18/use-ctrl-and-tab-to-switch-between-two-tabs-in-chrome/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Fri, 18 Mar 2022 10:38:48 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Navigateur]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[english]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=2142</guid>

					<description><![CDATA[It&#8217;s super handy to be able to switch between two tabs in the web browser… But it&#8217;s tricky to set it up in Chrome! Install AutoControl: Keyboard shortcut, Mouse gesture Install the native component as the extension asks for Add a new action The trigger is LEFT CTRL and TAB The action is Switch to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s super handy to be able to switch between two tabs in the web browser… But it&#8217;s tricky to set it up in Chrome!</p>
<ol>
<li>Install <a href="https://chrome.google.com/webstore/detail/autocontrol-keyboard-shor/lkaihdpfpifdlgoapbfocpmekbokmcfd">AutoControl: Keyboard shortcut, Mouse gesture</a></li>
<li>Install the native component as the extension asks for</li>
<li>Add a new action</li>
<li>The trigger is <code>LEFT CTRL</code> and <code>TAB</code></li>
<li>The action is <b>Switch to previous tab</b></li>
</ol>
<p>It should now work to switch between tabs using <code>LEFT CTRL</code> + <code>TAB</code>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2022/03/18/use-ctrl-and-tab-to-switch-between-two-tabs-in-chrome/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Access to Sharepoint Online with Windows Explorer</title>
		<link>https://blog.kodono.info/wordpress/2021/05/06/access-to-sharepoint-online-with-windows-explorer/</link>
					<comments>https://blog.kodono.info/wordpress/2021/05/06/access-to-sharepoint-online-with-windows-explorer/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 06 May 2021 07:21:03 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=2071</guid>

					<description><![CDATA[If you want to access your Sharepoint online (https://[tenant].sharepoint.com), you first need to make sure the site is in the Trusted Website in Internet Explorer. Open Internet Explorer, navigate to the website, then open the Internet Options: Add your website to the Trusted Website zone: Next open Windows Explorer and right-click on &#8220;Your PC &#8220;, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you want to access your Sharepoint online (https://[tenant].sharepoint.com), you first need to make sure the site is in the Trusted Website in Internet Explorer.<br />
<strong>Open Internet Explorer</strong>, navigate to the website, then open the <strong>Internet Options</strong>:<br />
<img decoding="async" src="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/internet_options1.png" alt="" width="421" height="354" class="aligncenter size-full wp-image-2072" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/internet_options1.png 421w, https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/internet_options1-300x252.png 300w" sizes="(max-width: 421px) 100vw, 421px" /></p>
<p>Add your website to the <strong>Trusted Website zone</strong>:<br />
<img decoding="async" src="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/internet_options2.png" alt="" width="482" height="272" class="aligncenter size-large wp-image-2073" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/internet_options2.png 482w, https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/internet_options2-300x169.png 300w" sizes="(max-width: 482px) 100vw, 482px" /></p>
<p>Next open Windows Explorer and <strong>right-click on &#8220;Your PC &#8220;, then select &#8220;Map network drive…&#8221;</strong>:<br />
<img loading="lazy" decoding="async" src="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/network1.png" alt="" width="413" height="330" class="aligncenter size-full wp-image-2074" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/network1.png 413w, https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/network1-300x240.png 300w" sizes="auto, (max-width: 413px) 100vw, 413px" /></p>
<p>You need to use a special path to your website. Let&#8217;s say your website is located at <a href="https://tenant.sharepoint.com/sites/Marketing">https://tenant.sharepoint.com/sites/Marketing</a> then the path to use is:<br />
<b>\\tenant.sharepoint.com@ssl\DavWWWRoot\sites\Marketing\</b></p>
<p>Note the <code>@ssl</code> and <code>DavWWWRoot</code> that are required.</p>
<p>Assign this path to a drive letter:<br />
<img loading="lazy" decoding="async" src="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/network2.png" alt="" width="614" height="455" class="aligncenter size-full wp-image-2077" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/network2.png 614w, https://blog.kodono.info/wordpress/wp-content/uploads/2021/05/network2-300x222.png 300w" sizes="auto, (max-width: 614px) 100vw, 614px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2021/05/06/access-to-sharepoint-online-with-windows-explorer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows Movie Maker pour Windows 7, Windows 8.1 et Windows 10</title>
		<link>https://blog.kodono.info/wordpress/2020/10/28/windows-movie-maker-pour-windows-7-windows-8-1-et-windows-10/</link>
					<comments>https://blog.kodono.info/wordpress/2020/10/28/windows-movie-maker-pour-windows-7-windows-8-1-et-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 28 Oct 2020 19:16:11 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Français]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=2045</guid>

					<description><![CDATA[Voici un lien avec une version qui s&#8217;installe encore sur ces versions de Windows : https://blog.kodono.info/wordpress/wp-content/uploads/wlsetup-all.exe]]></description>
										<content:encoded><![CDATA[<p>Voici un lien avec une version qui s&#8217;installe encore sur ces versions de Windows : <a href="https://blog.kodono.info/wordpress/wp-content/uploads/wlsetup-all.exe">https://blog.kodono.info/wordpress/wp-content/uploads/wlsetup-all.exe</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2020/10/28/windows-movie-maker-pour-windows-7-windows-8-1-et-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SP.Utilities.Utility.SendEmail returns &#8220;The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.&#8221;</title>
		<link>https://blog.kodono.info/wordpress/2019/06/28/sp-utilities-utility-sendemail-returns-the-e-mail-message-cannot-be-sent-make-sure-the-e-mail-has-a-valid-recipient/</link>
					<comments>https://blog.kodono.info/wordpress/2019/06/28/sp-utilities-utility-sendemail-returns-the-e-mail-message-cannot-be-sent-make-sure-the-e-mail-has-a-valid-recipient/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Fri, 28 Jun 2019 14:01:58 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1967</guid>

					<description><![CDATA[With Sharepoint you can use SP.Utilities.Utility.SendEmail to send email in JavaScript, however you could receive the below error: &#8220;The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.&#8221; After searching the web, I found the solution: instead of using an email address for the recipients you have to use the userDomain [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>With Sharepoint you can use <a href="https://gist.github.com/BasantPandey/05189832546f2c6cc0bd008fcfec3264">SP.Utilities.Utility.SendEmail</a> to send email in JavaScript, however you could receive the below error:</p>
<blockquote><p>
&#8220;The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.&#8221;
</p></blockquote>
<p>After searching the web, I found <a href="http://sadomovalex.blogspot.com/2015/08/one-of-reasons-of-why-sending-email-via.html">the solution</a>: <b>instead of using an email address for the recipients</b> you have to use the <b>userDomain with &#8220;i:0#.w|&#8221;</b>.</p>
<p>For example, if the user is John Doe, and his email is john_doe@company.com, then you should use something like <b>i:0#.w|domain\\john_doe</b>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2019/06/28/sp-utilities-utility-sendemail-returns-the-e-mail-message-cannot-be-sent-make-sure-the-e-mail-has-a-valid-recipient/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Invisible character with IE when using Intl.DateTimeFormat</title>
		<link>https://blog.kodono.info/wordpress/2019/02/07/invisible-character-with-ie-when-using-intl-datetimeformat/</link>
					<comments>https://blog.kodono.info/wordpress/2019/02/07/invisible-character-with-ie-when-using-intl-datetimeformat/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 07 Feb 2019 09:22:26 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Navigateur]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[internet explorer]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1935</guid>

					<description><![CDATA[As explained in some threads, Internet Explorer adds some invisible extra characters when returning a date from the JavaScript function new Intl.DateTimeformat. var day = "Thursday"; var intlDay = new Intl.DateTimeFormat('en-US', {weekday:"long"}).format(new Date(2019,1,7)); console.log(day === intlDay); // return FALSE with IE intlDay = intlDay.replace(/\u200E/g, ''); // replace \u200E console.log(day === intlDay); // return TRUE with [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As explained in some <a href="https://stackoverflow.com/questions/33510440/tolocaledatestring-in-ie-returns-a-14-character-string-is-it-a-bug">threads</a>, Internet Explorer adds some invisible extra characters when returning a date from the JavaScript function <code>new Intl.DateTimeformat</code>.</p>
<pre class="brush:javascript">
var day = "Thursday";
var intlDay = new Intl.DateTimeFormat('en-US', {weekday:"long"}).format(new Date(2019,1,7));
console.log(day === intlDay); // return FALSE with IE
intlDay = intlDay.replace(/\u200E/g, ''); // replace \u200E
console.log(day === intlDay); // return TRUE with IE
</pre>
<p>The trick is to replace <code>\u200E</code> in the returned string.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2019/02/07/invisible-character-with-ie-when-using-intl-datetimeformat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to drag and drop a file into a dropzone in HTML5</title>
		<link>https://blog.kodono.info/wordpress/2017/10/26/how-to-drag-and-drop-a-file-into-a-dropzone-in-html5/</link>
					<comments>https://blog.kodono.info/wordpress/2017/10/26/how-to-drag-and-drop-a-file-into-a-dropzone-in-html5/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 26 Oct 2017 15:19:16 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[english]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1858</guid>

					<description><![CDATA[We can find plenty of demo and tutorials about it on the web, but it took me a while to understand how to setup something easy and quick. The purpose is to have a zone where we can drop a file from our computer. You need: A zone where the file will be dropped (for [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>We can find plenty of demo and tutorials about it on the web, but it took me a while to understand how to setup something easy and quick.</p>
<p>The purpose is to have a zone where we can drop a file from our computer.</p>
<p>You need:</p>
<ol>
<li>A zone where the file will be dropped (for example a <code>&lt;div>&lt;/div></code>)</li>
<li>A minimum of three events:
<ul>
<li><code>drop</code></li>
<li><code>dragover</code></li>
<li><code>dragleave</code></li>
</ul>
</li>
</ol>
<p><strong>The three events attached to our dropzone must all call <code>event.preventDefault()</code> otherwise it won&#8217;t work as expected.</strong></p>
<p>Then, you can apply a style to the dropzone based on <code>dragover</code> and <code>dragleave</code>, and read the property <code>event.dataTransfer.files</code> from <code>drop</code> to get the file.</p>
<p>See here the super simple example: <a href="https://codepen.io/Aymkdn/pen/oovXNY">https://codepen.io/Aymkdn/pen/oovXNY</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2017/10/26/how-to-drag-and-drop-a-file-into-a-dropzone-in-html5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sharepoint Callout Documentation</title>
		<link>https://blog.kodono.info/wordpress/2017/06/19/sharepoint-callout-documentation/</link>
					<comments>https://blog.kodono.info/wordpress/2017/06/19/sharepoint-callout-documentation/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Mon, 19 Jun 2017 14:47:40 +0000</pubDate>
				<category><![CDATA[À bookmarker]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1812</guid>

					<description><![CDATA[It&#8217;s difficult to find the JavaScript documentation for the Sharepoint Callout popup&#8230; So there is the link for a quick reference: https://msdn.microsoft.com/en-us/library/office/dn135236%28v=office.15%29.aspx]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s difficult to find the JavaScript documentation for the Sharepoint Callout popup&#8230; So there is the link for a quick reference: <a href="https://msdn.microsoft.com/en-us/library/office/dn135236%28v=office.15%29.aspx">https://msdn.microsoft.com/en-us/library/office/dn135236%28v=office.15%29.aspx</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2017/06/19/sharepoint-callout-documentation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to hide the left navigation bar in Sharepoint without CSS</title>
		<link>https://blog.kodono.info/wordpress/2017/06/15/how-to-hide-the-left-navigation-bar-in-sharepoint-without-css/</link>
					<comments>https://blog.kodono.info/wordpress/2017/06/15/how-to-hide-the-left-navigation-bar-in-sharepoint-without-css/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 15 Jun 2017 12:47:19 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1810</guid>

					<description><![CDATA[We can easily find some workarounds to hide the left navigation bar on Sharepoint using CSS&#8230;. But I wanted to remove it on a specific page, without using any CSS. It&#8217;s actually pretty simple. You need to add the below tag into your .aspx page: &#60;asp:Content ContentPlaceHolderID="PlaceHolderLeftNavBar" runat="Server">&#60;/asp:Content> Tested with Sharepoint 2013 On-Promise.]]></description>
										<content:encoded><![CDATA[<p>We can easily find some workarounds to hide the left navigation bar on Sharepoint using CSS&#8230;. But I wanted to remove it on a specific page, without using any CSS.</p>
<p>It&#8217;s actually pretty simple. You need to add the below tag into your .aspx page:</p>
<pre class="brush:html">
&lt;asp:Content ContentPlaceHolderID="PlaceHolderLeftNavBar" runat="Server">&lt;/asp:Content>
</pre>
<p>Tested with Sharepoint 2013 On-Promise.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2017/06/15/how-to-hide-the-left-navigation-bar-in-sharepoint-without-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to cache the CSS Fonts with Sharepoint</title>
		<link>https://blog.kodono.info/wordpress/2017/06/15/how-to-cache-the-css-fonts-with-sharepoint/</link>
					<comments>https://blog.kodono.info/wordpress/2017/06/15/how-to-cache-the-css-fonts-with-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 15 Jun 2017 09:36:20 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1807</guid>

					<description><![CDATA[If you use your own CSS file with your own CSS fonts, then we&#8217;ll notice that Sharepoint doesn&#8217;t send cache headers if you use the below CSS code: @font-face { font-family: 'Roboto'; src: url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff2') format('woff2'), url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff') format('woff'), url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; } To have this resource sent back from the Sharepoint server with [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you use your own CSS file with your own CSS fonts, then we&#8217;ll notice that Sharepoint doesn&#8217;t send cache headers if you use the below CSS code:</p>
<pre class="brush:css">
@font-face {
  font-family: 'Roboto';
  src: url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff2') format('woff2'),
       url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff') format('woff'),
       url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
</pre>
<p>To have this resource sent back from the Sharepoint server with cache headers, you just need to add <code>?ctag=0</code> at the end:</p>
<pre class="brush:css">
@font-face {
  font-family: 'Roboto';
  src: url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff2?ctag=0') format('woff2'),
       url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.woff?ctag=0') format('woff'),
       url('/_catalogs/masterpage/css/fonts/Roboto/Regular/Roboto-Regular.ttf?ctag=0') format('truetype');
  font-weight: 400;
  font-style: normal;
}
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2017/06/15/how-to-cache-the-css-fonts-with-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Check if an element is visible [JavaScript]</title>
		<link>https://blog.kodono.info/wordpress/2017/05/03/check-if-an-element-is-visible-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2017/05/03/check-if-an-element-is-visible-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 03 May 2017 08:14:02 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1784</guid>

					<description><![CDATA[We can find plenty of answers about how to check if an element is visible. In my case the one which works with opacity, and into a scrollable area, is this one (that I have optimized): function isScrolledIntoView(el, holder) { var bndElem = el.getBoundingClientRect(); var bndHolder = holder.getBoundingClientRect(); return bndElem.top &#60;= bndHolder.top ? !(bndHolder.top - [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>We can find plenty of answers about how to check if an element is visible.</p>
<p>In my case the one which works with <code>opacity</code>, and into a scrollable area, is <a href="http://stackoverflow.com/a/41754707/1134119">this one</a> (that I have optimized):</p>
<pre class="brush:javascript">
function isScrolledIntoView(el, holder) {
  var bndElem = el.getBoundingClientRect();
  var bndHolder = holder.getBoundingClientRect();
  return bndElem.top &lt;= bndHolder.top ? !(bndHolder.top - bndElem.top > bndElem.height) : !(bndElem.bottom - bndHolder.bottom > bndElem.height);
}
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2017/05/03/check-if-an-element-is-visible-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Yes, you can be lazy and get more than 5000 SharePoint Items</title>
		<link>https://blog.kodono.info/wordpress/2016/12/06/yes-you-can-be-lazy-and-get-more-than-5000-sharepoint-items/</link>
					<comments>https://blog.kodono.info/wordpress/2016/12/06/yes-you-can-be-lazy-and-get-more-than-5000-sharepoint-items/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Tue, 06 Dec 2016 08:32:04 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1733</guid>

					<description><![CDATA[To reply to this blog post I wanted to share the same thing but with SharepointPlus. To use the paging option and get all the content from a large Sharepoint list you can simply do the below code: $SP().list("My List").get({ fields:"ID,Title", rowlimit:5000, paging:true, progress:function progress(nbItemsLoaded) { // for each new page this function will be [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>To reply to <a href="http://sympmarc.com/2016/11/30/25696/">this blog post</a> I wanted to share the same thing but with <a href="http://aymkdn.github.io/SharepointPlus/">SharepointPlus</a>.</p>
<p>To use the paging option and get all the content from a large Sharepoint list you can simply do the below code:</p>
<pre class="brush:javascript">
$SP().list("My List").get({
  fields:"ID,Title",
  rowlimit:5000,
  paging:true,
  progress:function progress(nbItemsLoaded) {
    // for each new page this function will be called
    console.log("It's still loading... already "+nbItemsLoaded+" items have been loaded!");
  }
}, function(data) {
  console.log(data.length); // -> 23587
  for (var i=0, len=data.length; i&lt;len; i++) {
    console.log(data[i].getAttribute("ID"))
  }
})
</pre>
<p>If you only want to get the first 15,000 items, you can use the option <code>page:3</code>. See <a href="http://aymkdn.github.io/SharepointPlus/symbols/%24SP%28%29.list.html#.get">the documentation</a> to know more.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2016/12/06/yes-you-can-be-lazy-and-get-more-than-5000-sharepoint-items/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Détecter si le Freebox Player est allumé ou éteint (en veille) via les API de Free [Programmation]</title>
		<link>https://blog.kodono.info/wordpress/2016/11/19/detecter-si-le-freebox-player-est-allume-ou-eteint-en-veille-via-les-api-de-free-programmation/</link>
					<comments>https://blog.kodono.info/wordpress/2016/11/19/detecter-si-le-freebox-player-est-allume-ou-eteint-en-veille-via-les-api-de-free-programmation/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Sat, 19 Nov 2016 12:11:16 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Français]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Freebox]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1726</guid>

					<description><![CDATA[Il n&#8217;existe pas de commande directe qui permette de savoir si le Player est éteint (en veille) ou allumé&#8230; Cependant il existe une astuce qui consiste à faire une requête en utilisant les paramètres suivants : { url:"http://mafreebox.freebox.fr/api/v3/airmedia/receivers/Freebox%20Player/", headers:{ "X-Fbx-App-Auth": client.app.session_token }, method:"POST", json: { "action":"stop", "media_type":"video" }, encode:"utf-8" } La Freebox va alors retourner [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Il n&#8217;existe pas de commande directe qui permette de savoir si le Player est éteint (en veille) ou allumé&#8230; Cependant <a href="https://github.com/Spikharpax/SARAH-Plugin-freebox/blob/master/lib/token/token.js#L59">il existe une astuce</a> qui consiste à faire une requête en utilisant les paramètres suivants :</p>
<pre class="brush:javascript">
{
  url:"http://mafreebox.freebox.fr/api/v3/airmedia/receivers/Freebox%20Player/",
  headers:{
    "X-Fbx-App-Auth": client.app.session_token
  }, 
  method:"POST",
  json: {
    "action":"stop",
    "media_type":"video"
  },
  encode:"utf-8"
}
</pre>
<p>La Freebox va alors retourner <code>{ success:true }</code> si elle est allumée, ou <code>{ success:false }</code> si elle est éteinte/en veille.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2016/11/19/detecter-si-le-freebox-player-est-allume-ou-eteint-en-veille-via-les-api-de-free-programmation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hide a field into a form with JSLink based on field&#8217;s description [Sharepoint]</title>
		<link>https://blog.kodono.info/wordpress/2016/11/03/hide-a-field-into-a-form-with-jslink-based-on-fields-description-sharepoint/</link>
					<comments>https://blog.kodono.info/wordpress/2016/11/03/hide-a-field-into-a-form-with-jslink-based-on-fields-description-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 03 Nov 2016 15:02:07 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blog.kodono.info/wordpress/?p=1698</guid>

					<description><![CDATA[On Sharepoint 2013 I was trying to hide a field (the complete row) based on some elements into its description. To do so we will call our file using the JSLink (see my previous post about it). The JS file looks like that: (function() { // do some actions as soon as the fields are [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>On Sharepoint 2013 I was trying to hide a field (the complete row) based on some elements into its description.</p>
<p>To do so we will call our file using the JSLink (see <a href="https://blog.kodono.info/wordpress/2016/08/25/bypass-a-lookup-field-not-displayed-because-of-threshold-on-newform-and-editform-sharepoint-2013/">my previous post</a> about it).<br />
The JS file looks like that:</p>
<pre class="brush:javascript">
(function() {
  // do some actions as soon as the fields are shown
  var loadAfterForm = {
    Templates: {
      OnPostRender:function(ctx) {
        // hide the field/row when "[INTERNAL USE - DO NOT CHANGE]" is detected in the field's description
        if (ctx.ListSchema.Field[0].Description.indexOf('[INTERNAL USE - DO NOT CHANGE]') > -1) {
          // get the element that represents the field
          var elem = document.querySelector('[id^="'+ctx.ListSchema.Field[0].Name +'_'+ ctx.ListSchema.Field[0].Id+'"]');
          while (elem) {
            elem = elem.parentNode;
            if (elem) {
              if (elem.tagName==="BODY") break;
              if (elem.tagName === "TD" &#038;& elem.className.indexOf("ms-formbody") > -1) {
                // hide the whole row
                elem.parentNode.style.display="none";
                break;
              }
            }
          }
        }
      }
    }
  }
  SPClientTemplates.TemplateManager.RegisterTemplateOverrides(loadAfterForm);
})();
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2016/11/03/hide-a-field-into-a-form-with-jslink-based-on-fields-description-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>http://www.iegallery.com/addonsie7/ is returned when trying to change the default search engine for Internet Explorer</title>
		<link>https://blog.kodono.info/wordpress/2015/12/28/httpwww-iegallery-comaddonsie7-is-returned-when-trying-to-change-the-default-search-engine-for-internet-explorer/</link>
					<comments>https://blog.kodono.info/wordpress/2015/12/28/httpwww-iegallery-comaddonsie7-is-returned-when-trying-to-change-the-default-search-engine-for-internet-explorer/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Mon, 28 Dec 2015 09:45:52 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Navigateur]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[internet explorer]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1582</guid>

					<description><![CDATA[I have IE11 on my pro laptop, with Bing, while I want to use Google as my default search engine. However it keeps returning me the page http://www.iegallery.com/addonsie7/ with no way to install another search provider&#8230; After looking for a solution, I found you can use the direct link http://www.iegallery.com/addonsie7/Detail?resourceId=13555 to be able to install [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I have IE11 on my pro laptop, with Bing, while I want to use Google as my default search engine. However it keeps returning me the page <a href="http://www.iegallery.com/addonsie7/">http://www.iegallery.com/addonsie7/</a> with no way to install another search provider&#8230;</p>
<p>After looking for a solution, I found you can use the direct link <a href="http://www.iegallery.com/addonsie7/Detail?resourceId=13555">http://www.iegallery.com/addonsie7/Detail?resourceId=13555</a> to be able to install Google on Internet Explorer.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/12/28/httpwww-iegallery-comaddonsie7-is-returned-when-trying-to-change-the-default-search-engine-for-internet-explorer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Quickly find if an object is an array [JavaScript]</title>
		<link>https://blog.kodono.info/wordpress/2015/12/15/quickly-find-if-an-object-is-an-array-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2015/12/15/quickly-find-if-an-object-is-an-array-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Tue, 15 Dec 2015 10:21:56 +0000</pubDate>
				<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1580</guid>

					<description><![CDATA[You could use Array.isArray(obj) but it&#8217;s not available for IE8 and it doesn&#8217;t seem very good on the performance side. The best one on the different browsers is to test: obj instanceof Array]]></description>
										<content:encoded><![CDATA[<p>You could use <code>Array.isArray(obj)</code> but it&#8217;s not available for IE8 and it doesn&#8217;t seem very good on the performance side. The <a href="http://jsperf.com/js-isarray-comparison">best one on the different browsers</a> is to test: <code>obj instanceof Array</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/12/15/quickly-find-if-an-object-is-an-array-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows 10 et Cortana : lancer les recherches sur Google au lieu de Bing sous Firefox</title>
		<link>https://blog.kodono.info/wordpress/2015/07/30/windows-10-et-cortana-lancer-les-recherches-sur-google-au-lieu-de-bing-sous-firefox/</link>
					<comments>https://blog.kodono.info/wordpress/2015/07/30/windows-10-et-cortana-lancer-les-recherches-sur-google-au-lieu-de-bing-sous-firefox/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 30 Jul 2015 13:19:16 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Navigateur]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1531</guid>

					<description><![CDATA[Microsoft essaie d&#8217;imposer son moteur de recherche, mais je continue à préférer Google&#8230;. Du coup quand Cortana sous Windows 10 nous redirige sur Bing, ça m&#8217;agace&#8230; Sous Firefox on peut utiliser l&#8217;extension Redirector puis appliquer les règles suivantes : Example URL : https://www.bing.com/search?q=*&#038;* Include Pattern : https://www.bing.com/search?q=*&#038;* Redirect To : https://www.google.de/#safe=off&#038;q=$1 Pattern Type : Wildcard [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Microsoft essaie d&#8217;imposer son moteur de recherche, mais je continue à préférer Google&#8230;. Du coup quand Cortana sous Windows 10 nous redirige sur Bing, ça m&#8217;agace&#8230;</p>
<p>Sous Firefox on peut utiliser l&#8217;extension <a href="https://addons.mozilla.org/de/firefox/addon/redirector/">Redirector</a> puis appliquer les règles suivantes :</p>
<ul>
<li>Example URL : https://www.bing.com/search?q=*&#038;*</li>
<li>Include Pattern : https://www.bing.com/search?q=*&#038;*</li>
<li>Redirect To : https://www.google.de/#safe=off&#038;q=$1</li>
<li>Pattern Type : Wildcard</li>
</ul>
<p>Les recherches de Cortana se feront alors sous Google au lieu de Bing.</p>
<p>(via <a href="https://www.reddit.com/r/windows/comments/3di7y8/set_cortana_to_search_google/ct8omoh">Reddit</a>)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/07/30/windows-10-et-cortana-lancer-les-recherches-sur-google-au-lieu-de-bing-sous-firefox/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Utiliser un email alias avec GMail [Astuce]</title>
		<link>https://blog.kodono.info/wordpress/2015/04/15/utiliser-un-email-alias-avec-gmail-astuce/</link>
					<comments>https://blog.kodono.info/wordpress/2015/04/15/utiliser-un-email-alias-avec-gmail-astuce/#comments</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 15 Apr 2015 09:10:21 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1490</guid>

					<description><![CDATA[Vous possédez une adresse GMail ? Et vous avez un autre email qui est redirigé vers votre boite GMail ? Et vous voulez envoyer des emails avec cet alias ? Par exemple, mon GMail est aymeric@gmail.com et je redirige aymeric@example.com vers cette même boite. Alors pour pouvoir envoyer des emails en aymeric@example.com depuis GMail c&#8217;est [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Vous possédez une adresse GMail ? Et vous avez un autre email qui est redirigé vers votre boite GMail ? Et vous voulez envoyer des emails avec cet alias ? Par exemple, mon GMail est <em>aymeric@gmail.com</em> et je redirige <em>aymeric@example.com</em> vers cette même boite. Alors pour pouvoir envoyer des emails en <em>aymeric@example.com</em> depuis GMail c&#8217;est assez simple.</p>
<p>Tout d&#8217;abord il faut aller dans la <strong>partie configuration de GMail</strong> (en cliquant sur la roue dentée, puis sur &#8220;Afficher tous les paramètres&#8221;) :<br />
<img loading="lazy" decoding="async" src="https://blog.kodono.info/wordpress/wp-content/uploads/2021/02/capture1.png" alt="Image pour montrer où cliquer" width="328" height="258" class="aligncenter size-full wp-image-2054" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2021/02/capture1.png 328w, https://blog.kodono.info/wordpress/wp-content/uploads/2021/02/capture1-300x236.png 300w" sizes="auto, (max-width: 328px) 100vw, 328px" /></p>
<p>Se rendre dans <strong>Comptes et Importations</strong> puis cliquer sur <strong>Ajouter une autre adresse email</strong> :<br />
<a href="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-2.png" alt="Image pour montrer où cliquer" width="1112" height="334" class="aligncenter size-full wp-image-1493" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-2.png 1112w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-2-300x90.png 300w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-2-1024x308.png 1024w" sizes="auto, (max-width: 1112px) 100vw, 1112px" /><br />(cliquer pour agrandir)</a></p>
<p>Une fenêtre s&#8217;ouvre où vous devez entrer <strong>votre nom</strong> (qui apparaitra quand vous enverrez l&#8217;email) ainsi que l&#8217;email à utiliser. <strong>Décochez la case</strong> &#8220;Traiter comme un alias&#8221; :<br />
<img loading="lazy" decoding="async" src="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-3.png" alt="démonstration en image" width="619" height="270" class="aligncenter size-full wp-image-1495" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-3.png 619w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-3-300x131.png 300w" sizes="auto, (max-width: 619px) 100vw, 619px" /></p>
<p>A l&#8217;étape suivant il va falloir entrer les coordonnées des serveurs de GMail qu&#8217;on utilisera pour envoyer nos messages. Pour cela on entre :</p>
<ul>
<li>Serveur SMTP : <strong>smtp.gmail.com</strong></li>
<li>Port : <strong>587</strong></li>
<li>Nom d&#8217;utilisateur : <strong>aymeric@gmail.com</strong> (votre adresse GMail donc)</li>
<li>Mot de passe : <strong>votre mot de pass GMail</strong> (si vous utilisez la validation par 2 étapes, alors il faudra utiliser un password <a href="https://security.google.com/settings/security/apppasswords" target="_blank" rel="noopener">générer via votre compte Google</a>)</li>
<li>Connexion sécurisée TLS</li>
</ul>
<p>Et en image : <br />
<img loading="lazy" decoding="async" src="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-4.png" alt="Illustration en image des directives" width="616" height="334" class="aligncenter size-full wp-image-1499" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-4.png 616w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-4-300x163.png 300w" sizes="auto, (max-width: 616px) 100vw, 616px" /></p>
<p>Si vous avez une erreur (<em>GMail indisponible</em>, refaites la même opération &#8230; ça m&#8217;est arrivé quelques fois), sinon GMail va vous envoyer un email (sur l&#8217;alias, donc ici aymeric@example.com) et va vous demander de rentrer le code de sécurité envoyé dans cet email. Entrez ce code, et valider :<br />
<img loading="lazy" decoding="async" src="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-5.png" alt="Image pour illustrer cette étape" width="619" height="319" class="aligncenter size-full wp-image-1500" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-5.png 619w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-5-300x155.png 300w" sizes="auto, (max-width: 619px) 100vw, 619px" /></p>
<p><strong>C&#8217;est terminé !</strong> Vous pouvez désormais envoyer des emails avec ce nouvel alias en cliquant simplement sur votre email principal à partir d&#8217;un nouveau message :<br />
<a href="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-6.png"><img loading="lazy" decoding="async" src="http://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-6.png" alt="On montre où cliquer" width="601" height="606" class="aligncenter size-full wp-image-1501" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-6.png 601w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-6-150x150.png 150w, https://blog.kodono.info/wordpress/wp-content/uploads/2015/04/alias-gmail-6-298x300.png 298w" sizes="auto, (max-width: 601px) 100vw, 601px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/04/15/utiliser-un-email-alias-avec-gmail-astuce/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Détecter la version d&#8217;IE [JavaScript]</title>
		<link>https://blog.kodono.info/wordpress/2015/03/23/detecter-la-version-die-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2015/03/23/detecter-la-version-die-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Mon, 23 Mar 2015 11:53:52 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Navigateur]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1481</guid>

					<description><![CDATA[Via http://tanalin.com/en/articles/ie-version-js/ on trouve un moyen simple de détecter la version d&#8217;IE : var IE8 = !!(document.all &#038;&#038; document.querySelector &#038;&#038; !document.addEventListener); // -> true/false var IE9 = !!(document.all &#038;&#038; document.addEventListener &#038;&#038; !window.atob); // -> true/false var IE10 = !!(document.all &#038;&#038; window.atob); // -> true/false On peut aussi utiliser les conditionals compilation: var ieVersion = /*@cc_on [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Via <a href="http://tanalin.com/en/articles/ie-version-js/">http://tanalin.com/en/articles/ie-version-js/</a> on trouve un moyen simple de détecter la version d&#8217;IE :</p>
<pre class="brush:javascript">
var IE8 = !!(document.all &#038;& document.querySelector &#038;& !document.addEventListener); // -> true/false
var IE9 = !!(document.all &#038;& document.addEventListener &#038;& !window.atob); // -> true/false
var IE10 = !!(document.all &#038;& window.atob); // -> true/false
</pre>
<p>On peut aussi utiliser les <em>conditionals compilation</em>:</p>
<pre class="brush:javascript">
var ieVersion = /*@cc_on (function() {switch(@_jscript_version) { case 5.8: return 8; case 9: return 9; case 10: return 10;}})() || @*/ 0; // -> 8, 9 ou 10
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/03/23/detecter-la-version-die-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Get window/viewport/document height and width [JavaScript]</title>
		<link>https://blog.kodono.info/wordpress/2015/03/23/get-window-viewport-document-height-and-width-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2015/03/23/get-window-viewport-document-height-and-width-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Mon, 23 Mar 2015 10:19:34 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Navigateur]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1477</guid>

					<description><![CDATA[Via andylangton and james.padolsey we can find the viewport and document height/width in JavaScript: function getPageSize() { var vw = {width:0, height:0}; var doc = {width:0, height:0}; var w=window, d=document, dde=d.documentElement, db=d.getElementsByTagName('body')[0]; // viewport size vw.width = w.innerWidth&#124;&#124;dde.clientWidth&#124;&#124;db.clientWidth; vw.height = w.innerHeight&#124;&#124;dde.clientHeight&#124;&#124;db.clientHeight; // document size doc.width = Math.max(db.scrollWidth, dde.scrollWidth, db.offsetWidth, dde.offsetWidth, db.clientWidth, dde.clientWidth); doc.height = Math.max(db.scrollHeight, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Via <a href="http://andylangton.co.uk/blog/development/get-viewport-size-width-and-height-javascript">andylangton</a> and <a href="http://james.padolsey.com/snippets/get-document-height-cross-browser/">james.padolsey</a> we can find the viewport and document height/width in JavaScript:</p>
<pre class="brush:javascript">
function getPageSize() {
  var vw = {width:0, height:0};
  var doc = {width:0, height:0};
  var w=window, d=document, dde=d.documentElement, db=d.getElementsByTagName('body')[0];
  
  // viewport size
  vw.width  = w.innerWidth||dde.clientWidth||db.clientWidth;
  vw.height = w.innerHeight||dde.clientHeight||db.clientHeight;

  // document size
  doc.width  = Math.max(db.scrollWidth, dde.scrollWidth, db.offsetWidth, dde.offsetWidth, db.clientWidth, dde.clientWidth);
  doc.height = Math.max(db.scrollHeight, dde.scrollHeight, db.offsetHeight, dde.offsetHeight, db.clientHeight, dde.clientHeight);
  
  // if IE8 there is a bug with 4px
  if (!!(document.all &#038;& document.querySelector &#038;& !document.addEventListener) &#038;& (vw.width+4 == doc.width) &#038;& (vw.height+4 == doc.height)) {
    vw.width=doc.width;
    vw.height=doc.height;
  }
  
   return {vw:vw, doc:doc};
}

getPageSize(); // -> {vw: { width:xxx, height:xxx }, doc: { width:xxx, height:xxx } }
</pre>
<p>It should work for IE8-IE10 and all modern browsers.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/03/23/get-window-viewport-document-height-and-width-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Extraire une image d&#8217;un PDF [Astuce]</title>
		<link>https://blog.kodono.info/wordpress/2015/02/11/extraire-une-image-dun-pdf-astuce/</link>
					<comments>https://blog.kodono.info/wordpress/2015/02/11/extraire-une-image-dun-pdf-astuce/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 11 Feb 2015 14:01:11 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Niveau intermédiaire]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1444</guid>

					<description><![CDATA[Pour extraire une image d&#8217;un PDF vous pouvez utiliser Photoshop&#8230;. ou Gimp ! Ce logiciel gratuit permet également d&#8217;extraire une image d&#8217;un PDF. Il suffit d&#8217;ouvrir le document PDF avec Gimp et il va vous proposer de choisir l&#8217;image à extraire. Simple et efficace.]]></description>
										<content:encoded><![CDATA[<p>Pour extraire une image d&#8217;un PDF vous pouvez utiliser Photoshop&#8230;. ou <a href="http://www.gimp.org/">Gimp</a> ! Ce logiciel gratuit permet également d&#8217;extraire une image d&#8217;un PDF. Il suffit d&#8217;ouvrir le document PDF avec Gimp et il va vous proposer de choisir l&#8217;image à extraire.</p>
<p>Simple et efficace.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2015/02/11/extraire-une-image-dun-pdf-astuce/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Round a number to one decimal [JavaScript]</title>
		<link>https://blog.kodono.info/wordpress/2014/12/02/round-a-number-to-one-decimal-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2014/12/02/round-a-number-to-one-decimal-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Tue, 02 Dec 2014 09:34:44 +0000</pubDate>
				<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1435</guid>

					<description><![CDATA[The formula is a bit long but works: function round(x) { return parseFloat(Math.round(x * 10) / 10).toFixed(1).replace(/\.0/, "") } round(458.21456); // -> 458.2 round(500); // -> 500 round(603.18); // -> 603.2]]></description>
										<content:encoded><![CDATA[<p>The formula is a bit long but works:</p>
<pre class="brush:javascript">
function round(x) {
 return parseFloat(Math.round(x * 10) / 10).toFixed(1).replace(/\.0/, "")
}

round(458.21456); // -> 458.2
round(500); // -> 500
round(603.18); // -> 603.2
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/12/02/round-a-number-to-one-decimal-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Breadcrumb / steps in CSS that works from IE8 [CSS]</title>
		<link>https://blog.kodono.info/wordpress/2014/11/26/breadcrumb-steps-in-css-that-works-from-ie8-css/</link>
					<comments>https://blog.kodono.info/wordpress/2014/11/26/breadcrumb-steps-in-css-that-works-from-ie8-css/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 26 Nov 2014 10:14:06 +0000</pubDate>
				<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Web Design]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1432</guid>

					<description><![CDATA[I was looking for a simple code for a step by step process indicator. I found a few things, but everyone seems to have forgotten about IE8&#8230; I need to support this old browser at work. So I did my own that I&#8217;m sharing here: File Uploaded &#8594; File Reviewed &#8594; File Approved And the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I was looking for a simple code for a step by step process indicator. I found a few things, but everyone seems to have forgotten about IE8&#8230; I need to support this old browser at work. So I did my own that I&#8217;m sharing here:</p>
<ul class="steps">
<li class="step complete">File Uploaded</li>
<li class="arrow">&rarr;</li>
<li class="step current">File Reviewed</li>
<li class="arrow">&rarr;</li>
<li class="step">File Approved</li>
</ul>
<style>
body {
  counter-reset:steps
}
ul.steps {
  margin:0;
  padding:0;
}
ul.steps li.step {
  background: none repeat scroll 0 0 lightgray;
  border-radius: 1em;
  color: white;
  display: inline-block;
  font-size: 14px;
  height: 4em;
  line-height: 4em;
  margin: 0 1em;
  position: relative;
  text-align: center;
  width: 9em;
}
ul.steps li.step:before {
  content: counter(steps, decimal) ". ";
  counter-increment: steps;
}
ul.steps li.step.complete:before {
  content: "&#x2714; ";
}
ul.steps li.step.complete {
  background-color: green;
}
ul.steps li.step.current {
  background-color:dodgerblue
}
ul.steps li.arrow {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  color: black;
  display: inline-block;
  font-size: 28px;
  height: 46px;
  line-height: normal;
  margin: 0;
  width: auto;
}
</style>
<p>And the code:</p>
<pre class="brush:html">
&lt;ul class="steps">
  &lt;li class="step complete">File Uploaded&lt;/li>
  &lt;li class="arrow">&rarr;&lt;/li>
  &lt;li class="step current">File Reviewed&lt;/li>
  &lt;li class="arrow">&rarr;&lt;/li>
  &lt;li class="step">File Approved&lt;/li>
&lt;/ul>
</pre>
<pre class="brush:css">
&lt;style>
body {
  counter-reset:steps
}
ul.steps {
  margin:0;
  padding:0;
}
ul.steps li.step {
  background: none repeat scroll 0 0 lightgray;
  border-radius: 1em;
  color: white;
  display: inline-block;
  font-size: 14px;
  height: 4em;
  line-height: 4em;
  margin: 0 1em;
  position: relative;
  text-align: center;
  width: 9em;
}
ul.steps li.step:before {
  content: counter(steps, decimal) ". ";
  counter-increment: steps;
}
ul.steps li.step.complete:before {
  content: "<img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2714.png" alt="✔" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ";
}
ul.steps li.step.complete {
  background-color: green;
}
ul.steps li.step.current {
  background-color:dodgerblue
}
ul.steps li.arrow {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  color: black;
  display: inline-block;
  font-size: 28px;
  height: 46px;
  line-height: normal;
  margin: 0;
  width: auto;
}
&lt;/style>
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/11/26/breadcrumb-steps-in-css-that-works-from-ie8-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Communication between iframe and parent window [JavaScript]</title>
		<link>https://blog.kodono.info/wordpress/2014/08/19/communication-between-iframe-and-parent-window-javascript/</link>
					<comments>https://blog.kodono.info/wordpress/2014/08/19/communication-between-iframe-and-parent-window-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Tue, 19 Aug 2014 13:49:09 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1402</guid>

					<description><![CDATA[In the iframe you&#8217;ll use the below code: window.parent.postMessage("Hello World !", "http://your.site.web"); And in the parent window: // function that will be called when the message is received function receiveMessage(event) { alert(event.data); // it'll show "Hello World !" } // we listen to a message if (window.addEventListener) { window.addEventListener('message', receiveMessage, false); } else if (window.attachEvent) [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In the iframe you&#8217;ll use the below code:</p>
<pre class="brush:javascript">
window.parent.postMessage("Hello World !", "http://your.site.web");
</pre>
<p>And in the parent window:</p>
<pre class="brush:javascript">
// function that will be called when the message is received
function receiveMessage(event) {
  alert(event.data); // it'll show "Hello World !"
}
// we listen to a message
if (window.addEventListener) {
  window.addEventListener('message', receiveMessage, false);
} else if (window.attachEvent) { // IE8
  window.attachEvent('onmessage', receiveMessage);
}
</pre>
<p>It&#8217;s working from IE8+, and all modern browsers, but make sure you have a HTML5 doctype (<em>&lt;!DOCTYPE html&gt;</em>)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/08/19/communication-between-iframe-and-parent-window-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Use hash word in the Sharepoint navigation</title>
		<link>https://blog.kodono.info/wordpress/2014/08/06/use-hash-word-in-the-sharepoint-navigation/</link>
					<comments>https://blog.kodono.info/wordpress/2014/08/06/use-hash-word-in-the-sharepoint-navigation/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 06 Aug 2014 14:03:32 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1399</guid>

					<description><![CDATA[Let&#8217;s say you have the url http://my.site.com/myfolder/mypage.aspx#hash and you want to use it as a link into your left navigation bar in Sharepoint&#8230;. If you try putting that name, Sharepoint will not keep your link. The trick here is to add a questionmark juste before the #. The URL to use will be http://my.site.com/myfolder/mypage.aspx?#hash and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Let&#8217;s say you have the url <code>http://my.site.com/myfolder/mypage.aspx#hash</code> and you want to use it as a link into your left navigation bar in Sharepoint&#8230;. If you try putting that name, Sharepoint will not keep your link.</p>
<p>The trick here is to add a questionmark juste before the <code>#</code>. The URL to use will be <code>http://my.site.com/myfolder/mypage.aspx?#hash</code> and Sharepoint will accept the link <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/08/06/use-hash-word-in-the-sharepoint-navigation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tiny AJAX</title>
		<link>https://blog.kodono.info/wordpress/2014/05/27/tiny-ajax/</link>
					<comments>https://blog.kodono.info/wordpress/2014/05/27/tiny-ajax/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Tue, 27 May 2014 10:51:46 +0000</pubDate>
				<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1376</guid>

					<description><![CDATA[This is a very tiny javascript code to do an AJAX Request: /* m: method ("get", "post") u: url a: async (true) or sync (false) c: callback (with 'xhr' as a parameter) d: post_data (the data to post) */ function tiny_ajax(m,u,a,c,d){with(new(this.XMLHttpRequest&#124;&#124;ActiveXObject)("Microsoft.XMLHTTP"))onreadystatechange=function(){readyState^4&#124;&#124;c(this)},open(m,u,a),send(d)} And an example: tiny_ajax('get', 'http://www.google.com', true, function(xhr) { alert(xhr.responseText) })]]></description>
										<content:encoded><![CDATA[<p>This is a very tiny javascript code to do an AJAX Request:</p>
<pre class="brush:javascript">
/*
 m: method ("get", "post")
 u: url
 a: async (true) or sync (false)
 c: callback (with 'xhr' as a parameter)
 d: post_data (the data to post)
*/
function tiny_ajax(m,u,a,c,d){with(new(this.XMLHttpRequest||ActiveXObject)("Microsoft.XMLHTTP"))onreadystatechange=function(){readyState^4||c(this)},open(m,u,a),send(d)}
</pre>
<p>And an example:</p>
<pre class="brush:javascript">
tiny_ajax('get', 'http://www.google.com', true, function(xhr) {
    alert(xhr.responseText)
})
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/05/27/tiny-ajax/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to change the Firefox portable main window icon? [Astuce]</title>
		<link>https://blog.kodono.info/wordpress/2014/04/03/how-to-change-the-firefox-portable-main-window-icon-astuce/</link>
					<comments>https://blog.kodono.info/wordpress/2014/04/03/how-to-change-the-firefox-portable-main-window-icon-astuce/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Thu, 03 Apr 2014 01:09:31 +0000</pubDate>
				<category><![CDATA[Astuce]]></category>
		<category><![CDATA[Niveau débutant]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1352</guid>

					<description><![CDATA[If you use Firefox Portable in the same time as the regular Firefox, then it can be annoying to see the same icons for the both Firefox. You can easily change the icon for the main window of the portable version of Firefox. Just find the .ico you want to use and place it into [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you use Firefox Portable in the same time as the regular Firefox, then it can be annoying to see the same icons for the both Firefox. You can easily change the icon for the main window of the portable version of Firefox. Just find the .ico you want to use and place it into this folder : <code>FirefoxPortable\App\Firefox\browser\chrome\icons\default\main-window.ico</code></p>
<p>If the folders don&#8217;t exist, then create them. Also you have to rename your icon to <code>main-window.ico</code>. When it&#8217;s done, just close and reopen Firefox.</p>
<p>That works for, at least, Firefox 27. If you use an older version of Firefox you may want to try this different folder : <code>FirefoxPortable\App\Firefox\chrome\icons\default\main-window.ico</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/04/03/how-to-change-the-firefox-portable-main-window-icon-astuce/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Override SharePoint OOTB Upload.aspx default for &#8220;Add as a new version to existing files&#8221; checkbox</title>
		<link>https://blog.kodono.info/wordpress/2014/02/26/override-sharepoint-ootb-upload-aspx-default-for-add-as-a-new-version-to-existing-files-checkbox/</link>
					<comments>https://blog.kodono.info/wordpress/2014/02/26/override-sharepoint-ootb-upload-aspx-default-for-add-as-a-new-version-to-existing-files-checkbox/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Wed, 26 Feb 2014 08:48:01 +0000</pubDate>
				<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1336</guid>

					<description><![CDATA[With Sharepoint, when we want to upload a file, the &#8220;Add as a new version to existing file&#8221; is checked by default, and that could be an issue for you. Here is a JavaScript fix to add into your masterpage, just before the &#60;/head> tag : &#60;script type="text/javascript"> function DefaultUploadOverwriteOff() { if (document.title.indexOf("Upload Document") > [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>With Sharepoint, when we want to upload a file, the &#8220;Add as a new version to existing file&#8221; is checked by default, and that could be an issue for you.</p>
<p><img decoding="async" src="http://blog.kodono.info/wordpress/wp-content/uploads/2014/02/sharepoint_upload_file.png" alt="sharepoint_upload_file" width="100%" class="aligncenter size-full wp-image-1337" srcset="https://blog.kodono.info/wordpress/wp-content/uploads/2014/02/sharepoint_upload_file.png 964w, https://blog.kodono.info/wordpress/wp-content/uploads/2014/02/sharepoint_upload_file-300x153.png 300w" sizes="(max-width: 964px) 100vw, 964px" /></p>
<p>Here is a JavaScript fix to add <strong>into your masterpage</strong>, just before the <code>&lt;/head></code> tag :</p>
<pre class="brush:html">
&lt;script type="text/javascript">
function DefaultUploadOverwriteOff() {
  if (document.title.indexOf("Upload Document") > -1) {
    var input=document.querySelectorAll("input");
    for (var i=input.length; i--;) {
      if (input[i].id.search(/\_OverwriteSingle$|\_OverwriteMultiple$/) > -1) input[i].checked=false
    }
  } 
}
_spBodyOnLoadFunctionNames.push('DefaultUploadOverwriteOff');
&lt;/script>
&lt;/head>
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/02/26/override-sharepoint-ootb-upload-aspx-default-for-add-as-a-new-version-to-existing-files-checkbox/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Requête MySQL insensible aux accents</title>
		<link>https://blog.kodono.info/wordpress/2014/02/17/requete-mysql-insensible-aux-accents/</link>
					<comments>https://blog.kodono.info/wordpress/2014/02/17/requete-mysql-insensible-aux-accents/#respond</comments>
		
		<dc:creator><![CDATA[Aymeric]]></dc:creator>
		<pubDate>Mon, 17 Feb 2014 09:03:29 +0000</pubDate>
				<category><![CDATA[Niveau débutant]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[mysql]]></category>
		<guid isPermaLink="false">http://blog.kodono.info/wordpress/?p=1304</guid>

					<description><![CDATA[Pour effectuer une requête MySQL qui ne sera pas sensible aux accents (par exemple &#8216;ö&#8217; = &#8216;o&#8217; ou &#8216;à&#8217; = &#8216;a&#8217;) il faut rajouter le mot clé COLLATE avec la bonne collection. Après plusieurs tests, j&#8217;utilise la collection utf8_general_ci. Ce qui donnera : SELECT ID, Nom FROM Inscrits WHERE Nom LIKE '%heracles%' COLLATE utf8_general_ci ORDER [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Pour effectuer une requête MySQL qui ne sera pas sensible aux accents (par exemple &#8216;ö&#8217; = &#8216;o&#8217; ou &#8216;à&#8217; = &#8216;a&#8217;) il faut rajouter le mot clé COLLATE avec la bonne collection. Après plusieurs tests, j&#8217;utilise la collection <strong>utf8_general_ci</strong>.<br />
Ce qui donnera :</p>
<pre class="brush:sql">SELECT ID, Nom FROM Inscrits WHERE Nom LIKE '%heracles%' COLLATE utf8_general_ci ORDER BY Nom</pre>
<p>Qui retournera, par exemple, &#8220;Héraclès&#8221;.</p>
<p>ATTENTION : si cette requête fonctionne sur le serveur directement, mais pas dans votre code PHP, alors il faudra peut-être utiliser <code>mysqli_set_charset('utf8');</code> dans votre code afin que la liaison se fasse correctement.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.kodono.info/wordpress/2014/02/17/requete-mysql-insensible-aux-accents/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
