more personality

This commit is contained in:
Cynthia Foxwell 2018-06-13 16:40:05 -06:00
parent 5becc9060d
commit 1e4363bf6e
2 changed files with 7 additions and 7 deletions

View file

@ -40,10 +40,10 @@ else
replacements: [
// changelog injection
{
/*{
signature: /key:"changeLog",get:function\(\){return (\w)}/g,
payload: 'key:"changeLog",get:function(){if(!$1.injected){$1.injected=1;$1.date=$1.date<=window.endpwn.changelog.date?window.endpwn.changelog.date:$1.date;$1.body=window.endpwn.changelog.body+"\\n\\n"+$1.body}return $1}'
},
},*/
// crash screen hijack
{
@ -117,14 +117,14 @@ else
};
// fetch the changelog
internal.print('retrieving changelog...');
/*internal.print('retrieving changelog...');
fetch('https://dr1ft.xyz/ep/changelog.txt?_=' + Date.now()).then(r => r.text()).then(l => {
var data = l.split(';;');
window.endpwn.changelog = {
date: data[0],
body: data[1]
};
});
});*/
// early init payload
document.addEventListener('ep-prepared', () => {
@ -166,7 +166,7 @@ else
internal.print('checking for EPAPI updates...');
// fetch the latest build of epapi
fetch('https://dr1ft.xyz/ep/epapi.js?_=' + Date.now()).then(x => x.text()).then(x => {
fetch('https://lambda.cynfoxwell.cf/epapi/epapi.js?_=' + Date.now()).then(x => x.text()).then(x => {
// check the version
if (kparse(x).version > $api.version) {