<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic +1.  I really need a solution in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051510#M50223</link>
    <description>&lt;P&gt;+1. &amp;nbsp;I really need a solution to this issue too. &amp;nbsp;I'm in the process of evaluating whether native or html5 is the way to go for a major game and I just can't have these dumb refresh events happening.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 May 2015 08:39:45 GMT</pubDate>
    <dc:creator>David_B_12</dc:creator>
    <dc:date>2015-05-03T08:39:45Z</dc:date>
    <item>
      <title>Disable pull to refresh default chrome</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051509#M50222</link>
      <description>&lt;P&gt;how to disable default pull to refresh by google in webview crosswalk?&lt;BR /&gt;
	They add in the last versions, is not a native behavior for web app (reload full app), furthermore the pull to refresh is handled internally if we create one.&lt;/P&gt;

&lt;P&gt;I saw that in orders crosswalk lines, they did that, is it possible in the intelxdk.config.additions.xml?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0.8); font-family: Consolas, 'Liberation Mono', Menlo, Monaco, Courier, monospace; font-size: 16px; letter-spacing: -0.479999989271164px; line-height: 25px; white-space: pre; background-color: rgb(245, 245, 245);"&gt;&amp;lt;preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://code.google.com/p/chromium/issues/detail?id=456515"&gt;https://code.google.com/p/chromium/issues/detail?id=456515&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://crosswalk-project.org/jira/browse/XWALK-3901"&gt;https://crosswalk-project.org/jira/browse/XWALK-3901&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2015 19:40:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051509#M50222</guid>
      <dc:creator>Timothée_G_</dc:creator>
      <dc:date>2015-05-02T19:40:08Z</dc:date>
    </item>
    <item>
      <title>+1.  I really need a solution</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051510#M50223</link>
      <description>&lt;P&gt;+1. &amp;nbsp;I really need a solution to this issue too. &amp;nbsp;I'm in the process of evaluating whether native or html5 is the way to go for a major game and I just can't have these dumb refresh events happening.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 08:39:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051510#M50223</guid>
      <dc:creator>David_B_12</dc:creator>
      <dc:date>2015-05-03T08:39:45Z</dc:date>
    </item>
    <item>
      <title>+1</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051511#M50224</link>
      <description>&lt;P&gt;+1&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2015 16:59:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051511#M50224</guid>
      <dc:creator>amir_b_</dc:creator>
      <dc:date>2015-05-03T16:59:57Z</dc:date>
    </item>
    <item>
      <title>It's not possible to pass</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051512#M50225</link>
      <description>&lt;P&gt;It's not possible to pass Chromium commands to the build system, at this time. This is something that I've requested of the build system and am hoping to see implemented, but it isn't there, yet. I will add your names to the list of customer's needing this feature.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 21:12:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051512#M50225</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-06T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Thank you for that workaround</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051513#M50226</link>
      <description>&lt;P&gt;Thank you for that workaround!&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 16:49:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051513#M50226</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-08T16:49:54Z</dc:date>
    </item>
    <item>
      <title>Just an FYI -- I have tested</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051514#M50227</link>
      <description>&lt;P&gt;Just an FYI -- I have tested a prelim feature that allows the addition of Chromium command-line options with the build. When it becomes available in the general build we'll include an announcement in the forum. There is still some work that needs to be done, so I am unable to provide a timeline.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2015 00:07:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051514#M50227</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-06-02T00:07:13Z</dc:date>
    </item>
    <item>
      <title>Nice</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051515#M50228</link>
      <description>&lt;P&gt;Nice&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 11:24:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051515#M50228</guid>
      <dc:creator>Timothée_G_</dc:creator>
      <dc:date>2015-06-04T11:24:06Z</dc:date>
    </item>
    <item>
      <title>Here's a more generic</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051516#M50229</link>
      <description>&lt;P&gt;Here's a more generic implementation you can use:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;// Function to disable "pull-to-refresh" effect present in some webviews.
// Especially Crosswalk 12 and above (Chromium 41+) runtimes.

// Adapted from this example: &lt;A href="https://code.google.com/p/chromium/issues/detail?id=456515#c8" target="_blank"&gt;https://code.google.com/p/chromium/issues/detail?id=456515#c8&lt;/A&gt;
// Source: Copyright (c) 2015 by jdduke (http://jsbin.com/qofuwa/2/edit)
// Source: Released under the MIT license: &lt;A href="http://jsbin.mit-license.org" target="_blank"&gt;http://jsbin.mit-license.org&lt;/A&gt;

// &amp;lt;input id="preventPullToRefresh"  type="checkbox"&amp;gt;Prevent pull-to-refresh?&amp;lt;/input&amp;gt;
// &amp;lt;input id="preventOverscrollGlow" type="checkbox"&amp;gt;Prevent overscroll glow?&amp;lt;/input&amp;gt;
// &amp;lt;input id="preventScroll"         type="checkbox"&amp;gt;Prevent scroll?&amp;lt;/input&amp;gt;

window.addEventListener('load', function() {
//  var preventPullToRefreshCheckbox  = document.getElementById('preventPullToRefresh') ;
//  var preventOverscrollGlowCheckbox = document.getElementById("preventOverscrollGlow") ;
//  var preventScrollCheckbox         = document.getElementById("preventScroll") ;

    var lastTouchY = 0 ;
    var maybePreventPullToRefresh = false ;

    // Pull-to-refresh will only trigger if the scroll begins when the
    // document's Y offset is zero.

    var touchstartHandler = function(e) {
        if( e.touches.length != 1 ) {
            return ;
        }
        lastTouchY = e.touches[0].clientY ;
        // maybePreventPullToRefresh = (preventPullToRefreshCheckbox.checked) &amp;amp;&amp;amp; (window.pageYOffset == 0) ;
        maybePreventPullToRefresh = (window.pageYOffset == 0) ;
    }

    // To suppress pull-to-refresh it is sufficient to preventDefault the
    // first overscrolling touchmove.

    var touchmoveHandler = function(e) {
        var touchY = e.touches[0].clientY ;
        var touchYDelta = touchY - lastTouchY ;
        lastTouchY = touchY ;

        if (maybePreventPullToRefresh) {
            maybePreventPullToRefresh = false ;
            if (touchYDelta &amp;gt; 0) {
                e.preventDefault() ;
                // console.log("pull-to-refresh event detected") ;
                return ;
            }
        }

        // if (preventScrollCheckbox.checked) {
        //     e.preventDefault() ;
        //     return ;
        // }

        // if (preventOverscrollGlowCheckbox.checked) {
        //     if (window.pageYOffset == 0 &amp;amp;&amp;amp; touchYDelta &amp;gt; 0) {
        //         e.preventDefault() ;
        //         return ;
        //     }
        // }
    }

    document.addEventListener('touchstart', touchstartHandler, false) ;
    document.addEventListener('touchmove', touchmoveHandler, false) ;
}) ;
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2015 01:05:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051516#M50229</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-06-06T01:05:41Z</dc:date>
    </item>
    <item>
      <title>There is now another solution</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051517#M50230</link>
      <description>&lt;P&gt;There is now another solution for this problem, which is much simpler. See the very bottom of this doc page: &lt;A href="https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 17:45:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051517#M50230</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-08-27T17:45:50Z</dc:date>
    </item>
    <item>
      <title>Yeah I had seen this, it's</title>
      <link>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051518#M50231</link>
      <description>&lt;P&gt;Yeah&amp;nbsp;I had seen this, it's great to be able to act on the commands chromium&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 19:36:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Disable-pull-to-refresh-default-chrome/m-p/1051518#M50231</guid>
      <dc:creator>Timothée_G_</dc:creator>
      <dc:date>2015-08-27T19:36:11Z</dc:date>
    </item>
  </channel>
</rss>

