Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.
Moderators: FranklinDM, Lootyhoof
-
Kris_88
- Keeps coming back
- Posts: 933
- Joined: 2021-01-26, 11:18
Unread post
by Kris_88 » 2022-12-13, 02:25
tellu-white wrote: ↑2022-12-12, 17:20
I have modified the add-on again to fix a small bug and to remove (again) the display of the zoom for pages without zoom
Maybe it will come in handy...
Code: Select all
<?xml version="1.0"?>
<overlay id="zoomlabel_overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript"><![CDATA[
window.addEventListener("load", function(e) {
if(ZoomManager.zoomlabel_setZoomForBrowser) return;
ZoomManager.zoomlabel_setZoomForBrowser = ZoomManager.setZoomForBrowser;
ZoomManager.setZoomForBrowser = function(aBrowser, aVal) {
ZoomManager.zoomlabel_setZoomForBrowser(aBrowser, aVal);
UpdateLabel();
};
gBrowser.addEventListener("ZoomChangeUsingMouseWheel", function() {
UpdateLabel();
});
gBrowser.addProgressListener({ onLocationChange: function() {
UpdateLabel();
}});
function UpdateLabel() {
try {
var label = document.getElementById('zoomlabel_id1');
if(label) {
var zoom = ZoomManager.getZoomForBrowser(gBrowser.selectedBrowser);
label.value = Math.round(zoom*100) + '%';
// label.style.display = (zoom == 1) ? 'none' : 'initial';
};
} catch(e) {};
};
}, false);
]]></script>
<toolbaritem id="zoom-controls">
<label id="zoomlabel_id1" value="100%" insertbefore="zoom-in-button"
style="padding-top:6px; font-size:13px;"
/>
</toolbaritem>
</overlay>
-
00Septimus
- Apollo supporter
- Posts: 38
- Joined: 2022-03-22, 14:22
- Location: DE
Unread post
by 00Septimus » 2022-12-13, 10:43
tellu-white wrote: ↑2022-12-12, 17:20
...I have modified the add-on again to fix a small bug and to remove (again) the display of the zoom for pages without zoom (i.e. those with zoom=100%)...
Thanks for this helpful add-on.
What I particularly like is that it only shows up when a page has been zoomed in or out. And since it shows up in the url bar, you can see the zoom level right away. The additional reset option with a mouse click is also nice.
Regarding downloading from mediafire: the first time I downloaded this add-on I was using a computer that didn't have Pale Moon installed, with Edge browser. Maybe my troubles with the download were because of that - Edge probably allows all sorts of scripts to display ads. After I installed Pale Moon on this PC as well, the download went straight away without any problems and the antivirus program stayed quiet too.
Maybe I had confused mediafire with another file hoster or search engine in my memory. In any case, virustotal.com and my AV program have nothing to complain about at mediefire.com - the one message that came up when downloading with Edge probably concerned an advertiser or the anti-robot query.
I get my contributions translated online into English
If the impression arises that I babble drunk nonsense - that was not me.
Please beat up the translator
-
00Septimus
- Apollo supporter
- Posts: 38
- Joined: 2022-03-22, 14:22
- Location: DE
Unread post
by 00Septimus » 2022-12-18, 02:06
tellu-white wrote: ↑2022-12-13, 20:15
Display Page Zoom in URL Bar v2.2 ...
Similar Add-on:
On the Pale Moon Add-on page I found a new add-on that does pretty much the same thing as yours: Zoom Label
Is it from you or someone else
I get my contributions translated online into English
If the impression arises that I babble drunk nonsense - that was not me.
Please beat up the translator
-
00Septimus
- Apollo supporter
- Posts: 38
- Joined: 2022-03-22, 14:22
- Location: DE
Unread post
by 00Septimus » 2022-12-18, 02:28
Kris_88 wrote: ↑2022-12-18, 02:13
It's mine.
Nice
Diversity and competition can liven up the add-on landscape.
I get my contributions translated online into English
If the impression arises that I babble drunk nonsense - that was not me.
Please beat up the translator
-
Kris_88
- Keeps coming back
- Posts: 933
- Joined: 2021-01-26, 11:18
Unread post
by Kris_88 » 2022-12-18, 02:35
Actually, I did not try to compete.
I made this add-on for myself, and then posted it, since it is ready ...
-
00Septimus
- Apollo supporter
- Posts: 38
- Joined: 2022-03-22, 14:22
- Location: DE
Unread post
by 00Septimus » 2022-12-18, 02:45
Kris_88 wrote: ↑2022-12-18, 02:35
Actually, I did not try to compete.
I made this add-on for myself, and then posted it, since it is ready ...
Off-topic:This is called peaceful coexistence, isn't it ?
Last edited by
00Septimus on 2022-12-18, 02:52, edited 1 time in total.
I get my contributions translated online into English
If the impression arises that I babble drunk nonsense - that was not me.
Please beat up the translator
-
somdcomputerguy
- Lunatic
- Posts: 381
- Joined: 2014-02-23, 17:25
- Location: Greenbrier County, West Virginia
-
Contact:
Unread post
by somdcomputerguy » 2022-12-18, 03:27
Kris_88 wrote: ↑2022-12-18, 02:35
Actually, I did not try to compete.
I made this add-on for myself, and then posted it, since it is ready ...
I use the other add on. I'm aware of its 'quirk' and since it doesn't affect me I have no reason to replace it with this one. I think it's one of the greatest things though that an alternative is readily available to those that need it.
-bruce /*
somdcomputerguy.com */
'If you change the way you look at things, the things you look at change.'
-
tellu-white
- Moon lover
- Posts: 83
- Joined: 2022-03-08, 22:02
Unread post
by tellu-white » 2022-12-18, 20:57
somdcomputerguy wrote: ↑2022-12-18, 03:27
I think it's one of the greatest things though that an alternative is readily available to those that need it.
Kris_88 wrote: ↑2022-12-18, 02:35
Actually, I did not try to compete.
I made this add-on for myself, and then posted it, since it is ready ...
00Septimus wrote: ↑2022-12-18, 02:45
This is called peaceful coexistence
Here's another alternative (another "peaceful coexistence"
), "available to those that need it": I made an add-on that completely replaces the "zoom out" and "zoom in" buttons in Pale Moon with
new buttons that flank a
label which displays the
zoom of the active page (in percent). In addition, by
right-clicking on this label you can toggle the
options:
1. Toggle "Full-Page / Text-Only" Zoom
2. Toggle Enable / Disable "Site-Specific" Zoom
This add-on installs automatically to the end of "Menu Bar".
Screenshots:
1. "Tooltiptext" label:
- 01.png (18.31 KiB) Viewed 1161 times
2. Options (Right-Click):
- 02.png (14.73 KiB) Viewed 1161 times
*****
Zoom Controls with Label v1.0 download link:
https://www.mediafire.com/file/peehrdd55qcm3k1/zoom_controls_with_label_v1_0.zip/file
-
Uppity
- Moon lover
- Posts: 84
- Joined: 2014-04-23, 20:50
- Location: ussa
Unread post
by Uppity » 2022-12-21, 02:16
Where does this file go? It does not seem to work.
I extracted it to ~ PaleMoon/browser/extensions; then restarted Pale Moon, 2 times.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. Win 10 in a severely reduced partition. Linux Mint 19.2 Cinnamon
Dell Inspiron 15Z, i3, 6 GB RAM. Win 8 is gone. Linux Mint 19.2 Cinnamon
-
LAR Grizzly
- Lunatic
- Posts: 352
- Joined: 2017-08-11, 16:49
- Location: Upstate Ohio, USA
-
Contact:
Unread post
by LAR Grizzly » 2022-12-21, 03:41
Uppity wrote: ↑2022-12-21, 02:16
Where does this file go? It does not seem to work.
I extracted it to ~ PaleMoon/browser/extensions; then restarted Pale Moon, 2 times.
1. Unpack to an empty directory.
2. Open Pale Moon and go to the Add-ons manager. Tools>Add-ons
3. Click on the "gear" icon next to the "Search all add-ons" window.
4. Select "Install Add-on from file".
5. Point it to the
zoom_controls_with_label@tellu_white.xpi file in the
zoom_controls_with_label_v1_2 folder that you unpacked.
6. Follow the browser instructions to finish the installation.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.8.0esr, Thunderbird 115.8.1, and SeaMonkey 2.53.18
-
Uppity
- Moon lover
- Posts: 84
- Joined: 2014-04-23, 20:50
- Location: ussa
Unread post
by Uppity » 2022-12-21, 04:58
LAR Grizzly wrote: ↑2022-12-21, 03:41
Uppity wrote: ↑2022-12-21, 02:16
Where does this file go? It does not seem to work.
I extracted it to ~ PaleMoon/browser/extensions; then restarted Pale Moon, 2 times.
1. Unpack to an empty directory.
2. Open Pale Moon and go to the Add-ons manager. Tools>Add-ons
3. Click on the "gear" icon next to the "Search all add-ons" window.
4. Select "Install Add-on from file".
5. Point it to the
zoom_controls_with_label@tellu_white.xpi file in the
zoom_controls_with_label_v1_2 folder that you unpacked.
6. Follow the browser instructions to finish the installation.
Thanks, LAR Grizzly.
Makes me feel like an idiot because I use that sequence every time I install Linux Mint, and at other times, too.
Nice profile image.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. Win 10 in a severely reduced partition. Linux Mint 19.2 Cinnamon
Dell Inspiron 15Z, i3, 6 GB RAM. Win 8 is gone. Linux Mint 19.2 Cinnamon
-
LAR Grizzly
- Lunatic
- Posts: 352
- Joined: 2017-08-11, 16:49
- Location: Upstate Ohio, USA
-
Contact:
Unread post
by LAR Grizzly » 2022-12-21, 05:14
Uppity wrote: ↑2022-12-21, 04:58
Thanks, LAR Grizzly. Makes me feel like an idiot because I use that sequence every time I install Linux Mint, and at other times, too. Nice profile image.
You're welcome! Glad to help out a bit. More on the avatar if you're interested:
http://www.largrizzly.net/shooting.html
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.8.0esr, Thunderbird 115.8.1, and SeaMonkey 2.53.18
-
back2themoon
- Moon Magic practitioner
- Posts: 2374
- Joined: 2012-08-19, 20:32
Unread post
by back2themoon » 2022-12-23, 10:56
Thank you for Zoom Label, tellu-white.
You should probably create a new support/update thread, here:
viewforum.php?f=71
If you somehow manage to allow changing both full and text-only zoom simultaneously, it'd be a significant step closer to replacing the abandoned (?) NoSquint.