Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/02/2025 in all areas

  1. The contents of the updroots.sst file have been changed; the contents of the other * .sst files are unchanged.
    1 point
  2. Hide Tab Bar If Only One Tab - A UC.JS script for hiding the tab bar if only one tab is present and positioning the new tab button before the search bar As part of my JavaScript and CSS studies , I have been working on hiding the tab bar in Mypal 68 when only one tab is open in the browser, purely for practice purposes. For this endeavor, I was able to develop a number of solutions based on different methods: A purely CSS-based method (variant 1) A purely CSS-based method (variant 2) A purely JavaScript-based method using a mutation event A purely JavaScript-based method using a mutation observer (variant 1) A purely JavaScript-based method using a mutation observer (variant 2) A JavaScript-based method with embedded CSS (variant 1) A JavaScript-based method with embedded CSS (variant 2) I will present the result of my work here today in the form of method 6. Although all methods have their right to exist and conserve resources, methods 1, 2, 6 and 7 are by nature the least taxing on the processor. So, why a JavaScript-based method with embedded CSS instead of a purely CSS-based one? The answer is easy. The purely CSS-based method works fine when it comes to hiding the tab bar in Mypal 68 when only one tab exists but the new tab button is then no longer visible. If you don't need this button, the purely CSS-based method is completely sufficient. But if not, you will miss this button to quickly open new tabs. That's why I created this JavaScript-based method with embedded CSS. Alternatively, when using CSS only, the user first has to manually move the new tab button to a desired location if needed. BTW, there are different CSS code snippets available for hiding the tab bar in the World Wide Web but a lot of them do not work properly in Mypal 68.14.8b. That's why I created my own code, and this as minimal as possible. My HideTabBarIfOnlyOneTabCSS-5.0.uc.js script performs the following actions. First, it positions the new tab button before the search bar. The target position for the new tab button can of course be changed by the user and requires only minimal JavaScript knowledge. Then, it hides the tab bar if only one tab is present. Additionally, this script sets a min-height adjustable by the user for the tabs depending on the density setting currently selected. BTW, all methods have been deeply tested by me and are working in Mypal 68.14.8b. I developed them with my favoured Alice0775 script loading method but they are also working with other methods, such as the Xiaoxiaoflood script loading method. Due to the permanent changes especially regarding CSS made by Mozilla and by @feodor2 who follows their guide lines, this code will definitely break one day. When this happens, I will provide another one of my solutions which will most probably also work in future releases of Mypal 68. Of course, only if there is a recognisable interest. Here is a short animation showing my script in action: This script is aimed at users who only open a few tabs or even only use a single tab. In the latter case, more space is available for the web content when the tab bar is hidden. However, for tab hoarders or tab collectors, this script will be of no use. And here is the download link for my HideTabBarIfOnlyOneTabCSS-5.0.uc.js script: https://www.mediafire.com/file/82ex3oierj09mt1/HideTabBarIfOnlyOneTabCSS-5.0.uc.js/file BTW, my other script HideTabbarWithOneTab.uc.js from August 2024 is now obsolete. It does not work in Mypal 68.14.8b and can only be used in older releases, such as Mypal 68.14.4b. Greetings, AstroSkipper
    1 point
  3. You didn't provide any information about your previous setting of the gfx.color_management.mode pref. You only stated that you solved it by switching the pref to 0. And therefore, I can't see any propaganda from my side but in contrast to you detailed information. And TBH, I have to ask myself nothing at his point as it works for me with the default setting. So, you should rather ask yourself. And since you are so extremely polite , there will be no further help from me at this point. The sound of words makes the music. I do not have to be insulted and to waste my time for nothing.
    1 point
  4. The default value of the gfx.color_management.mode pref in New Moon 28, Serpent 52 and Mypal 68 is 2. And this works for me. No need here to set it to 0.
    1 point
  5. I don't have a crystal ball, and this is not a guessing game. If you really need help, unspecific questions or replies without any information are simply useless. Your problem page works fine in New Moon 28 and Serpent 52, which means that something is wrong on your side. Good luck finding the cause!
    1 point
  6. Mypal 68.14.8b - Tab bar with multiple lines (the number of lines can be preset by the user) which is automatically hidden if only one tab is present:
    1 point
  7. New York Autoshow COMES TO A HALT as Climate Activists splash OIL onto Electric Ford Truck during car parade. “NO ELECTRIC VEHICLES ON A DEAD PLANET” action against Electric vehicles https://www.autoshowny.com/ https://video.twimg.com/ext_tw_video/1774078145383059456/pu/vid/avc1/1280x720/48ZjsCDLmSlaqUXy.mp4
    1 point
  8. At least 3-4 members actively use MSFN as a substitute.
    1 point
  9. No problem, ask if you have any further questions.
    1 point
×
×
  • Create New...