Replies: 352 comments 87 replies
-
Beta Was this translation helpful? Give feedback.
-
@jra66 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update, Aris. Now the width of the popup is limited, but the result is even worse 😁 |
Beta Was this translation helpful? Give feedback.
-
Unfortunately this browser area is way too messy to fix. I can not find a proper workaround without breaking other parts of the ui in Fx70 beta. Adopting code from Fx71 to Fx70 breaks search engine buttons context menu. You can temp. use this workaround on Fx 70 (71 does not require it), but you will lose button context menu of search engine buttons: #urlbar .search-one-offs {
display: flex !important;
}
#urlbar .search-one-offs-context-menu {
display: none !important;
} Removing the label will also offer some space: #urlbar .search-panel-one-offs-header {
display: none !important;
} EDIT |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the fixes, Aris! Now everything is fine with FX 70 beta. I don't miss the label anyway ... |
Beta Was this translation helpful? Give feedback.
-
Hi... I just update my Firefox from 66 to 69. Thanks for maintaining this plugin.. :D I had a few problems when updating to 69, on 66 I used method 1 to customize through JS, Maybe Mozilla already drops XBL support? Now I'm using method 3 and it's working. Another thing, I don't know if this should be on CSS or JS thread because I manipulate it using JS. Please take a look on the screenshot Can you cut the long text as shown with arrow earlier so it doesn't obstruck the icons on the right? Thanks! EDIT |
Beta Was this translation helpful? Give feedback.
-
Are you using the latest file? If yes, try to change the values here: Increase 50px to 80px. |
Beta Was this translation helpful? Give feedback.
-
Hi @Aris-t2 To be specific I'm interested in the fix of the search icon that sometimes doesn't change during restarts |
Beta Was this translation helpful? Give feedback.
-
Suggestion: add the "Unlock custom CSS usage in Firefox 69 and newer about:config > toolkit.legacyUserProfileCustomizations.stylesheets > true" from CustomCSS readme to this project readme too, at least for method 1 (didn't check the others). note: if you saw it, yeah I first posted this in the wrong place |
Beta Was this translation helpful? Give feedback.
-
Hi @Aris-t2
Could you please share your thoughts on the topic and maybe (if the whole deal is reasonable) look whether it is possible to make a script for a separate toolbar button to execute that "Verify Integrity" command from about:support? |
Beta Was this translation helpful? Give feedback.
-
Reducing size of huge database files might speedup browser start, not I'm not sure, if this will be a noticeable speedup. Haven't looked much into creating a button, but this code is used inside aboutSupport.js ChromeUtils.defineModuleGetter(
this,
"PlacesDBUtils",
"resource://gre/modules/PlacesDBUtils.jsm"
);
button = $("verify-place-integrity-button");
if (button) {
button.addEventListener("click", function(event) {
PlacesDBUtils.checkAndFixDatabase().then(tasksStatusMap => {
let logs = [];
for (let [key, value] of tasksStatusMap) {
logs.push(`> Task: ${key}`);
let prefix = value.succeeded ? "+ " : "- ";
logs = logs.concat(value.logs.map(m => `${prefix}${m}`));
}
$("verify-place-result").style.display = "block";
$("verify-place-result").classList.remove("no-copy");
$("verify-place-result").textContent = logs.join("\n");
});
});
} Most likely importing |
Beta Was this translation helpful? Give feedback.
-
I'm on the latest release for Firefox and am currently in use of the 1st method for custom JS. Is there a known roadmap for dropping XBL support? I don't like waiting for the rug to be pulled from under. |
Beta Was this translation helpful? Give feedback.
-
Nothing I heard of yet, but there always might be a Bugzilla thread/bug tracing such changes. |
Beta Was this translation helpful? Give feedback.
-
In the past, I tried in var sheet2 = 'file:///' +
Components.classes["@mozilla.org/file/directory_service;1"].getService( Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path.replace(/\134/g,'/') +
'/chrome/image/tab_favicon_sheet.png'; The code to convert the calculated profile path from using \ to using / was very annoying to find, but like that, it worked as I wanted it. |
Beta Was this translation helpful? Give feedback.
-
@Aris-t2 Followup: 68esr needs menu.svg (hamburger icon) for script to work. Followup_2: There seems to be a conflict with this js & and a file used by userChrome.css of CustomCSSfor FX. If the icon is moved to the tabs bar, the running fox icon does not show. Switch to menu.svg. |
Beta Was this translation helpful? Give feedback.
-
In case someone is interested in , there is a js called "tab protect". Very useful if you want to make a tab "un-closable" and avoid closing it accidentally. |
Beta Was this translation helpful? Give feedback.
-
Hi, a user in the camp-firefox forum experienced a strange problem. When using toolbar user scripts and opening a new window the addons button (puzzle icon) disappears. This relates to the addonbar_vertical script as well. It doesn't matter whether the window is a normal or a private one. |
Beta Was this translation helpful? Give feedback.
-
I tried to use the scripts on Firefox 120 and it doesn't appear like anything happened. I added the config files needed into /usr/lib/firefox (I'm on Arch) and added the userChrome.js file and the scripts I want, edited userChrome.js so they're loaded, and nothing. |
Beta Was this translation helpful? Give feedback.
-
I updated my branch: https://github.com/BoomerangAide/CustomJSforFx/tree/master |
Beta Was this translation helpful? Give feedback.
-
As Sören (@cadeyrn) pointed out recently, several methods from |
Beta Was this translation helpful? Give feedback.
-
@Aris-t2 |
Beta Was this translation helpful? Give feedback.
-
The three addonbar scripts need an update: In their CSS parts they make use of It is strange that in addonbar.uc.js this does not work for me (confer line 90), but in addonbar_vertical.uc.js it does (with its slightly different id, of course): :root[lwtheme] #main-window[lwtheme-image='true'] #addonbar {
background-image: var(--lwt-header-image) !important;
background-position: 0vw 50vh !important;
} I made it easy for me and merged it with the preceding rule (line 87): :root[lwtheme] #addonbar {
background-color: var(--lwt-accent-color) !important;
background-image: var(--lwt-header-image) !important;
background-position: 0vw 50vh !important;
} |
Beta Was this translation helpful? Give feedback.
-
"Favicon in urlbar" doesn't succeed in displaying any images with local URLs. How's it made possible? |
Beta Was this translation helpful? Give feedback.
-
On 128 hit enter on empty search bar won't open the search engine site but does nothing. |
Beta Was this translation helpful? Give feedback.
-
Downloads indicator can be improved in ESR-115. The remaining time in the indicator was so useful! |
Beta Was this translation helpful? Give feedback.
-
Hi @Aris-t2 If this is way too complicated, maybe it is possible to clone this button with possibility to define Left- and Middle- mouse click to toggle Sidebar and Bookmark Toolbar accordingly... Thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
Hello Aris, I have an advance information to script tabstoolbar_below_navigation_toolbar.uc.js. With the today's nightly, Fx 133, this script doesn't work correctly any more. The solution is: Remove one of the parentNode in line 6. Otherwise you will see a big area with the background of the tab bar only. Fx 131 and Fx 132 are not affected. |
Beta Was this translation helpful? Give feedback.
-
Hi, is it possible to build a load progress bar that appears beneath the urlbar? Please help me with it if it is. |
Beta Was this translation helpful? Give feedback.
-
Hello! @Aris-t2 can you please make a script like Unload Tab from Context Menu, please make sure to put it below new tab or private would be awesome, Thanks a lot :)
|
Beta Was this translation helpful? Give feedback.
-
Aris, I recently noticed that Alice updated most if not all of their scripts for Fx 135 – cf. directory 135 at Alice’s repository – with reason Today in Camp Firefox this question came: Div. Skripte funktionieren im aktuellem Nightly nicht mehr (German as always). Note Sören’s (@cadeyrn) answer #4. Several of your scripts are affected by this, too. Update: Sören, 10 Januar 2025:
I do not know, how this relates to #125, so I decided in writíng this here. Edit:
I do not know, whether there is change planned for Thunderbird, but would not be surprised, so at least this script in
|
Beta Was this translation helpful? Give feedback.
-
Lets discuss everything related to JavaScript here instead of opening new threads for questions or request.
Continued from #4
Custom scripts
https://github.com/Aris-t2/CustomJSforFx/tree/master/scripts
Other custom script collections
- by ardiman
- by Endor8
Beta Was this translation helpful? Give feedback.
All reactions