Skip to content

Commit

Permalink
version 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
StigNygaard committed Jan 29, 2023
1 parent 0b0193b commit 528451d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion WebExtension/background/flickr_fixr.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function installHandler({reason, temporary, previousVersion}) {
switch (reason) {
case 'update':
console.log("Updated from details.previousVersion: " + previousVersion);
break; // Show onboarding when updating or not?...
// break; // Show onboarding when updating or not?...
case 'install':
// browser.runtime.openOptionsPage();
// browser.runtime.getURL()
Expand Down
2 changes: 1 addition & 1 deletion WebExtension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Flickr Fixr",
"short_name": "Flickr Fixr",
"description": "Makes Flickr almost awesome - while waiting for SmugMug to fully fix it ;-)",
"version": "1.15.1",
"version": "1.15.2",
"author": "Stig Nygaard",
"homepage_url": "https://github.com/StigNygaard/Stigs_Flickr_Fixr",
"permissions": [
Expand Down
18 changes: 9 additions & 9 deletions WebExtension/onboard/onboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
margin: -1.7em 0 -1em 1em;
padding: 0;
}
#ffo {
.ffo {
display: none;
}
@media (prefers-color-scheme: dark) {
Expand Down Expand Up @@ -53,22 +53,22 @@ <h1>Congratulations!...</h1>

<p>If you are new to Flickr Fixr, make sure to look through features on the <a href="#" class="settings">Options Page</a>.</p>

<h2>WARNING on increased <i>minimum requirements</i>!</h2>
<h2 class="ffo">WARNING on increased <i>minimum requirements</i>!</h2>

<p>Flickr Fixr will soon move to new <i title="WebExtension Manifest version 3">MV3 extension platform</i>.
<p class="ffo">Flickr Fixr will soon move to new <i title="WebExtension Manifest version 3">MV3 extension platform</i>.
A new more secure platform for browser-extensions being introduced for both Chromium and Firefox based browsers.</p>
<p>In the transition from the deprecated <abbr title="WebExtension Manifest version 2">MV2 platform</abbr> to the new
<p class="ffo">In the transition from the deprecated <abbr title="WebExtension Manifest version 2">MV2 platform</abbr> to the new
<abbr title="WebExtension Manifest version 3">MV3 platform</abbr>, I will have to raise the minimum requirement
for version of browser to use with this extension. With this version of Flickr Fixr, it has already begun. But
requirements will be further raised in future versions. If you like most, are using a "normal" and auto-updating
for version of browser to use with this extension. If you like most, are using a "normal" and auto-updating
version of <i>Firefox</i> or Chromium (<i>Chrome</i>, <i>Edge</i>, <i>Opera</i>, <i>Brave</i>, etc), you
<b>will <em>not</em></b> be affected...</p>
<p><em>But</em> if you are using a browser like for example <i><abbr title="Firefox Extended Support Release">Firefox
<p class="ffo"><em>But</em> if you are using a browser like for example <i><abbr title="Firefox Extended Support Release">Firefox
ESR</abbr></i>, <i>Tor</i> or <i>Waterfox</i>, there might be a period where you won't be able to update to the
latest versions of Flickr Fixr. This could become a problem if Flickr makes site-changes being incompatible with
current version of Flickr Fixr. If Flickr Fixr stops working for you or Flickr Fixr starts breaking Flickr
functionality, I suggest to (report it to and) look for information and advice in the Flickr Fixr thread in Flickr
Hacks forum:...</p>
Hacks forum...</p>
<p class="ffo">This version <em>might</em> be the last "MV2-version" of Flickr Fixr. But it depends on how and when things evolve. And maybe also depend on my mood 😊</p>

<h2>Help, information, feedback?...</h2>
<p>Visit the <a href="https://www.flickr.com/groups/flickrhacks/discuss/72157655601688753/" target="_blank">Flickr Fixr thread in Flickr Hacks forum</a>. I regularly watch that thread for new comments.</p>
Expand All @@ -77,7 +77,7 @@ <h2>Help, information, feedback?...</h2>

<p>/<a href="https://www.rockland.dk/" target="_blank">Stig</a></p>

<p id="ffo">PS. Also try <a href="https://addons.mozilla.org/firefox/addon/xifr/?utm_source=flickrfixr" target="_blank">xIFr, my EXIF-viewer for Firefox</a>.</p>
<p class="ffo">PS. Also try <a href="https://addons.mozilla.org/firefox/addon/xifr/?utm_source=flickrfixr" target="_blank">xIFr, my EXIF-viewer for Firefox</a>.</p>

</div>

Expand Down
6 changes: 5 additions & 1 deletion WebExtension/onboard/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ function isFirefox() {

function init() {
if (document.getElementById('verstr')) document.getElementById('verstr').textContent = browser.runtime.getManifest().version;
if (document.getElementById('ffo') && isFirefox()) document.getElementById('ffo').style.display = 'block';
if (isFirefox()) {
document.querySelectorAll('.ffo').forEach((elm) => {
elm.style.display = 'block';
});
}
document.querySelectorAll('.settings').forEach((elm) => {
elm.addEventListener('click', () => browser.runtime.openOptionsPage())
});
Expand Down

0 comments on commit 528451d

Please sign in to comment.