mirror of
https://github.com/EndPwnArchive/endpwn3.2-lambda.git
synced 2024-08-14 23:49:56 +00:00
more personality
This commit is contained in:
parent
5becc9060d
commit
1e4363bf6e
2 changed files with 7 additions and 7 deletions
|
@ -73,7 +73,7 @@ function evaluate(str, exportsR) {
|
|||
},
|
||||
|
||||
setSigmaColor: function (color) {
|
||||
setTimeout(() => internal.setwordmark(`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="${color}" d="M0,0L13,0L13,2L3,2L8,7.5L3,13L13,13L13,15L0,15L0,13L5,7.5L0,2L0,0Z"/></svg>`), 2000);
|
||||
setTimeout(() => internal.setwordmark(`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="${color}" d="M 967.00000,288.00000 L 1003.0000,288.00000 C 1003.0000,182.66667 986.00000,106.00000 952.00000,58.000000 C 918.00000,10.000000 875.00000,-14.000000 823.00000,-14.000000 C 781.00000,-14.000000 740.66667,1.6666667 702.00000,33.000000 C 663.33333,64.333333 628.66667,149.33333 598.00000,288.00000 L 512.00000,676.00000 L 214.00000,0.00000000 L 25.000000,0.00000000 L 453.00000,922.00000 C 430.33333,1041.3333 403.00000,1129.6667 371.00000,1187.0000 C 339.00000,1244.3333 299.33333,1273.0000 252.00000,1273.0000 C 214.00000,1273.0000 181.00000,1258.6667 153.00000,1230.0000 C 125.00000,1201.3333 109.00000,1156.3333 105.00000,1095.0000 L 69.000000,1095.0000 C 71.000000,1193.0000 90.666667,1271.3333 128.00000,1330.0000 C 165.33333,1388.6667 212.00000,1418.3333 268.00000,1419.0000 C 304.00000,1419.0000 338.00000,1404.3333 370.00000,1375.0000 C 402.00000,1345.6667 430.00000,1295.0000 454.00000,1223.0000 C 478.00000,1151.0000 515.00000,1002.3333 565.00000,777.00000 L 636.00000,460.00000 C 664.66667,328.66667 694.66667,241.00000 726.00000,197.00000 C 757.33333,153.00000 795.33333,130.66667 840.00000,130.00000 C 914.66667,130.00000 957.00000,182.66667 967.00000,288.00000 z"/></svg>`), 2000);
|
||||
},
|
||||
|
||||
// document-level events (internal)
|
||||
|
@ -499,7 +499,7 @@ https://patreon.com/dr1ft`,
|
|||
|
||||
// icon by toxoid49b, tweaked by me
|
||||
if (internal.brand) {
|
||||
internal.setSigmaColor('#0ff');
|
||||
internal.setSigmaColor('#c080ff');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue