Wednesday, February 21, 2024

Secure Access

Logging into websites and apps and using credit cards online can cause issues in accessing these sites and programs.

For travellers 2FA can be an issue especially with sites and apps that use SMS to authenticate a device, because you may no longer have access to SMS messages. One solution is the 2FA key such as Yubico. It is particularly set up to use with social media sites and Google.

Yubikeys in various formats

I have had problems using credit cards overseas that require 2FA. Sometimes it is the popup that comes when making a payment by credit card. The popup asks for additional information like birth date, but I've had this fail when the popup does not return to the homepage of the service or product you are purchasing.

Tuesday, February 13, 2024

Coding

Some coding, especially for HTML as used in this blog.

Increase line spacing in bullet or number series:
<ul style="margin-bottom: 10px;">   or   <ol style="margin-bottom: 10px;">

Align text left, etc.:  style="text-align: left;"

Clear italics when forced by CSS:  style="font-style: normal;"

HTML Codes for Foreign Languages - see page here.


Code for adding a currency widget to a blogger page

In Layout go to Add a Gadget and select "HTML/Javascript". Label it "Currency" and past the following in Content:

<!-- EXCHANGERATES.ORG.UK EXCHANGE RATE CONVERTER START -->
<script type="text/javascript">   
var dcf = 'EUR';
var dct = 'CAD';
var mc = '2D6AB4';
var mbg = 'FFFFFF';
var f = 'arial';
var fs = '11';
var fc = '000000';
var tf = 'arial';
var ts = '14';
var tc = 'FFFFFF';
var tz = 'userset';

</script>
<script type="text/javascript" src="https://www.currency.me.uk/remote/ER-ERC-1.php"></script><br />
<small>Source: <a rel="nofollow" href="//www.exchangerates.org.uk" target="_new">ExchangeRates.org.uk</a></small>
<!-- EXCHANGERATES.ORG.UK  EXCHANGE RATE CONVERTER END -->

At "var dcf" and "var dct" change to the desired currency: CAD, CHF, GBP, EUR, MAD, JPY, TRY. See IBAN website for a list of all currency codes.


Code for adding a weather widget to a blogger page

To add a weather widget to a blogger page, get it from Meteored. Available in various sizes from a postage stamp sized daily high and low temp to a detailed 4-day forecast.


 
Small version Complete version

Code for adding a clock widget, either analog or digital, to a blogger page

With code from 24timezones.com you can add a clock to a blog to show the current time for cities around the world. For example the code below is for a small digital clock for the time in Vienna.

<div class="cleanslate w24tz-current-time w24tz-small" style="display: inline-block !important; visibility: hidden !important; min-width:200px !important; min-height:100px !important;"><p><a href="//24timezones.com/Vienna/time" style="text-decoration: none" class="clock24" id="tz24-1715348248-c1259-eyJob3VydHlwZSI6MTIsInNob3dkYXRlIjoiMCIsInNob3dzZWNvbmRzIjoiMCIsImNvbnRhaW5lcl9pZCI6ImNsb2NrX2Jsb2NrX2NiNjYzZTIzMTg5NDg4MSIsInR5cGUiOiJkYiIsImxhbmciOiJlbiJ9" title="Vienna local time" target="_blank" rel="nofollow">Vienna</a></p><div id="clock_block_cb663e231894881"></div></div>
<script type="text/javascript" src="//w.24timezones.com/l.js" async></script>

The text in the weblink (a href) can be changed. For example, here "Vienna" could be changed to "Time in Vienna."