<img src="data:image/jpeg;base64,xxxxxxx" alt="inline of image" />
Metadata Consulting [dot] ca
Tuesday, July 23, 2024
How to create an inline Base64 image tag using Notepad++
Wednesday, June 19, 2024
How to Disable PWAs in Microsoft Edge/Chrome browser
How to prevent Progressive Web Apps (PWAs) from installing on your desktop.
A PWA is a web-based app created using HTML, CSS, and JavaScript that can be installed from a website like a regular desktop application. Once installed, the operating system will create a PWA shortcut and add it to Add or Remove Programs in Windows and under the /Users/<account>/Applications/ folder in macOS.
Recently these have been used to steal credentials and are unsafe.
New phishing toolkit uses PWAs to steal login credentials (bleepingcomputer.com)
In Edge, type in address bar about://flags, search for 'handling' and change the settings to match image below. All settings that required changes are now all changed to Disabled.
about://settings, search for 'application'
Change to off position as in image below.
about://settings, search for 'protocol'
Change to off position as in image below.
about://settings, search for 'apps'
Turn on Block Potentially Unwanted Apps.
Microsoft Defender SmartScreen must be enabled to turn on Block Potentially Unwanted Apps.
But note MDSS, talks to Microsoft servers, and is a privacy leak.
PWAs as URL Handlers | Capabilities | Chrome for Developers
Handle protocols in Progressive Web Apps - Microsoft Edge Developer documentation | Microsoft Learn
Tuesday, June 11, 2024
OneDrive Direct Download Link Generator for 2024 Breaking API Change
Microsoft OneDrive Direct File Download URL Maker
<iframe src="https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ" width="98" height="120" frameborder="0" scrolling="no"></iframe> see instructions below, if you don't know how. NOTE : For images there an extra step below.
https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ and populate the text-box below. To proceed click "Get Download Link" button.
4. Now, Click on Get Download Link button.
Text-box will be highlighted so you can copy the full link. To copy, right-click and choose "Copy" or simply (ctrl-c) to copy link. Note: Entire URL is automatic selected for your convenience.
1. Choose item in OneDrive and click Download button.
1a. In your browser (Edge shown), choose the download link to display downloaded history.
2. Select download item and then right-click on the downloaded item.
3. In Sub-Menu select Copy download link, that will give you a very long link. And that works!
Warning: This link only last 1 hour. Please see comments below.
- Right-click on image and select Embed. The Copy the URL to embed image now gives you direct download URL, but is super long.
So you do not need to do the above!
https://wyztwg.by.files.1drv.com/y4mucnXH4ZIfty_kXg9nYvgjHKJMw-XkCLfcBvI7ipNMNidsCjSMyNcw4cFyNlB0WKO9M-VNquASIbFp9DlTJPrjpqk2ex4GmzoVcA_2OOAp1G1ZiGK_U_UPjmfTj_hmtd41HascgLLyjTbEKJlDzXfFhyOXPngJ_ovCRPxL14pt1B0er3HaJvRxjkpru0z85Wiua9JhMP-BvbADeKnISGTqQ?width=1082&height=539&cropmode=none
Using OneDrive as a CDN
Bonus : For images, read Using OneDrive as a Content Delivery Network (CDN) plausibility post.