📄 1533466593-widgets.js
字号:
horizontal:c,autoExecuteList:{cycleTime:GSvideoBar.CYCLE_TIME_LONG,cycleMode:GSvideoBar.CYCLE_MODE_RANDOM,executeList:e.split(/,/)},thumbnailSize:d},g;if(window._UDS_vb_master!=null){g=null;f.master=window._UDS_vb_master}else{g=document.getElementById("videoBar-player")}var h=new GSvideoBar(a,g,f);if(g!=null){window._UDS_vb_master=h}window[a.id]=h}var _VideoBarView=w_A;_VideoBarView._Configure=_VideoBarView.Configure;function w_na(a){document.write('<script src="'+a+'" type="text/javascript"><\/script>')}function w_oa(a){document.write('<style type="text/css"> @import url( "'+a+'" );</style>')}function w_la(a){if(w_ka()){w_k("Tried to add an onload after page loaded..")}else{var b=window;if(b.addEventListener){b.addEventListener("load",a,false)}else if(b.attachEvent){b.attachEvent("onload",a)}else{b.onload=a}}}function w_La(){window._UDS_loaded=true}function w_ka(){return window._UDS_loaded}function w_x(a){this.a=a}w_x.WIDGET_TYPE_NAME="NewsBar";w_x.prototype.d=function(){return w_x.WIDGET_TYPE_NAME};w_x.prototype.b=function(){return this.a};w_x.prototype.f=function(){return false};w_x.prototype.c=function(a,b){if(a=="configure"){this.a.g(b)}};w_x.prototype.h=function(){if(!window._UDS_bootstrapped){var a;if(window.location.host.match(/blogger\.com$/)){a="ABQIAAAAVBJEtyJuLxgUs8KlzeA1lRQpkWYODHKIJGlKH8M-8R98XOejsxRkHYkMWejKfPos1RBuAqHID9wA9Q"}else{a=this.a.i().key}w_na("http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbpe&key="+a);w_oa("http://www.google.com/uds/css/gsearch.css");w_la(w_La);window._UDS_bootstrapped=true}if(!window._UDS_nb_bootstrapped){window._uds_nbw_donotrepair=true;w_na("http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new");w_oa("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");window._UDS_nb_bootstrapped=true}var b=this.b();if(!w_ka()){w_la(w_ma.bind(b))}else{window.setTimeout(w_ma.bind(b),0)}};function w_ma(){var a=this.A("bar"),b,c=this.i().format;if(c=="VERTICAL"){b=false}else if(c=="HORIZONTAL-SMALL"){b=true}else if(c=="HORIZONTAL-MEDIUM"){b=true}var d=this.i().expression,e=this.i().linkNewWindow,f;if(e==true){f=GSearch.LINK_TARGET_BLANK}else{f=GSearch.LINK_TARGET_SELF}var g={largeResultSet:false,horizontal:b,linkTarget:f,title:" ",autoExecuteList:{executeList:d.split(/,/)}};if(b){g.autoExecuteList.cycleTime=GSnewsBar.CYCLE_TIME_MEDIUM;g.autoExecuteList.cycleMode=GSnewsBar.CYCLE_MODE_RANDOM}var h=new GSnewsBar(a,g);window[a.id]=h}var _NewsBarView=w_x;_NewsBarView._Configure=_NewsBarView.Configure;function w_c(){}w_c.Lb={title:null,showStyle:null,showPosts:null,chronological:null,frequency:null,yearPattern:null,monthPattern:null,weekPattern:null,showWeekEnd:null,dayPattern:null,securityToken:null};w_c.ACTIVE_PREVIEW_CLASS="active-preview";w_c.PREVIEW_CLASS="preview";w_c._SetConfigurationOptions=function(){w_b.ConfigureWidget(w_c.Lb)};w_c.UpdateFrequency=function(){var a=w_e.GetFieldValue(document.forms.config.showStyle),b={year:a=="HIERARCHY",week:0,month:0,day:0},c=w_e.GetFieldValue(document.forms.config.frequency);if(c=="WEEKLY"){b.week=1}else if(c=="MONTHLY"){b.month=1}else if(c=="DAILY"){b.month=a=="HIERARCHY";b.day=1}var d=document.forms.config.showPosts;if(a=="HIERARCHY"){d.disabled=false}else{d.disabled=true}for(var e in b){var f=e+"pattern-wrap";w_Na(document.getElementById(f),b[e])}w_c.SelectPreview()};w_c._Init=function(a){w_c.zb=a;w_c.t=document.getElementById("archive-previews");w_c.yb=w_U(w_c.t,w_c.PREVIEW_CLASS);w_c.UpdateFrequency();w_c.Reformat("yearly",document.forms.config.yearPattern);w_c.Reformat("monthly",document.forms.config.monthPattern);w_c.Reformat("weekly",document.forms.config.weekPattern);w_c.Reformat("daily",document.forms.config.dayPattern);w_c.UpdateWeekEnd();w_c.UpdatePreviewPostTitles();if(document.forms.config.chronological.checked){w_c.ToggleDirection()}};w_c.SelectPreview=function(){var a=w_e.GetFieldValue(document.forms.config.showStyle),b=w_e.GetFieldValue(document.forms.config.frequency);for(var c=0;c<w_c.yb.length;c++){var d=w_c.yb[c];if(w_l(d,a)&&w_l(d,b)){w_q(d,w_c.ACTIVE_PREVIEW_CLASS);if(w_l(d,"MENU")){w_c.Gb(d)}}else{w_y(d,w_c.ACTIVE_PREVIEW_CLASS);if(w_l(d,"MENU")){w_c.Db(d)}}}};w_c.Db=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++){b[c].style.display="none"}};w_c.Gb=function(a){var b=a.getElementsByTagName("select");for(var c=0;c<b.length;c++){b[c].style.display="block"}};w_c.Reformat=function(a,b){var c=w_c.zb[a];for(var d in c){var e=c[d][b.selectedIndex];if(e)w_c.ReplaceSample(d,e)}if(a=="weekly"){w_c.UpdateWeekEnd()}};w_c.ReplaceSample=function(a,b){var c=w_U(w_c.t,a);for(var d=0;d<c.length;d++){var e=c[d];e.innerHTML=b}};w_c.UpdateWeekEnd=function(){w_sa(w_c.t,document.forms.config.showWeekEnd.checked,"weekend");var a=w_c.zb.weekly,b=document.getElementById("weekly-menu-select"),c=0,d=document.forms.config.weekPattern.selectedIndex;for(var e=0;e<b.options.length;e++){var f=b.options[e],g=a["weekly"+c][d];c++;var h=a["weekly"+c][d],i=g;if(document.forms.config.showWeekEnd.checked){i=i+" - "+h}f.text=i}};w_c.UpdatePreviewPostTitles=function(){w_sa(w_c.t,document.forms.config.showPosts.checked,"preview-posts")};w_c.ToggleDirection=function(){var a=w_c.t.getElementsByTagName("UL");for(var b=0;b<a.length;b++){var c=a[b],d=c.ownerDocument.createDocumentFragment();while(c.hasChildNodes())d.appendChild(c.lastChild);c.appendChild(d)}var e=w_c.t.getElementsByTagName("SELECT");for(var b=0;b<e.length;b++){var f=e[b],g=f.options.length;for(var h=0;h<=g/2;h++){var i=f.options[h].innerHTML,j=g-h-1;f.options[h].innerHTML=f.options[j].innerHTML;f.options[j].innerHTML=i}f.options[0].selected=0}};function w_sa(a,b,c){var d=w_U(a,c);for(var e=0;e<d.length;e++){var f=d[e];w_Oa(f,b)}}function w_U(a,b){var c={};c.select=function(d){return d&&w_l(d,b)};return w_3(a,c)}var _ArchiveConfig=w_c;_ArchiveConfig._UpdateFrequency=_ArchiveConfig.UpdateFrequency;_ArchiveConfig._Reformat=_ArchiveConfig.Reformat;_ArchiveConfig._UpdateWeekEnd=_ArchiveConfig.UpdateWeekEnd;_ArchiveConfig._UpdatePreviewPostTitles=_ArchiveConfig.UpdatePreviewPostTitles;_ArchiveConfig._ToggleDirection=_ArchiveConfig.ToggleDirection;function w_J(a){this.a=a;this.e=a.j()}w_J.WIDGET_TYPE_NAME="Label";w_J.prototype.d=function(){return w_J.WIDGET_TYPE_NAME};w_J.prototype.b=function(){return this.a};w_J.prototype.c=function(a,b){this.a.g(b)};function w_n(){}w_n.Cb={sorting:null,title:null,securityToken:null};w_n._Configure=function(){w_b.ConfigureWidget(w_n.Cb)};w_n.HIDDEN_CLASS="hidden";w_n.PREVIEW_ROOT_ID="preview-wrap";w_n.PREVIEW_CLASS="preview";w_n._ShowPreview=function(a){var b=document.getElementById(w_n.PREVIEW_ROOT_ID),c=w_U(b,w_n.PREVIEW_CLASS);for(var d=0;d<c.length;d++){w_q(c[d],w_n.HIDDEN_CLASS)}w_y(document.getElementById(a),w_n.HIDDEN_CLASS)};var _LabelView=w_J,_LabelConfig=w_n;function w_H(a){this.a=a;this.e=a.j()}w_H.WIDGET_TYPE_NAME="TextList";w_H.prototype.d=function(){return w_H.WIDGET_TYPE_NAME};w_H.prototype.b=function(){return this.a};w_H.prototype.f=function(){return false};w_H.prototype.c=function(a,b){if(a=="configure"){this.a.g(b)}};var _TextListView=w_H;function w_w(a){this.a=a;this.e=a.j()}w_w.WIDGET_TYPE_NAME="LinkList";w_w.prototype.d=function(){return w_w.WIDGET_TYPE_NAME};w_w.prototype.f=function(){return false};w_w.prototype.b=function(){return this.a};w_w.prototype.c=function(a,b){if(a=="configure"){this.a.g(b)}};var _LinkListView=w_w;_LinkListView.prototype=w_w.prototype;function w_R(a){this.a=a;this.e=a.j()}w_R.prototype.d=function(){return"BloggerButton"};w_R.prototype.b=function(){return this.a};w_R.prototype.c=function(a,b){this.a.g(b)};var _BloggerButtonView=w_R;var w_B=function(a){this.a=a;this.e=a.j()};w_B.prototype.d=function(){return"Poll"};w_B.prototype.b=function(){return this.a};w_B.prototype.c=function(a,b){if(a=="configure"){this.savePending=false;this.a.g(b)}};w_B.prototype.r=function(a,b){if(a=="configure"){this.savePending=false}w_.r(b,window)};w_B.adjustFrameHeight=function(){var a=document.getElementsByTagName("iframe");for(var b,c=0;b=a[c];c++){if(b.name.indexOf("poll-widget")==0){try{if(window.frames[b.name]&&window.frames[b.name].frames[0]){var d=window.frames[b.name].frames[0].location.hash,e=Number(d.replace("#",""));if(e){b.style.height=e+(document.all?10:0)+"px"}}}catch(f){}}}};window.setInterval(w_B.adjustFrameHeight,500);var _PollView=w_B;function w_o(a){this.a=a;this.e=a.j()}w_o.WIDGET_TYPE_NAME="Navbar";w_o.prototype.d=function(){return w_o.WIDGET_TYPE_NAME};w_o.prototype.b=function(){return this.a};w_o.prototype.f=function(){return false};w_o.prototype.c=function(a,b){this.a.g(b)};w_o.FilterMap={navbartype:null,securityToken:null};w_o.ConfigureWidget=function(){w_b.ConfigureWidget(w_o.FilterMap)};var _NavbarView=w_o;_NavbarView.prototype=w_o.prototype;_NavbarView._ConfigureWidget=_NavbarView.ConfigureWidget;function w_C(a){this.a=a;this.e=a.j()}w_C.WIDGET_TYPE_NAME="Profile";w_C.prototype.f=function(){return false};w_C.prototype.d=function(){return w_C.WIDGET_TYPE_NAME};w_C.prototype.b=function(){return this.a};w_C.prototype.c=function(a,b){if(a=="configure"){this.a.g(b)}};var _ProfileView=w_C;function w_Fa(a){var b=a.toLowerCase();for(var c=0;c<document.styleSheets.length;c++){var d=document.styleSheets[c],e=d.cssRules?d.cssRules:d.rules;for(var f=0;f<e.length;f++){var g=e[f];if(g.selectorText.toLowerCase().indexOf(b)!=-1){return g}}return null}};var w_ga="/feedReaderJson/";function w_Ga(a){w_ga=a}function w_ha(a){return"FW_ScriptElement"+a}function w_M(){this.requests={};this.currentId=0;this.completed=[]}w_M.prototype.ab=function(a,b){var c=++this.currentId,d={};d.handler=a;d.errorHandler=b;this.requests[c]=d;return c};w_M.prototype.V=function(a){var b=this.requests[a];this.requests[a]=null;this.completed.push(a);return b};w_M.prototype.Ca=function(){while(this.completed.length){var a=this.completed.pop(),b=document.getElementById(w_ha(a));if(b){b.parentNode.removeChild(b)}}};w_M.prototype.db=function(a,b,c,d,e,f){this.Ca();var g=this.ab(c,d),h=w_ga+"?feedUrl="+encodeURIComponent(a)+"&n="+b+"&requestId="+encodeURIComponent(g)+"&locale="+encodeURIComponent(e)+"&timeZone="+encodeURIComponent(f),i=w_ha(g),j=document.createElement("script");j.type="text/javascript";j.charset="utf-8";j.src=h;j.id=i;document.getElementsByTagName("head")[0].appendChild(j)};var w_2=new w_M;function w_Da(a){return w_2.V(a).handler}function w_Ca(a){return w_2.V(a).errorHandler}function w_Ea(a,b,c,d,e,f){w_2.db(a,b,c,d,e,f)}var _FW_setFeedReaderJsonBaseUrl=w_Ga,_FW_getHandler=w_Da,_FW_getErrorHandler=w_Ca;function w_a(a,b,c,d){this.q=a;this.ra=b;this.Nb=c;this.Q=d;this.wa=new w_G("status-message");this.P="";this.vb=false}w_a.Eb=5;w_a.Ab="moduleTitle";w_a.Sb="feedUrl";w_a.Ga="step1";w_a.Ha="step1Buttons";w_a.Ia="step2";w_a.Ja="preview";w_a.Fb="item-title";w_a.fb="item-date";w_a.eb="item-author";w_a.H="feedUrl";w_a.prototype.T=function(a){this.wa.S();w_e.ClearError(w_a.H);if((!a.items||a.items.length===0)&&a.title===""){this.N()}else{var b=document.getElementById(w_a.Ab);if(b.value===""||this.vb){b.value=a.title;this.sa=a.title}this.G(a);this.Ra();this.$a(b)}};w_a.prototype.$a=function(a){a.style.display="none";a.style.display=""};w_a.prototype.N=function(){this.wa.S();w_e.SetError(w_a.H,this.Q._invalidFeedUrl);this.K()};w_a.prototype.oa=function(){};w_a.prototype.G=function(a){this.bb(this.ra);for(var b=0;b<a.items.length;b++){var c=a.items[b];this.Aa(c,this.ra)}this.ea();this.ba();this.ca();this.da()};w_a.prototype.K=function(){this.o(w_a.Ga,true);this.o(w_a.Ha,true);this.o(w_a.Ia,false);this.o(w_a.Ja,false)};w_a.prototype.Ra=function(){this.o(w_a.Ga,false);this.o(w_a.Ha,false);this.o(w_a.Ia,true);this.o(w_a.Ja,true)};w_a.prototype.o=function(a,b){w_ra(document.getElementById(a),b)};w_a.prototype.tb=function(a){return a?"":"none"};w_a.prototype.pa=function(a,b){if(this.q){return}var c=w_Fa(a);c.style.display=this.tb(b)};w_a.prototype.ja=function(a){this.sa=a;this.da()};w_a.prototype.da=function(){if(this.q){return}this.Nb.innerHTML=this.sa};w_a.prototype.ma=function(a){this.ua=a;this.ba()};w_a.prototype.ba=function(){this.pa(w_a.eb,this.ua)};w_a.prototype.na=function(a){this.va=a;this.ca()};w_a.prototype.ca=function(){this.pa(w_a.fb,this.va)};w_a.prototype.ka=function(a){this.xb=a;this.ea()};w_a.prototype.ea=function(){var a=this.ra.getElementsByTagName("li");for(var b=0;b<a.length;b++){w_ra(a[b],b<this.xb)}};w_a.prototype.Aa=function(a,b){var c=document.createElement("li");b.appendChild(c);var d=document.createElement("span");d.className=w_a.Fb;c.appendChild(d);var e=document.createElement("a");d.appendChild(e);e.href=a.alternate.href;if(this.q){e.target="_self"}else{e.target="_blank"}e.innerHTML=a.title;if(!this.q||this.va){var f=document.createElement("span");f.className=w_a.fb;f.innerHTML=" - "+a.str_published;c.appendChild(f)}if(!this.q||this.ua){var g=document.createElement("span");g.className=w_a.eb;g.innerHTML=" - "+a.author;c.appendChild(g)}};w_a.prototype.bb=function(a){while(a.firstChild){a.removeChild(a.firstChild)}};w_a.prototype.ga=function(a,b,c,d,e,f,g){if(!a||a===""){w_e.SetError(w_a.H,this.Q._missingFeedUrl);return}if(a.length>2083){w_e.SetError(w_a.H,this.Q._feedUrlTooLong);return}this.wa.l(this.Q._retrievingFeed);this.la(a,b,c,d,e,f,g);this.M(w_a.prototype.T,w_a.prototype.N)};w_a.prototype.cb=function(a,b,c,d,e,f,g){this.la(a,b,c,d,null,e,f);var h=w_L(w_a.prototype.M,this,w_a.prototype.G,w_a.prototype.oa);window.setInterval(h,g*1000)};w_a.prototype.M=function(a,b){var c=w_L(a,this),d=w_L(b,this);w_Ea(this.P,w_a.Eb,c,d,this.Mb,this.Pb)};w_a.prototype.la=function(a,b,c,d,e,f,g){this.vb=this.P!=""&&this.P!=a;this.P=a;this.xb=b;this.va=c;this.ua=d;this.sa=e;this.Mb=f;this.Pb=g};w_a.prototype._GoToStep1=w_a.prototype.K;w_a.prototype._RetrieveFeedAndGoToStep2=w_a.prototype.ga;w_a.prototype._SetModuleTitleAndRefresh=w_a.prototype.ja;w_a.prototype._SetShowItemAuthorAndRefresh=w_a.prototype.ma;w_a.prototype._SetShowItemDateAndRefresh=w_a.prototype.na;w_a.prototype._SetNumItemsShowAndRefresh=w_a.prototype.ka;var _FW_FeedController=w_a;function w_r(a){this.a=a}w_r.prototype.b=function(){return this.a};w_r.prototype.d=function(){return"Feed"};w_r.prototype.c=function(a,b){this.a.g(b)};w_r.prototype.h=function(){var a=this.a.A("feedItemListDisplay"),b=new w_a(true,a,null,null),c=this.a.j().data;b.cb(c.feedUrl,c.numItemsShow,c.showItemDate,c.showItemAuthor,c.locale,c.timeZone,c.feedWidgetRefreshIntervalSec)};w_r.Bb={moduleTitle:null,feedUrl:w_e.GetRequiredStringFilter(),numItemsShow:w_e.GetNumberFilter(1,5),showItemDate:null,showItemAuthor:null,securityToken:null};w_r.setConfigurationOptions=function(){w_b.ConfigureWidget(w_r.Bb)};var _FeedView=w_r;_FeedView._setConfigurationOptions=w_r.setConfigurationOptions;function w_T(a){this.a=a;this.e=a.j()}w_T.prototype.d=function(){return"Gadget"};w_T.prototype.b=function(){return this.a};w_T.prototype.c=function(a,b){this.a.g(b)};var _GadgetView=w_T;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -