Replies (45)

I can’t tell is a suspicious site issue because I turned off “Block Dangerous Websites” in Bravee’s settings >shilds &privacy and it worked. Now I’m looking into it. Seems like the best approach will be to set up a proxy server for the current price avoiding a third party api call. Hoping to fix this soon. Many thanks for the feedback 🤝
Using Brave? Please what system/browser are you using - if it is Brave I’m sorry it is a real issue. Looking into a solution to fix this. ✌️
Mephi's avatar
Mephi 7 months ago
Get it off CloudFlare or whatever is causing the endless cycle of captchas. Would love to give it a go.
I use cryptocompare.com api. No reason other than when I was starting to build it I could get that one to work but not the others. Also, your question just made me realize mine is not open source (I thought I had it open, but see it's set to private). I'll make it public when I get a chance. The price code looks like this though: // Fetch price data $.ajax({ url: `https://min-api.cryptocompare.com/data/price?fsym=${altcoinSelected}&tsyms=${fiatSelected},BTC`, method: "GET", dataType: "json", success: function(data) { if (data.Response === "Error") { $("#coinPrice").text("Error: Invalid symbol or API unavailable"); console.error("API Error:", data.Message); return; } currentPrice = parseFloat(data[fiatSelected]) || 0; altcoinToBtcPrice = parseFloat(data["BTC"]) || (altcoinSelected === "BTC" ? 1 : 0); $("#coinPrice").text(currentPrice.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })); coinConvert(); // Recalculate on update }, error: function(xhr, status, error) { $("#coinPrice").text("Error: Unable to fetch prices - check connection or API"); console.error("AJAX Error:", status, error, xhr.responseText); } }); }
Or maybe I misunderstood if you’re looking at sugiro.io/mybtc and tapping the amount field doesn’t bring on the default keypad on android could you please share what browser are you using. Many thanks
Just updated this Bitcoin Calculator to include Euros and GBP (if you've been using give it a hard refresh please). A few notes: - There is an API to fetch the prices from Binance. - If you're using BRAVE you might see an "error fetching price" message on the calculator dashboard because of BRAVE's default security settings. - Also, I tried to add CAD (Canadian Dollars) but apparently Binance is no longer operating in Canada due to regulatory issues so they are not serving a BTCCAD pair - Sorry Canadian friends 😟 BUT if someone has a suggestion for how to workaround this I appreciate (maybe a better free source for fetching BTC, USDT and Fiat pairs would be great). Feedback is always welcomed !!!! ✌️ 🫡