From 683827d90b5f5a7319635c1b045f510fcf1f261f Mon Sep 17 00:00:00 2001 From: Chris McFarland Date: Fri, 14 Jun 2019 11:16:24 +1200 Subject: [PATCH] v1.8.1 RC1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Fixes issue #48 - common.js' openDb method now uses the background page's window.db var for all tabs. • Slightly increased Address Box result padding. • Added info when prompting to add an Address Box result keyword. • Updated suggested keyboard shortcuts. • Removed unused pages and icons. • Improved build flow. --- Fauxbar/css/fauxbar.css | 8 ++-- Fauxbar/html/loadpaypal.html | 32 --------------- Fauxbar/html/options.html | 6 +-- Fauxbar/img/donate.gif | Bin 1714 -> 0 bytes Fauxbar/img/icon-code.png | Bin 942 -> 0 bytes Fauxbar/img/icon-facebook.png | Bin 224 -> 0 bytes Fauxbar/img/icon-gplus.png | Bin 639 -> 0 bytes Fauxbar/img/icon-mail.png | Bin 267 -> 0 bytes Fauxbar/img/icon-paypal.png | Bin 606 -> 0 bytes Fauxbar/img/icon-reddit.png | Bin 675 -> 0 bytes Fauxbar/img/icon-twitter.png | Bin 658 -> 0 bytes Fauxbar/img/paypal_logo.png | Bin 1764 -> 0 bytes Fauxbar/js/background-new.js | 75 +++++----------------------------- Fauxbar/js/common.js | 14 +++---- Fauxbar/js/fauxbar-1.js | 19 +++++---- Fauxbar/manifest.json | 3 +- 16 files changed, 35 insertions(+), 122 deletions(-) delete mode 100755 Fauxbar/html/loadpaypal.html delete mode 100755 Fauxbar/img/donate.gif delete mode 100755 Fauxbar/img/icon-code.png delete mode 100755 Fauxbar/img/icon-facebook.png delete mode 100755 Fauxbar/img/icon-gplus.png delete mode 100755 Fauxbar/img/icon-mail.png delete mode 100755 Fauxbar/img/icon-paypal.png delete mode 100755 Fauxbar/img/icon-reddit.png delete mode 100755 Fauxbar/img/icon-twitter.png delete mode 100755 Fauxbar/img/paypal_logo.png diff --git a/Fauxbar/css/fauxbar.css b/Fauxbar/css/fauxbar.css index fc1bce7..1b63a5a 100755 --- a/Fauxbar/css/fauxbar.css +++ b/Fauxbar/css/fauxbar.css @@ -74,7 +74,7 @@ button { padding:3px 12px; } /* More Address Box results and Search Box suggestions/queries */ /* .arrowed is for hovered/highlighted/selected results */ -.result, .resultpreview { border-bottom:1px solid rgba(0,0,0,.11); padding: 4px 5px 5px 5px; display:block; } +.result, .resultpreview { border-bottom:1px solid rgba(0,0,0,.11); padding: 5px 5px 6px 7px; display:block; } .arrowed, .rightClickedResult { background-color:#3399ff; color:#fff; } .result_url, #options .result_url { padding-left:21px; white-space:nowrap; font-size:12px; overflow:hidden; display:inline-block; } .result_title, #options .result_title { font-size:14px; line-height:140%; white-space:nowrap; overflow:hidden; display:inline-block; } @@ -89,8 +89,8 @@ button { padding:3px 12px; } /* Highlight matching words within results. Added in 1.6.0. */ .highlight { background-color:#f8ffbf; border-radius:2px; } -/* Bookmark icon */ -.favstar { float:right; margin-top:2px; margin-right:-1px; } +/* Bookmark icon. fauxbar-1.js overrides margins: `var favstarMarginTop` and `var favstarMarginLeft` */ +.favstar { float:right; } /* "Truncated" dotting for Address Box result titles and URLs */ .dotdotdot { position:relative; float:right; } @@ -217,7 +217,7 @@ progress { width:100%; margin-top:6px; } input::-webkit-input-placeholder { color:rgba(0,0,0,.5); font-style:italic; } input:focus::-webkit-input-placeholder { color:transparent; } -.resultTag { padding:2px 5px 0 8px; text-decoration:none; } +.resultTag { padding:0px 4px 0 8px; text-decoration:none; } #addressbaricon { margin-top:1px; height:16px; width:16px; } diff --git a/Fauxbar/html/loadpaypal.html b/Fauxbar/html/loadpaypal.html deleted file mode 100755 index 391515f..0000000 --- a/Fauxbar/html/loadpaypal.html +++ /dev/null @@ -1,32 +0,0 @@ - - -Loading PayPal... - - - - -
-
-   - Loading... -
-
- - - - - - -
- - - » - - -
-
- - \ No newline at end of file diff --git a/Fauxbar/html/options.html b/Fauxbar/html/options.html index f84def5..148eabc 100755 --- a/Fauxbar/html/options.html +++ b/Fauxbar/html/options.html @@ -473,9 +473,9 @@

+ title="This is the equivalent of clicking Fauxbar's toolbar icon (located beside Chrome's Omnibox).">(?) - +
Activate the extension: (?) Not set
Ctrl+T
Open Fauxbar's Address Box in the current tab:Alt+D
Open Fauxbar's Address Box in a new tab:Ctrl+T
Open Fauxbar's Address Box in a new tab: Not set
Open Fauxbar's Search Box in the current tab:Ctrl+K
Open Fauxbar's Search Box in a new tab:Ctrl+Shift+K
@@ -916,7 +916,7 @@

Management

- Fauxbar version 1.8.0  (23 May, 2019) + Fauxbar version 1.8.1  (14 June 2019) diff --git a/Fauxbar/img/donate.gif b/Fauxbar/img/donate.gif deleted file mode 100755 index 43cef691e583af713ecbdb66e3a3884817eafb73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1714 zcmdVZ|3A}t0KoD0K8aD{ip$|@E`4*Ak8?>!^=T_?$aJpj+vQWcPB&#!A(Aay9r+wG zN?&Y*XtAjwP3*HFUD%Gxl}Enb^+l@fk-AFpdEevyjC=hB&tG1_>>&TuyLSRt@Xi6i zR}bOTd+JFoRQtlJ<;skxKOojoi=O79~2B(Og$RX~TubPr`OSgDs%ySn@JCemD&_Z_h3u;FU#k#jmix zGCMzWNU<6h#0&R@GuUwq<}OjD6x$Iu_`A|PsD)2kV0|zaxiy2*PHUc zW(4zfxmZpj%Tl@w!;dnU(eR!OPY{cUEZDT&+*<;xyf+$tBFc13oxy?)95`~_*jkR^DNyC35Ceq@$#qoAkK9hfE{izcGc+MC6Kl7Ndq57?+HMMU_Ra5pIfMx(C2vV zyi-%s^2rju z_Why!p`*TfN9{K9472yDYM}AR>#>238|ooliq2{0hO0FrEg25&;I>Pl&ARooL*-%T zw&c1L_%3+cBO{gDidk9nmY>h!E#AZcyp7tr=l2DHoyp;i3Cj@YYyJk$;v1GB@|X;H zQoPEsw=^w4SnSaN>}QEV^k9FI3tp7U@;2Z4XkjJHG(dcPg?Qri=pTw0Vl;IIe!Ww{ z?P_RC!8eZ{%8Qu)!1ndjl}Id&XmZR*ptDvRGTEL?t z*_*!6TM^DmFJ$k&PdJKHS6D_?)f)LHXDB?2pQ{=#0m7>BQyMYbHUxA!=#f$u(u{Px zP}@!d!gKZp5VlA=2EyFhX1VEa42^rmAuDPkW2>#d^C7h_>Yv9o64e3BdBk!bY!;c1 z8o+`L2+{OPg$(O{ik6mRN$^R$O76V=%H$T2mxt<{4!r3OaT}mb3-b-v zI|r{C39=^NVC%a>eUGo4wjCm&4xe!`+BCLPIIXv0vZwX)C|S{)hk|#WVfMoN2i^@F zd0L$`ure@bA>l2yS@C{YIydh9NXBAS!w7CGvGUFhUNP|~|NFR!$AvMf)sI8O-*wNt zDP8elwCrr$hi8=)st;qOrs3qR9{pc@d{KKp?&Hgbr>c+UTOIQZ&!^kROP06J6->Um zvsgVj-nq&&Y0m<>9w#oHM*j04Mm_bmKglxnZaBu<%IVt>%bX3P6>92(&6PJ81_J&C DPfQA9 diff --git a/Fauxbar/img/icon-code.png b/Fauxbar/img/icon-code.png deleted file mode 100755 index 6223fe1747be072e2cc9bf3189ca42b009c33b62..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 942 zcmV;f15x~mP)9=rS$gx?$?JU&Tt;i)A^j79AJwA zfdB^pS`O8Gc=qDp`)9sdxH|F2Gh1^2*njp=!~h0LCaXTa^vn6NQ2fPMMv*(jYVL#A z`(Ihh8PSp7#=P&od@y-<-@Xug0BnI13GMjVi$8?3>`>m_W6Uq>T#rrgo#tH0=kpLW zk6Owm4JRw@zW(h{kUyNmKw+}>pZff}`E}c&jQfB-8_5a1kmk(WK{0Bx<+Ua?Vej0W ziEfI{$NirG01pHL0su`-O^NPPCr8$u{v&J7{dzE*vO^pqB(4;38m#y6CAVxYPl3=m~SCDZzZz6;g4Q>lQX+7X|Ywt!4x!koTSbDd#juxGFcl3Kp>cmB$yyn*sS1Wz^+=bUMgdDZV|~$4p0m@R1U#8Kn6e( zLZ~DFKoP>mK_ty0Zp`1M)30{3&wl(Jn?)T~w*_V~hsRpB;i*Tx_-6E1;+g{_?6O?U zJt)XzGf|^hX4vMUq09fU;qkjj#`Ay#pjHEl#I1~q{=qS%lSKwmOHARy;m|As0JB%x z2K%~p99>$8J7p!ArF@#VI0YC3Od>EaNYjMeAk;X>&|D-M9ot8$s=a^x3xgJykvr>Q Q6#xJL07*qoM6N<$f`S;o+5i9m diff --git a/Fauxbar/img/icon-facebook.png b/Fauxbar/img/icon-facebook.png deleted file mode 100755 index 6417d8c7b07eefb12ec065b4a0dcad000d0ebb03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 224 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`%ROBjLo9le6BY;<7#SECM7aCe zA3ks(!)MmD|LOgD=S>ouW;riPYmpO6nzHH?w{gkzN}~>rB4eOZgBvbqTTUAaCNpeG zD{+{@z2TH4d-NBwr!-&C#Ot@!*;o0*yU5VwKdMLmuaaZO3aJ^efye9W&{ zl*HAgo7*NyI39JoWmNF3w|f1G7ft#1>*v{)f8{*)r$Lv|(BO}~_sXX{AixkgQ)BAC TURFV%lNmf+{an^LB{Ts5-RVv_ diff --git a/Fauxbar/img/icon-gplus.png b/Fauxbar/img/icon-gplus.png deleted file mode 100755 index 53ad6b94ecacccd98cc6ec0ce66f3f2c0ba9bf60..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 639 zcmV-_0)YLAP)FyG`f*=y2_i;?^XaO$jOql1w`Z8AWyxjG$u&gE|xZytgu z4;>Q0OSS$GLZlex?2lz)y2?3qHuvZEc9^UQjSfEW@IKF%_xZlx=lhDullv4~2t8XG z2fe{li|{t!XlcS&S&iPf`GWdB#BA4PVoMs*WWj$g$keGuw6)a?fu*e*yKkDwo(`s` zG`6*0Wq%PwXr;n5>9To{`O#?Pgm60xm)5YxFPNJb7RLWn7{tJvgodeqe zYK{jeS2`>LP#Z~3tw5jDq9hjL*mME_YhjA$zysok&tq&jLdmT`ypKjVtrfWc;;#ov zE5_`QMCP?DX#FxlBnf4PViG3B!$v;<2D6nDLvOM@fL>D)dtDuov5}k)iKAk`>L|-g zihwoatS}X16j=W{Ez?PXspS%Oj~S&DN-5-?W7y4~3Ek{NLuGNbVO(x6#s|KtU9At2c6E7R9RM;7y$mPb{+QrVM3KE0o zcy&97GiNwoNONHU-pB`R6G7G&C8<;jxw{#k)38ZuzLdh}M~X76<+T{!50g%(NxPbH z_uj!)W&JOKn0Wk5x%T=IQ{$|J-Z2+W;b=R9!(9l8Z$x`L_&GA4cLg!l)2kMT`&d{` zVv>>~2{D}y$HgA1>ph6o=Y-F8@;jb~;K{)qN*MH5bNy0^#Y8D3H~MjVbgW%FN-Xqm Zf5ymD5-t!PJz*%-L%97DJ*c7es=p02^auW@r zfwGpouG1z0&g&XwZF&V|EjS0j=p6SYegy9f094b&^SGErSme?MAuvzVu5g9tX(9^& zv`!d=z})v_T?bmDjEU>4V`s8vYarpTH<8kstm~NjK8E5iY~e#KCdmo@Qy-wyPyGX0!3R1MqZQ(iS(yr=R*DdmO+aJbdY&FpzF7;yj=0MM{YN%Zz}-V(-wbNB;643P@`!R3w5 zh=L8_ph+^E$y`5wj2HbQAo6ju;S~YMF-hrxEJAa?=;+lkkdDoUEr>`+R`GgZR0=LO sf8FY=2B4I3=GQid)ao+@>EEirKh#pk2ptY6^8f$<07*qoM6N<$f-5^9K>z>% diff --git a/Fauxbar/img/icon-reddit.png b/Fauxbar/img/icon-reddit.png deleted file mode 100755 index aaf5bf6e7c73684d7b96a8bb32a37e1819919763..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 675 zcmV;U0$lxxP)K z-UNYC*oR0-qA@qKDOuT!O*Y)xWIEq2Mzj35sD5xR4(IniocBHFjj?%!;6Ee-@XQDQ z>98g#E&|v{QmKq!z|XxKZ6u{?(eKG-^8F~1B|qA%eUzW90YI`DARJ!i-OvE>32Kg- zj$yajS@F%$b@w(Sulu6DbpV+xmaR$!08RsUMR zobxM=597GMI~nME!nVXz{DB}jxqCTvt_hi3!E$IZ>W_KU|3*B0`~Xdgj+j^lKio59 z>vyv~HJJpp2A9i)`H^d zS70z8*Xt>|a1pg85sSq_oN^n6q7o#!oC0k22}~waw~w)r;poeDTY9istt>1oV6|H5 zw)8}6VtC8cHPGt%kp?Ij!zBb7?2sHgy7;8{O6@7$;U zO6TerZC)Wf^FiD$Cl9-BkrE$E*`WhuW@aLn%L#=-I2;c8pTEH6TcWz5mE;s15cvyH zz%NaIoM3$PEgsh#%b`VNas`?cExCq#GO}|1Sh^@+?Kb|6egelYGIFKZC*%MC002ov JPDHLkV1g%cG%WxC diff --git a/Fauxbar/img/icon-twitter.png b/Fauxbar/img/icon-twitter.png deleted file mode 100755 index c52a4cb66f2fdfab7a3def523e16b1bf22824009..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 658 zcmV;D0&V??P)6g}Vfe&)ybMrXvI)YK;pS!B$v352YONW_xbRWNNN+5|!6B9IC)H?^n;f-)k1 z3YmU3VG))f)j*h-SWRiAW24D?&Nwq~9QA!I%4r@Fv4?|(%D56$77-KNvQEV>|9^W`vv(t2gPinNfzVr2y_#(BkR1!vF4wZTG zn-6h#sFVXjIRF4#Ou?Si5?AXt){aj{6}r5@iN&F=2G2FwZcTEM6Pz<2!Fka`Z88W+ zkAZMJ;?!>6-|^}h$ML1 zPA@ja7z_q2ilXc}aR2SOz)Y$F8OqCG#uCm~mvrr2SJ1;48>6SX`!0-5YGnZ6cDv_! zp1-rLR1Pr1SeYkdD7G-IVQpS3&+|70L3mCEzs?+Kyxn`kVdXT3RhWG_F2tl;2e( zu0@ihu;~wedEXU^B)4|I|LzG)#a4q5fHAChWle1=lD_Py$nDj2{Xr(#^alW-s%o|@ s%N|0A^4m5G8;0@OVzInid6a*EA0H*&>CGf>S^xk507*qoM6N<$g0c`c7XSbN diff --git a/Fauxbar/img/paypal_logo.png b/Fauxbar/img/paypal_logo.png deleted file mode 100755 index 028d835503230d8108700151ae43db5900107493..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1764 zcmV>gG| z6JNN^BFkLs1MLe0&0<1%SpsZ4EN(;H_GIbe%i>nI?8OATr=fz2ZV3}u_5vj8hOv8~ zJ`9vhO}M;hN?;GGiIzaz3;Wt1PEY@H@970xkz^+gX%FX~+w?pj@4ttf8k z#mxNT->kEy+O^;CRlFE&%3QSU_j;;pJ??UTlilod^y|yRW0RT-d|nT5Y;O%8X*#ei z*mZsL%j|qcGr(O{88m9!LiNpW?%U$MMpI_|hotxzG`t@))%W&~;eCVQo1C8A&3LEB zj>h11EqON-@PB{ylNz_HoY(<4J$7i>m49x{Jj4sD?fv*|ptDdoY_5IuzdlAakZgA}Ujf>I9=I*tS$>K@KJqL|i{0#>U zszP48x2Mew-2e!JhUKi{4Z%m_!B&5r=egX=@a5(K0rP(q?L#rM3qUR!O?7>4V3Z92 zVFi3ov&;AA(oeE0g2grNDriKV_Z50pVp#vx2{E9vHEgK>m;}#8?ui|1Gm9%1g?XVT zLg;`jkgAL0(<%xAK8#t+ECJB$@-vxJmY&1zg-KK$&=qgK&i%qM@a^aSvKGg9Vt8nL z61Zp#r>DEEBNE1YU?)F@>&Y2a0RY@br@oVWj=g&ri^oguY(B70K!f$4hy=~~$56c@ zDa<2vJTYd+TtXa|$J!fZw_)RndaS)9S0ejgC}6Ojx>v2Mp#SP`8tjO?@bupPQDPiZ z05%v?VQ^7wa=UuEBkKC0<-ES?_FAe~$*RYg*!f?;QtM;<+j#k~5E3kKgApOPMueqDJ^^i#MhChNxU> zC|k91!vX)(rDY;WIAAme3_=GA2qR(@P46LvoNi0YGEc!}`M-#nRP}60P$K3D;Eoz= zkO2oL{-p9mlmUrI=CUi#FyY|MdyIqh<_~j0e=iOnR9`J35_Qzq@OVna4)|hi7$zJ> zZm^Wsyn7*wst&Rq5MNv#{pvFN@0n-^r8x$T+qDOsSQyp}egO!TGF>eV7|?a-4Ot}% z(wSE}hTytyJT6JS0(>YRRlHt5d{V=6AdA>cZ)EIpQ!Op07jo(PLGdFIz+t>Bc|sH5 z7)%PmJDPl|m=460=AJ8>ZwS1OM}mwyK-^4c1i!ez8Q%5cT_`Dh1^Cp+qHh4=(%DZ% z;J~u4|9%(1>2*--ntipNloT+4HIY4@7-CNds<$TO>CA?{A@D+`5m5tmeQV|sNXooh zy-E|9ZQ*+`H}CwLAw$3iMO~xZKr|;8Hm+Mab8uoD0u7r-+$BecIj4ackiFN^a3aq; zG~}50l_Z11t`Ykj`bGi1)Km%f31^T~F4T}E3^90ry$>bK$QWL)arN*92$C<$RK;_0 zzTXhe0GSh{gRZfCt6*8Rt5Tgdm}i-jz+8ZjP662Z6Q_^9ydKb0TcE4H{B~H)#&8V6 zmw}tZR1~k`9-uG}E71-Oc34uZJtU}MxjbCOu*<7qKxE?!V^i|XcmOnylfYbnPZcaw zP05|?wd5VP;E}%1WL#2rijolcsEVNcFf1LzGQs9{5s`q9dE4Wr+orn1lYwS}ASQGY zmEWh-s|XCzokI~7UQo_1BZcm4ZfOc7n3B~V3urP6Wm!nszX2aaE!um zWHzk9N*~}?s>{1wm8^0RO&o@}`1?(2nYV?E!O!2po=-*-UL^ci_F@dy++vsdOWTGT zlnz@CQZYau3i>skz%FE)LOh8ZKc04Yx$}m?2cc-w;`e#LvaS63p*t?!M8ldLvQ;@E zoM1iOorj(~cEl_My{-T1W*c0}-@sP3$Dq^fik;TB2flb>h(+$i7e_00VA}@x==Zsj zj`2Ty){PyALOtWr&WfGc$_*bPy1dz-{n>xv80BgI3NQe~6lI}v`HX`A0000 0) { - //console.log('Wanting to push ' + Object.keys(optionsToPush).length + ' options to Google!'); - chrome.storage.sync.set(optionsToPush, function(){ - if (chrome.runtime.lastError) { - console.warn('Failed to push options because: ' + chrome.runtime.lastError.message); - } else { - console.log('Options have been pushed successfully.'); - } - }); - } - }); -}*/ \ No newline at end of file +});*/ \ No newline at end of file diff --git a/Fauxbar/js/common.js b/Fauxbar/js/common.js index 3b0362d..415dc89 100755 --- a/Fauxbar/js/common.js +++ b/Fauxbar/js/common.js @@ -224,20 +224,18 @@ function urldecode (str) { // Initialize/create the database function openDb(force) { - // Hopefully prevent issue #47 from happening... don't try to load the database if the page isn't ready + // Don't load database if page isn't ready if (!$(document).ready()) { return false; } - if (!window.db) { - window.db = openDatabase('fauxbar', '1.0', 'Fauxbar data', 100 * 1024 * 1024); + var backgroundWindow = chrome.extension.getBackgroundPage(); + if (!backgroundWindow.db) { + backgroundWindow.db = openDatabase('fauxbar', '1.0', 'Fauxbar data', 100 * 1024 * 1024); } + window.db = backgroundWindow.db; if (window.db) { - if (localStorage.indexComplete == 1 || force == true) { - return true; - } else { - return false; - } + return localStorage.indexComplete == 1 || force == true; } else { alert("Fauxbar error: Unable to create or open Fauxbar's SQLite database."); diff --git a/Fauxbar/js/fauxbar-1.js b/Fauxbar/js/fauxbar-1.js index c483703..258088d 100755 --- a/Fauxbar/js/fauxbar-1.js +++ b/Fauxbar/js/fauxbar-1.js @@ -772,7 +772,6 @@ function showContextMenu(e) { if (usingSuperTriangle || $("#awesomeinput:focus").length) { $("#super_triangle .triangle").addClass("glow"); - // += ' '; html += ' '; html += ' '; } @@ -933,7 +932,7 @@ $("#contextMenu .menuOption").live("mousedown", function(){ case "Add Keyword...": $("#contextMenu").css("opacity",0); - var keyword = prompt('Add a keyword for '+$(window.rightClickedResult).attr("url")); + var keyword = prompt('Add a keyword for '+$(window.rightClickedResult).attr("url")+'\n\nTyping the keyword will ensure the result appears first when using the Address Box.'); if (keyword) { keyword = str_replace('"', '', keyword.trim()); if (keyword.length && openDb()) { @@ -1954,18 +1953,21 @@ if (localStorage.indexComplete != 1) { $("#apps").remove(); if (localStorage.reindexForMaintenance == 1) { $("#indexinginfo b").html(localStorage.extensionName+" needs to reindex for maintenance"); - $("#indexinginfo span#indexingInfo2").html(localStorage.extensionName+" needs to reindex your Chrome data to correct a bookmark-naming issue that was present in the previous version of "+localStorage.extensionName+"."); + $("#indexinginfo span#indexingInfo2").html(localStorage.extensionName+" needs to reindex Chrome's data to correct a database issue that was present in the previous version of "+localStorage.extensionName+"."); $("#currentstatus").html("Click Start Indexing to begin."); - } else if (localStorage.needToReindex && localStorage.needToReindex == 1) { + } + else if (localStorage.needToReindex && localStorage.needToReindex == 1) { $("#indexinginfo b").html(localStorage.extensionName+" needs to reindex your Chrome data"); $("#indexinginfo span#indexingInfo2").html(localStorage.extensionName+"'s database structure has been modified, so "+localStorage.extensionName+" needs to reindex your Chrome data. On the plus side, indexing is now approximately 70% faster than before."); $("#currentstatus").html("Click Start Indexing to begin."); - } else if (localStorage.indexedbefore == 1) { + } + else if (localStorage.indexedbefore == 1) { $("#indexinginfo b").html(localStorage.extensionName+" is reindexing"); $("#indexinginfo span#indexingInfo2").html(localStorage.extensionName+" is reindexing your history items and bookmarks."); $("#currentstatus").html("Reindexing..."); $("button").last().prop('disabled',true).html('Please Wait...').blur(); - } else if (localStorage.issue47 == 1) { + } + else if (localStorage.issue47 == 1) { $("#indexinginfo b").html(localStorage.extensionName+" is rebuilding"); $("#indexinginfo span#indexingInfo2").html(localStorage.extensionName+" is rebuilding its database, and reindexing your history items and bookmarks. Any custom keywords and search engines you had will also be restored shortly after."); $("#currentstatus").html("Rebuilding..."); @@ -3070,8 +3072,9 @@ function getResults(noQuery) { var scrollbarWidth = window.resultsAreScrollable ? getScrollBarWidth() : 0; - var favstarMarginTop = window.OS == "Mac" ? "-1px" : "2px"; - $("#results .favstar").attr("src", $("#fauxstar").attr("src")).css("margin-left",($("#results").innerWidth()-25-scrollbarWidth)+"px").css("margin-top",favstarMarginTop); + var favstarMarginTop = window.OS == "Mac" ? "-1px" : "0px"; + var favstarMarginLeft = ($("#results").innerWidth()-26-scrollbarWidth)+"px"; + $("#results .favstar").attr("src", $("#fauxstar").attr("src")).css("margin-top",favstarMarginTop).css("margin-left",favstarMarginLeft); $(".resultTag").each(function(){ $(this).css("left", $("#results").offset().left + $("#results").outerWidth() - $(this).outerWidth() - $(this).offset().left - ($(this).prev(".favstar").length*16) - scrollbarWidth); }); diff --git a/Fauxbar/manifest.json b/Fauxbar/manifest.json index f25f415..5551386 100755 --- a/Fauxbar/manifest.json +++ b/Fauxbar/manifest.json @@ -2,7 +2,6 @@ //// Comments in this file must be prefixed with "////" and must be removed when packaging for Chrome Web Store //// Remember to update: - //// background-new.js: var currentVersion = "1.x.x"; //// options.html: version 1.x.x and date //// When packaging Fauxbar Lite, change: @@ -18,7 +17,7 @@ "name": "Fauxbar", //// Rename for Fauxbar Lite - "version": "1.8.0", + "version": "1.8.1", "description": "An alternative to Chrome's Omnibox. Replaces the New Tab page.", //// Remove last sentence for Fauxbar Lite "minimum_chrome_version": "49",