Skip to content

Commit

Permalink
Release 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zolrath committed Jan 4, 2024
1 parent ade14df commit db2072f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,3 @@ In order to paste the URL ensure you perform the `Tap and Hold -> Paste` action
#### Gboard
Google's [Gboard](https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin&hl=en_US&gl=US) keyboard has a Clipboard helper shortcut above the keyboard to quickly paste.
Due to the implementation of that feature, it does not trigger the `paste` event, preventing this plugin from interacting with the text.

### Privacy Note
In order to retrieve the title this plugin downloads the page located at the pasted URL and extracts the title.

`<head><title>Title</title></head>`

On Desktop machines this happens using electrons `BrowserWindow`, allowing it to handle extended character sets such as Chinese with no issue.

However, on mobile as we are not using the electron platform we must simply `fetch` the page.
Due to CORS restrictions on web servers disallowing direct `fetch`es it uses the [allorigins.win](https://allorigins.win) proxy to download the page. This proxy does not support other character sets and will return them as question marks.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-auto-link-title",
"name": "Auto Link Title",
"version": "1.4.1",
"version": "1.5.0",
"minAppVersion": "0.12.17",
"description": "This plugin automatically fetches the titles of links from the web",
"author": "Matt Furden",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-auto-link-title",
"version": "1.4.1",
"version": "1.5.0",
"description": "Automatically fetches the titles of links from the web and formats link when pasted",
"main": "main.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"1.5.0": "0.12.17",
"1.4.1": "0.12.17",
"1.4.0": "0.12.17",
"1.3.0": "0.12.17",
Expand Down

0 comments on commit db2072f

Please sign in to comment.