您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name eToro - addon // @namespace http://tampermonkey.net/ // @version 0.22 // @description try to take over the world! // @author You // @match https://www.etoro.com/* // @grant none // ==/UserScript== // By MbNeo (function() { 'use strict'; setInterval(function(){ if($(".head-info-stats-value").length>0){ document.title = $(".head-info-stats-value")[0].innerText + "(" + $(".head-info-stats-change")[0].innerText.split("(")[1].replace(") ","") + ") - " + $(".user-nickname")[0].innerText + ")"; var Sell = parseFloat($("[data-etoro-automation-id='buy-sell-button-rate-value']")[0].innerText.trim()); var Buy = parseFloat($("[data-etoro-automation-id='buy-sell-button-rate-value']")[1].innerText.trim()); if($("#mb_spread").length===0){ if($("[ng-if=':: !marketCtrl.instrument.isPreview']").length>0){ $("[ng-if=':: !marketCtrl.instrument.isPreview']").append('<span id=\'mb_spread\' style=\'color: orange;\'>...</span>'); } } else { var fSpread = parseInt((Buy-Sell)*1000)/1000; var fSpreadPercent = parseInt(((fSpread/Buy)*100)*10)/10; $("#mb_spread")[0].innerHTML = "Buy= $" + Buy + " - " + "Spread= $" + fSpread + " (" + fSpreadPercent + "%)"; } } },1000); })();