diff --git a/_data/tooltips.yml b/_data/tooltips.yml index d99d2cf..092d368 100644 --- a/_data/tooltips.yml +++ b/_data/tooltips.yml @@ -35,9 +35,11 @@ - tag: bdownload info: Download selected Open GApps package - tag: bversion - info: Detailed version information of the applications that are used for this specific platform architecture and android version + info: Buildlog with version information of the applications and libraries used during the creation of the selected package - tag: bmd5 - info: Download a md5 checksum file that can be used by the Android device's recovery to verify the integrity of the downloaded package + info: Download a md5 checksum file that can be used by the Android device's recovery to verify the integrity of the selected package +- tag: breport + info: Detailed version information of the applications used for the daily build of the selected platform architecture and android version - tag: bolder info: List all older releases for this platform architecture - tag: donatelink diff --git a/_includes/scripts.js b/_includes/scripts.js index b575ae3..a23d63d 100644 --- a/_includes/scripts.js +++ b/_includes/scripts.js @@ -15,8 +15,9 @@ window.paypal=function paypal(){gaEventOutbound('https://www.paypal.com/cgi-bin/ function redirectToFile(eventCategory,eventLabel,filename){gaEvent(eventCategory,'download',eventLabel,function(){location.assign('https://github.com/opengapps/'+arch+'/releases/download/'+packages[arch].dateTag+'/'+filename);},1000);} function redirectToUrl(targetUrl){gaEventOutbound(targetUrl,function(){var d=true;if(isApp){d=!window.open(targetUrl,'_blank');}if(d){location.assign(targetUrl);}});} function downloadSubmit(){var v=validateForm();if(v==='ok'){redirectToFile('GApps',arch+'-'+api+'-'+variant,'open_gapps-'+arch+'-'+api+'-'+variant+'-'+packages[arch].dateTag+'.zip');}} +function versionSubmit(){var v=validateForm();if(v==='ok'){redirectToFile('Version',arch+'-'+api+'-'+variant,'open_gapps-'+arch+'-'+api+'-'+variant+'-'+packages[arch].dateTag+'.versionlog.txt');}} function md5Submit(){var v=validateForm();if(v==='ok'){redirectToFile('MD5',arch+'-'+api+'-'+variant,'open_gapps-'+arch+'-'+api+'-'+variant+'-'+packages[arch].dateTag+'.zip.md5');}} -function versionSubmit(){var v=validateForm();if(v==='variant'||v==='ok'){redirectToFile('Version',arch+'-'+api,'versions-'+arch+'-'+api+'-'+packages[arch].dateTag+'.txt');}} +function reportSubmit(){var v=validateForm();if(v==='variant'||v==='ok'){redirectToFile('Report',arch+'-'+api,'sources_report-'+arch+'-'+api+'-'+packages[arch].dateTag+'.txt');}} function olderSubmit(){var v=validateForm();if(v==='api'||v==='variant'||v==='ok'){redirectToUrl('https://github.com/opengapps/'+arch+'/releases/');}} function setButtonEnable(id,enable){var el=document.getElementById(id);if(typeof el.MaterialButton==='object'){el.MaterialButton[(!!enable)?'enable':'disable']();}} function setBoxEnable(id,enable){var el=document.getElementById(id).parentElement;if(typeof el.MaterialRadio==='object'){el.MaterialRadio[(!!enable)?'enable':'disable']();}} @@ -25,7 +26,7 @@ function setAd(el,content,label){el.style.cssText='display:block !important';el. var extraAds=[];extraAds.push({name:'SEFileExplorer',titleText:'Download Solid Explorer to copy Open GApps to your mobile device',altText:'Download Solid Explorer',imgName:'se',targetUrl:'https://play.google.com/store/apps/details?id=pl.solidexplorer2&referrer=utm_source%3Dopengapps%26utm_medium%3Dbanner'}); function validateAds(){var ads=document.getElementsByClassName('adsbygoogle');var donateTextOnFirst=Math.random()<0.5;var donateTextElement=ads[donateTextOnFirst?0:1];var fallbackAdElement=ads[donateTextOnFirst?1:0];if(!donateTextElement||!fallbackAdElement){setTimeout(validateAds,500);return;}if(donateTextElement.innerHTML.trim().length===0){setAd(donateTextElement.parentElement,'