![]() |
#1 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Changing the store button
In f/w 5.4.x I was able to change the store button so it opens the web browser to my calibre server. Tried doing the same with 5.8.7 but no joy.The file and relevant code
Code:
/usr/share/webkit-1.0/pillow/javascripts/search_bar.js store: function() { nativeBridge.setLipcProperty(APP_MANAGER_ID, 'start', STORE_ID); nativeBridge.dismissChrome(); nativeBridge.recordDeviceMetric("Pillow","Pillow" + getCurrentApp(),"store", 1, 0, METRIC_PRIORITY_LOW, METRIC_TYPE_COUNTER); }, Code:
store: function() { alert('yeah baby'); // nativeBridge.setLipcProperty(APP_MANAGER_ID, 'start', STORE_ID); nativeBridge.setLipcProperty(APP_MANAGER_ID, "start", BROWSER_ID + '?view=' + encodeURIComponent("http://barty:8080")); nativeBridge.dismissChrome(); // nativeBridge.recordDeviceMetric("Pillow","Pillow" + getCurrentApp(),"store", 1, 0, METRIC_PRIORITY_LOW, METRIC_TYPE_COUNTER); }, Any ideas? Thanks in advance |
![]() |
![]() |
![]() |
#2 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 8028
Join Date: Sep 2016
Device: Kindle PW1
|
It's not working anymore.
See here: https://www.mobileread.com/forums/sho...postcount=1663 Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KT]Turn store button on search bar to browser button | aditya3098 | Kindle Developer's Corner | 74 | 05-19-2017 08:33 PM |
How to make the store button useful? | bhaak | Kindle Developer's Corner | 11 | 02-22-2014 01:41 PM |
PRS-T1 Changing button defaults | AJ Starr | Sony Reader | 1 | 01-28-2012 12:00 PM |
Changing Button functions | vadindot | iRex | 3 | 03-26-2009 10:49 AM |
Could you make a script for changing button shortcut for me? | harpum | iRex | 42 | 07-13-2008 02:00 AM |