Update application.js

This commit is contained in:
Idrees Hassan
2026-03-30 06:35:29 -07:00
parent eab6086f4d
commit 2f3d7958ea
9 changed files with 9 additions and 21 deletions

BIN
dist/extension.zip vendored

Binary file not shown.

View File

@@ -2656,7 +2656,7 @@
}), }),
new Separator(), new Separator(),
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
new MenuItem("2026.3.29", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.29"); }, false), new MenuItem("2026.3.30", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.30"); }, false),
]; ];
/** @type {Birb} */ /** @type {Birb} */
@@ -2847,8 +2847,6 @@
setInterval(update, UPDATE_INTERVAL); setInterval(update, UPDATE_INTERVAL);
flyToElement(true); flyToElement(true);
// TODO: Remove
insertFieldGuide();
} }
function update() { function update() {

View File

@@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "Pocket Bird", "name": "Pocket Bird",
"description": "It's a pet bird in your browser, what more could you want?", "description": "It's a pet bird in your browser, what more could you want?",
"version": "2026.3.29", "version": "2026.3.30",
"homepage_url": "https://idreesinc.com", "homepage_url": "https://idreesinc.com",
"icons": { "icons": {
"48": "images/icons/transparent/48x48x1.png", "48": "images/icons/transparent/48x48x1.png",

View File

@@ -1,7 +1,7 @@
const { Plugin, Notice } = require('obsidian'); const { Plugin, Notice } = require('obsidian');
module.exports = class PocketBird extends Plugin { module.exports = class PocketBird extends Plugin {
onload() { onload() {
console.log("Loading Pocket Bird version 2026.3.29..."); console.log("Loading Pocket Bird version 2026.3.30...");
const OBSIDIAN_PLUGIN = this; const OBSIDIAN_PLUGIN = this;
(function () { (function () {
'use strict'; 'use strict';
@@ -2689,7 +2689,7 @@ module.exports = class PocketBird extends Plugin {
}), }),
new Separator(), new Separator(),
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
new MenuItem("2026.3.29", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.29"); }, false), new MenuItem("2026.3.30", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.30"); }, false),
]; ];
/** @type {Birb} */ /** @type {Birb} */
@@ -2880,8 +2880,6 @@ module.exports = class PocketBird extends Plugin {
setInterval(update, UPDATE_INTERVAL); setInterval(update, UPDATE_INTERVAL);
flyToElement(true); flyToElement(true);
// TODO: Remove
insertFieldGuide();
} }
function update() { function update() {

View File

@@ -1,7 +1,7 @@
{ {
"id": "pocket-bird", "id": "pocket-bird",
"name": "Pocket Bird", "name": "Pocket Bird",
"version": "2026.3.29", "version": "2026.3.30",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "Add a pet bird to fly around your notes and keep you company!", "description": "Add a pet bird to fly around your notes and keep you company!",
"author": "Idrees Hassan", "author": "Idrees Hassan",

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Pocket Bird // @name Pocket Bird
// @namespace https://idreesinc.com // @namespace https://idreesinc.com
// @version 2026.3.29 // @version 2026.3.30
// @description It's a pet bird in your browser, what more could you want? // @description It's a pet bird in your browser, what more could you want?
// @author Idrees // @author Idrees
// @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js // @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js
@@ -2651,7 +2651,7 @@
}), }),
new Separator(), new Separator(),
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
new MenuItem("2026.3.29", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.29"); }, false), new MenuItem("2026.3.30", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.30"); }, false),
]; ];
/** @type {Birb} */ /** @type {Birb} */
@@ -2842,8 +2842,6 @@
setInterval(update, UPDATE_INTERVAL); setInterval(update, UPDATE_INTERVAL);
flyToElement(true); flyToElement(true);
// TODO: Remove
insertFieldGuide();
} }
function update() { function update() {

View File

@@ -2631,7 +2631,7 @@
}), }),
new Separator(), new Separator(),
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
new MenuItem("2026.3.29", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.29"); }, false), new MenuItem("2026.3.30", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.30"); }, false),
]; ];
/** @type {Birb} */ /** @type {Birb} */
@@ -2822,8 +2822,6 @@
setInterval(update, UPDATE_INTERVAL); setInterval(update, UPDATE_INTERVAL);
flyToElement(true); flyToElement(true);
// TODO: Remove
insertFieldGuide();
} }
function update() { function update() {

4
dist/web/birb.js vendored
View File

@@ -2631,7 +2631,7 @@
}), }),
new Separator(), new Separator(),
new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }),
new MenuItem("2026.3.29", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.29"); }, false), new MenuItem("2026.3.30", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.3.30"); }, false),
]; ];
/** @type {Birb} */ /** @type {Birb} */
@@ -2822,8 +2822,6 @@
setInterval(update, UPDATE_INTERVAL); setInterval(update, UPDATE_INTERVAL);
flyToElement(true); flyToElement(true);
// TODO: Remove
insertFieldGuide();
} }
function update() { function update() {

View File

@@ -408,8 +408,6 @@ function startApplication(birbPixels, featherPixels, hatsPixels) {
setInterval(update, UPDATE_INTERVAL); setInterval(update, UPDATE_INTERVAL);
flyToElement(true); flyToElement(true);
// TODO: Remove
insertFieldGuide();
} }
function update() { function update() {