From 7a0f15462c9a6cb3e3208dbb1b9e6baebc7b8f0e Mon Sep 17 00:00:00 2001 From: Russell Porter Date: Fri, 21 Mar 2014 11:23:35 -0700 Subject: [PATCH] Remove Google Chrome Frame from suggested browsers --- README.md | 8 +------- doc.html | 16 ++++------------ images/browser_gcf.gif | Bin 4864 -> 0 bytes js/jquery.reject.js | 8 +------- 4 files changed, 6 insertions(+), 26 deletions(-) delete mode 100644 images/browser_gcf.gif diff --git a/README.md b/README.md index fe36b48..143feab 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Default Options: */ }, // What browsers to display and their order - display: ['chrome', 'firefox', 'safari', 'opera', 'gcf', 'msie'], + display: ['chrome', 'firefox', 'safari', 'opera', 'msie'], browserShow: true, // Should the browser options be shown? browserInfo: { // Settings for which browsers to display firefox: { @@ -67,12 +67,6 @@ Default Options: msie: { text: 'Internet Explorer 9', url: 'http://www.microsoft.com/windows/Internet-explorer/' - }, - gcf: { - text: 'Google Chrome Frame', - url: 'http://code.google.com/chrome/chromeframe/', - // This browser option will only be displayed for MSIE - allow: { all: false, msie: true } } }, diff --git a/doc.html b/doc.html index 932e755..84a3326 100644 --- a/doc.html +++ b/doc.html @@ -109,7 +109,7 @@ $('a[rel="external"]').click(function() { var href = $(this).attr('href'); - // Send external link event to Google Analaytics + // Send external link event to Google Analytics try { _gaq.push(['_trackEvent','External Links', href.split(/\/+/g)[1], href]); } catch (e) {}; @@ -314,7 +314,7 @@

Default Options

*/ }, // What browsers to display and their order - display: ['chrome', 'firefox', 'safari', 'opera', 'gcf', 'msie'], + display: ['chrome', 'firefox', 'safari', 'opera', 'msie'], browserShow: true, // Should the browser options be shown? browserInfo: { // Settings for which browsers to display firefox: { @@ -336,12 +336,6 @@

Default Options

msie: { text: 'Internet Explorer 9', url: 'http://www.microsoft.com/windows/Internet-explorer/' - }, - gcf: { - text: 'Google Chrome Frame', - url: 'http://code.google.com/chrome/chromeframe/', - // This browser option will only be displayed for MSIE - allow: { all: false, msie: true } } }, @@ -518,12 +512,10 @@

Demo #4: Customize Browsers To Suggest

Using the display option, you can define - which browsers to suggest, and the order in which to suggest them.
- GCF is supported, - but only displayed for IE users by default. + which browsers to suggest, and the order in which to suggest them.

- Default: ['firefox','chrome','msie','safari','opera','gcf'] + Default: ['firefox','chrome','msie','safari','opera']

diff --git a/images/browser_gcf.gif b/images/browser_gcf.gif
deleted file mode 100644
index 96129185e3b59715f41621da5822df4983dca519..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 4864
zcmaJ^c|4Tc|9@s0GuAP7qI#@XZkVyu5E_iJL``yQNHxQZr7VNVa#PJP7$FnNS`86(
zC0vD~#!i-ONu`^mTO+96+z*2@m~8Izv2J?0A
zWxsWM^tHatfY>r;S3Q?L+~zm9M$LaZP;36N)->l%?ypsEE`Aa9-gO-94PAd^-}%#|~
z1G;9Ho{AmoS^Dkcv+vDb7q0*A@nk6~$JvJxX_emPok=C+9a$5^g*TjK^n5979JPsW
zj4kbvztETQr(nM?M(tJTWY~`s^yD+vm{PoY4+F`_hT&>DrM#IZ~T9CqKn1
zcj(Y#_vr)1A1PiB3l8_qA;JmH&cWL;org35C3;XJE#qI$ueNA|y#7Fz)8_nih6xN<;%CmNVV2FYVL-1
zqubL00-b&hryc(FfQRp|r+qD`TKjB3t7yyUV0ti(K>?$KgF+%Kqph_l)KDLq<>vUu
zvauHU7ld)zTFdsw3-Cuw`_OP2Xl`U~=!?dffqN{BFyS5^Wd~q5Zc4o)+O79!O^dhK7JY6e&KTXBgI6o0cZ^f%DW?f-`c2mgbPV7Sx%C*S{5IKm@_PBV6=MTDLS_oZ#ZwSR=7
zTiS=yD2&i>kI>Mdzju)s5XuOR2neNv_V%Fu(ZCRDXjH_`zu<0emd+s&3`&SE%^7d4
zwJBf}7)Z5rFvnP!n`7;5&CM|wjDx8Kp0LNx%p7k|z?EjIY2ks9G%6uHG#LD=V#~mP&&Bp%_5Q=9{(CNV|H?JqOvd=fx&E(n
z{(EWDJU@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2cP4DRvbnBZ4a^^58%9Bh{UlDon@-TCIe5p@b-*$c4|7
zW#v|A@3Lc80XSAk;dnptKyEweikAX9{v_)3(zx`#E)l~op3&;}&_
zK*6A+G1s%DZZKi@n2;h+QdKCK$&>lYMV{ou!cmFG=;uua*tX<&q7yS{MZ&#I=2fMn
zIT0z3Wx+*U#A$RQ=1`))KIhcvc}F;6mXG|6C^i+vUKdLyk0+THLJy%}teiv*)v&xe
zNqhi1yEJJSCliB~zUQd01r5}qV5KYUctQB@9mr4P38n<{-R#&Jtn_Iij8?h%BM3a<
z!5cUi<5p6#cAu>XAh)Zgbk!!^uY)&KvLg#6x#%<&DUBVKM&~1E`(4F=wk@PZ(L**Cw49;wFQ^%%S{o>NIz5wU2{r%UUqSYw56HM
z-Ox>MK}+u!Lf@hYeJcv}Ws;|W%c!pO4+8e?QRKB~ZVf3#BSve7$l5bA+h
zPPtj$d?|ze)PsR2ihH?@p|xtWJ^ub!@l9s{$<
zU9xY5u*l?Wngy!f3F3f;)$-t6Av{eeld&q(AcV0!VHrL-Nr6{sIEXe8=8MYnCBn3E
m5Nds{(&dyp^?7;8c@?X9m1_Cb7Wp-v`43|9)#XsY-v0u9kb*4$

diff --git a/js/jquery.reject.js b/js/jquery.reject.js
index ad932da..af75e2f 100644
--- a/js/jquery.reject.js
+++ b/js/jquery.reject.js
@@ -57,12 +57,6 @@ $.reject = function(options) {
 			msie: {
 				text: 'Internet Explorer 9',
 				url: 'http://www.microsoft.com/windows/Internet-explorer/'
-			},
-			gcf: {
-				text: 'Google Chrome Frame',
-				url: 'http://code.google.com/chrome/chromeframe/',
-				// This browser option will only be displayed for MSIE
-				allow: { all: false, msie: true }
 			}
 		},
 
@@ -112,7 +106,7 @@ $.reject = function(options) {
 
 	// Set default browsers to display if not already defined
 	if (opts.display.length < 1) {
-		opts.display = ['chrome','firefox','safari','opera','gcf','msie'];
+		opts.display = ['chrome','firefox','safari','opera','msie'];
 	}
 
 	// beforeRject: Customized Function