diff --git a/dist/birb.js b/dist/birb.js index 5bded46..34daeb6 100644 --- a/dist/birb.js +++ b/dist/birb.js @@ -1095,17 +1095,14 @@ this.putSaveData({}); } - /** @override */ - getFocusElementTopMargin() { - return 10; - } - /** @override */ getFocusableElements() { const elements = [ ".workspace-leaf", ".cm-callout", - ".HyperMD-codeblock-begin" + ".HyperMD-codeblock-begin", + ".status-bar", + ".mobile-navbar" ]; return super.getFocusableElements().concat(elements); } @@ -1949,7 +1946,7 @@ insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.13.27", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.27"); }, false), + new MenuItem("2025.11.13.47", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.47"); }, false), ]; const styleElement = document.createElement("style"); diff --git a/dist/extension.zip b/dist/extension.zip index 416407c..6ba092e 100644 Binary files a/dist/extension.zip and b/dist/extension.zip differ diff --git a/dist/extension/birb.js b/dist/extension/birb.js index 5bded46..34daeb6 100644 --- a/dist/extension/birb.js +++ b/dist/extension/birb.js @@ -1095,17 +1095,14 @@ this.putSaveData({}); } - /** @override */ - getFocusElementTopMargin() { - return 10; - } - /** @override */ getFocusableElements() { const elements = [ ".workspace-leaf", ".cm-callout", - ".HyperMD-codeblock-begin" + ".HyperMD-codeblock-begin", + ".status-bar", + ".mobile-navbar" ]; return super.getFocusableElements().concat(elements); } @@ -1949,7 +1946,7 @@ insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.13.27", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.27"); }, false), + new MenuItem("2025.11.13.47", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.47"); }, false), ]; const styleElement = document.createElement("style"); diff --git a/dist/extension/manifest.json b/dist/extension/manifest.json index dfa33f3..8cc1fa7 100644 --- a/dist/extension/manifest.json +++ b/dist/extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Pocket Bird", "description": "It's a pet bird in your browser, what more could you want?", - "version": "2025.11.13.27", + "version": "2025.11.13.47", "homepage_url": "https://idreesinc.com", "icons": { "48": "images/icons/transparent/48x48x1.png", diff --git a/dist/obsidian/main.js b/dist/obsidian/main.js index 4386c5f..45f7460 100644 --- a/dist/obsidian/main.js +++ b/dist/obsidian/main.js @@ -2,7 +2,7 @@ const { Plugin, Notice } = require('obsidian'); module.exports = class PocketBird extends Plugin { onload() { - console.log("Loading Pocket Bird version 2025.11.13.27..."); + console.log("Loading Pocket Bird version 2025.11.13.47..."); const OBSIDIAN_PLUGIN = this; (function () { 'use strict'; @@ -1101,17 +1101,14 @@ module.exports = class PocketBird extends Plugin { this.putSaveData({}); } - /** @override */ - getFocusElementTopMargin() { - return 10; - } - /** @override */ getFocusableElements() { const elements = [ ".workspace-leaf", ".cm-callout", - ".HyperMD-codeblock-begin" + ".HyperMD-codeblock-begin", + ".status-bar", + ".mobile-navbar" ]; return super.getFocusableElements().concat(elements); } @@ -1955,7 +1952,7 @@ module.exports = class PocketBird extends Plugin { insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.13.27", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.27"); }, false), + new MenuItem("2025.11.13.47", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.47"); }, false), ]; const styleElement = document.createElement("style"); diff --git a/dist/obsidian/manifest.json b/dist/obsidian/manifest.json index 7591d6d..326e8b8 100644 --- a/dist/obsidian/manifest.json +++ b/dist/obsidian/manifest.json @@ -1,7 +1,7 @@ { "id": "pocket-bird", "name": "Pocket Bird", - "version": "2025.11.13.27", + "version": "2025.11.13.47", "minAppVersion": "0.15.0", "description": "It's a pet bird in your Obsidian, what more could you want?", "author": "Idrees Hassan", diff --git a/dist/userscript/birb.user.js b/dist/userscript/birb.user.js index 364d825..791deb7 100644 --- a/dist/userscript/birb.user.js +++ b/dist/userscript/birb.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Pocket Bird // @namespace https://idreesinc.com -// @version 2025.11.13.27 +// @version 2025.11.13.47 // @description It's a bird that hops around your web browser, the future is here // @author Idrees // @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js @@ -1109,17 +1109,14 @@ this.putSaveData({}); } - /** @override */ - getFocusElementTopMargin() { - return 10; - } - /** @override */ getFocusableElements() { const elements = [ ".workspace-leaf", ".cm-callout", - ".HyperMD-codeblock-begin" + ".HyperMD-codeblock-begin", + ".status-bar", + ".mobile-navbar" ]; return super.getFocusableElements().concat(elements); } @@ -1963,7 +1960,7 @@ insertModal(`${birdBirb()} Mode`, message); }), new Separator(), - new MenuItem("2025.11.13.27", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.27"); }, false), + new MenuItem("2025.11.13.47", () => { alert("Thank you for using Pocket Bird! You are on version: 2025.11.13.47"); }, false), ]; const styleElement = document.createElement("style"); diff --git a/src/context.js b/src/context.js index 7e21dbc..0e875a4 100644 --- a/src/context.js +++ b/src/context.js @@ -256,17 +256,14 @@ class ObsidianContext extends Context { this.putSaveData({}); } - /** @override */ - getFocusElementTopMargin() { - return 10; - } - /** @override */ getFocusableElements() { const elements = [ ".workspace-leaf", ".cm-callout", - ".HyperMD-codeblock-begin" + ".HyperMD-codeblock-begin", + ".status-bar", + ".mobile-navbar" ]; return super.getFocusableElements().concat(elements); }