Comments for db writeups https://dbwriteups.wordpress.com explore . learn . innovate Sun, 06 Dec 2020 14:33:18 +0000 hourly 1 http://wordpress.com/ Comment on Service Workers – Part 3 – Communication between SW and Pages by BradyW84 https://dbwriteups.wordpress.com/2015/11/16/service-workers-part-3-communication-between-sw-and-pages/comment-page-1/#comment-14806 Sun, 06 Dec 2020 14:33:18 +0000 http://dbwriteups.wordpress.com/?p=357#comment-14806 Great article that lays out service worker communication better than most anything else else out there. Thank you!

Like

]]>
Comment on Sharing Data between Hybrid App and InAppBrowser by yk4192 https://dbwriteups.wordpress.com/2016/01/24/sharing-data-between-hybrid-app-and-inapp-browser/comment-page-1/#comment-14615 Wed, 23 Oct 2019 08:30:41 +0000 http://dbwriteups.wordpress.com/?p=539#comment-14615 Your entry helped me a lot. Thank you so much 🙂

Like

]]>
Comment on Replacing ‘that = this’ assignments in Javascript with Arrow Functions by Joel Kingsley https://dbwriteups.wordpress.com/2017/04/14/replacing-that-this-assignments-in-javascript-with-arrow-functions/comment-page-1/#comment-295 Wed, 17 Oct 2018 10:29:05 +0000 http://dbwriteups.wordpress.com/?p=2344#comment-295 This is cooool! Will try using it.. Great explaination 🙂

Like

]]>
Comment on Adding a done button to Android’s InAppBrowser by Fabio Masini https://dbwriteups.wordpress.com/2016/01/23/adding-a-done-button-to-androids-inappbrowser/comment-page-1/#comment-198 Thu, 12 Apr 2018 11:13:36 +0000 http://dbwriteups.wordpress.com/?p=765#comment-198 Thank you very much, it works and solved me a lot of problems.
Please fix error in code as also described by Vanitha.
Replace this string “button.classList.add(‘youtube_done_buttonbutton.onclick” with this “button.classList.add(‘youtube_done_button’); button.onclick”

Like

]]>
Comment on Adding a done button to Android’s InAppBrowser by Dave Alden https://dbwriteups.wordpress.com/2016/01/23/adding-a-done-button-to-androids-inappbrowser/comment-page-1/#comment-184 Thu, 25 Jan 2018 08:46:50 +0000 http://dbwriteups.wordpress.com/?p=765#comment-184 My PR to add a native footer “Done” button to the Cordova Inappbrowser for the Android platform has been merged so will be present in the next plugin release: https://github.com/apache/cordova-plugin-inappbrowser/pull/258

Like

]]>
Comment on Sharing Data between Hybrid App and InAppBrowser by sidthesloth92 https://dbwriteups.wordpress.com/2016/01/24/sharing-data-between-hybrid-app-and-inapp-browser/comment-page-1/#comment-174 Tue, 21 Nov 2017 05:15:10 +0000 http://dbwriteups.wordpress.com/?p=539#comment-174 In reply to Wilson.

Thank you.. 🙂

Like

]]>
Comment on Sharing Data between Hybrid App and InAppBrowser by Wilson https://dbwriteups.wordpress.com/2016/01/24/sharing-data-between-hybrid-app-and-inapp-browser/comment-page-1/#comment-172 Thu, 16 Nov 2017 09:01:39 +0000 http://dbwriteups.wordpress.com/?p=539#comment-172 Thanks a lot for this blog ! keep up the great work

Liked by 1 person

]]>
Comment on About Me by sajay https://dbwriteups.wordpress.com/aboutme/comment-page-1/#comment-169 Mon, 06 Nov 2017 11:47:14 +0000 http://dbwriteups.wordpress.com/?page_id=22#comment-169 Hi, I am in the process of developing a multi-page web application and one of the page is for uploading files. These file can be of any size ranging between 100 MB to 1.5 GB (this is done using javascript function at the client end) . My goal is to enable the users to navigate to other pages during the upload process without disrupting the UI nor the uploading should stop. I came upon this Service worker concept and implemented this. But the problem is the service worker gets terminated when I navigate to another page. If I keep the Chrome devTool open then the application is functioning as I expected. Please suggest a method that would help me avoid service worker termination during page navigation

Like

]]>
Comment on Service Workers – Part 3 – Communication between SW and Pages by sajay https://dbwriteups.wordpress.com/2015/11/16/service-workers-part-3-communication-between-sw-and-pages/comment-page-1/#comment-168 Mon, 06 Nov 2017 11:39:38 +0000 http://dbwriteups.wordpress.com/?p=357#comment-168 How to broadcast message from the service worker without any trigger request from the client ?

Like

]]>
Comment on Adding a done button to Android’s InAppBrowser by Arun https://dbwriteups.wordpress.com/2016/01/23/adding-a-done-button-to-androids-inappbrowser/comment-page-1/#comment-166 Sun, 15 Oct 2017 15:10:30 +0000 http://dbwriteups.wordpress.com/?p=765#comment-166 In reply to cdorob.

Just remove the item from the local store, when you are closing

if (close == “true”) {
//setting close to false when the InAppBrowser is opened
that. win.executeScript({
code: “localStorage.removeItem(‘close’);”
});
clearInterval(closeLoop);
that. win.close();
}

Like

]]>