An extension to replace every mention of a US$ amount by its equivalent in Bitcoin, using the most up-to-date exchange rate.

Latest Version

Version
0.0.2
Update
June 10, 2021
Size
47.12KiB
Developer
Category
Users
12
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

Bitcoin, Unit of Account Extension

# Bitcoin, Unit of Account
A chrome extension to replace amounts of US$ by Bitcoin.
When reading the news or shopping online you constantly see the price of things in US$ and mentions of US$ amounts spent by corporations and the government. This Chrome extension converts US$ -> bitcoin in some of the most popular online newspapers available in English, as well as Amazon and Wikipedia.

## Why?
In the discussions about cryptocurrencies one of the most prominent topics is whether Bitcoin will ever become a unit of account, in other words, will currency amounts ever be expressed in BTC, not US$?
I created this extension for fun, and to let you experience such hypothetical future where bitcoin is used as a unit of account. In no way it reflects a belief this future will happen so do not interpret it financial advice.
If you ever had the curiosity to know how would it feel reading news and shopping online with bitcoin as a unit of account, this extension is for you.

## How does it work?
When you turn on this extension, and browse an enabled website, at each webpage it will:
1. wait a few seconds, so most of the dollar amounts become available. This is especially important on online stores, as they typically make personalised recommendations for you by loading the products and prices on the fly, while you browse the website.
2. retrieve the current bitcoin price from https://api.coindesk.com/v1/bpi/currentprice/USD.json (\"powered by Coindesk\")
3. run a script that reads all dollar amounts on the page and convert them to bitcoin.

The replacement of US$ amounts by the bitcoin equivalent happens only once to avoid consuming too much resources on your browser and computer. Therefore, if the webpage is constantly refreshing the prices, you will start seeing the bitcoin amount replaced by US$ amounts again. I believe this is the right design decision as it is enough to demonstrate a concept.

You may not see dollar amounts being replaced in:
- ads
- images
- anywhere where they are not placed after a dollar identifier ($, US$, USD, etc)

## Where?
In its initial release, the extension only works on the most popular online store and newspapers.

## Examples
Let me give you 2 examples, the 1st one from a news page that originally reads:
\"Stocks mixed as June begins, oil nears $68 per barrel
AMC Entertainment Holdings plans to raise $230.5M through a share sale\"
On June 1st, 2021, this text was replaced by:
\"Stocks mixed as June begins, oil nears m₿ 1.87 per barrel
AMC Entertainment Holdings plans to raise ₿ 6,354 through a share sale\"

The 2nd example is an Amazon's deal of the day:
\"$157.50 Price: $196.99 (20% off)\"
which was replaced by:
\"m₿ 4.34 Price: m₿ 5.42 (20% off)\"

To view the original prices, you need to disable the extension and reload the page.

## Disclaimers
I'm not associated in any way with these companies and any text replacement will happen only in your browser, without their knowledge.

You won't be able to pay in bitcoins if the online store does not accept it. Even if it does accept bitcoin, this extension's calculations may differ, thus make sure you rely on the online store's own conversion rate.

## Contributions
Feel free to submit pull requests on https://github.com/fbitti/bitcoin-unit-of-account

## Contact
You may reach me out at https://twitter.com/f_bitti
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Bitcoin, Unit of Account", "version": "0.0.2", "description": "An extension to replace every mention of a US$ amount by its equivalent in Bitcoin, using the most up-to-date exchange rate.", "icons": { "16": "images/bitcoinunitofaccount16.png", "32": "images/bitcoinunitofaccount32.png", "48": "images/bitcoinunitofaccount48.png", "128": "images/bitcoinunitofaccount128.png" }, "content_scripts": [ { "matches": [ "https://www.amazon.com/*", "https://en.wikipedia.org/*", "https://*.cnn.com/*", "https://*.nytimes.com/*", "https://*.washingtonpost.com/*", "https://*.breitbart.com/*", "https://*.foxnews.com/*", "https://*.huffpost.com/*", "https://*.vice.com/*", "https://*.usatoday.com/*", "https://*.npr.org/*", "https://*.cbsnews.com/*", "https://*.usnews.com/*", "https://*.nbcnews.com/*", "https://*.politico.com/*", "https://*.theatlantic.com/*", "https://time.com/*", "https://*.newsweek.com/*", "https://abcnews.go.com/*", "https://*.reuters.com/*", "https://slate.com/*", "https://*.thedailybeast.com/*", "https://*.vox.com/*", "https://*.ijreview.com/*", "https://*.zerohedge.com/*", "https://*.latimes.com/*", "https://*.drudgereport.com/*", "https://*.chron.com/*", "https://*.msnbc.com/*", "https://qz.com/*", "https://*.nydailynews.com/*", "https://nypost.com/*", "https://*.sfgate.com/*", "https://*.salon.com/*", "https://*.dailykos.com/*", "https://*.apnews.com/*", "https://*.theblaze.com/*", "https://*.upworthy.com/*", "https://*.mic.com/*", "https://*.chicagotribune.com/*", "https://*.newyorker.com/*", "https://nymag.com/*", "https://*.dailymail.co.uk/*", "https://*.telegraph.co.uk/*", "https://*.independent.co.uk/*", "https://*.express.co.uk/*", "https://*.thesun.co.uk/*", "https://*.mirror.co.uk/*", "https://*.ft.com/*", "https://metro.co.uk/*", "https://*.newsnow.co.uk/*", "https://*.dailystar.co.uk/*", "https://*.huffingtonpost.co.uk/*", "https://*.standard.co.uk/*", "https://*.manchestereveningnews.co.uk/*", "https://*.thetimes.co.uk/*", "https://*.liverpoolecho.co.uk/*", "https://*.dailyrecord.co.uk/*", "https://*.spectator.co.uk/*", "https://*.newstatesman.com/*", "https://*.walesonline.co.uk/*", "https://*.birminghammail.co.uk/*", "https://*.scotsman.com/*", "https://*.theguardian.com/*", "https://*.chroniclelive.co.uk/*", "https://*.belfasttelegraph.co.uk/*", "https://*.theweek.co.uk/*", "https://*.lbc.co.uk/*", "https://*.heraldscotland.com/*", "https://*.thedailymash.co.uk/*", "https://*.bournemouthecho.co.uk/*" ], "js": [ "content.js" ], "run_at": "document_end" } ]}
Read more

Similar Extensions

icon

Exchange Rate Extension · Productivity 12 6 ★ 349KiB

icon

Cryptocurrency price alerts & volume tracker for Binance Extension · Productivity 12 55 ★ 764KiB

icon

Currency Exchange Rate Extension · Productivity 12 1 ★ 164KiB

icon

Monetory.Toolkit Extension · Productivity 12 10 ★ 892KiB

icon

Currency Converter Widget - Exchange Rates Extension · Productivity 12 1081 ★ 2.54MiB

icon

Bitcoin Tracker Extension · Productivity 12 2 ★ 836KiB

icon

Currency Converter Plus Extension · Productivity 12 27 ★ 1.3MiB

icon

Bitcoin Extension Extension · News & Weather 12 76 ★ 225KiB

icon

BTC Ticker Extension · Productivity 12 59 ★ 43.97KiB

icon

Speed Bitcoin Lightning Wallet Extension · Productivity 12 7 ★ 2.3MiB

icon

QuickCConverter - Quick Currency Converter Extension · Productivity 12 81 ★ 123KiB

icon

PriceTip — Currency tooltip converter Extension · Shopping 12 72 ★ 67.65KiB

icon

Universal Automatic Currency Converter Extension · Shopping 12 96 ★ 158KiB

icon

Bitcoin Price Extension Extension · Social & Communication 12 7 ★ 315KiB

icon

Cotação do Bitcoin hoje Extension · News & Weather 12 34 ★ 28.81KiB

icon

Crypto Rates Extension · Productivity 12 1 ★ 622KiB

icon

Crypto Converter Extension · Productivity 12 3 ★ 117KiB

icon

Currency Converter Extension · Productivity 12 5 ★ 463KiB

icon

Currency Exchange Extension · Productivity 12 5 ★ 22.56MiB

icon

Better CoinMarketCap Extension · Productivity 12 3 ★ 56.08KiB

icon

Forex Currency Exchange Rate Ticker Extension · Productivity 12 12 ★ 129KiB

icon

Currency Converter Extension · Productivity 12 11 ★ 451KiB

icon

Blockchair Extension · Productivity 12 17 ★ 1.55MiB

icon

Allet Extension · Productivity 12 3 ★ 336KiB