Showing questions tagged: Show all questions

Need to hide "Browser is under remote control (Reason: Marionette)"

I am in need to develop Visual Studio Desktop Application for Windows, and open 1 website in InPrivate or incognito mode, that is achieve for Edge and Chrome browser and … (read more)

I am in need to develop Visual Studio Desktop Application for Windows, and open 1 website in InPrivate or incognito mode, that is achieve for Edge and Chrome browser and able to hide "Browser is under remote control", but can't able to figure out parameter or settings to do that for Firefox browser.

I am using Firefox 128.0 (64-bit) and Selenium WebDriver 4.22.0, Selenium.WebDriver.GeckoDriver 0.34.0.

I opened https://github.com/mozilla/geckodriver/issues/2186, and thought that, maybe there is any settings of Mozilla Firefox (about:profile), so ask here also.

Need your expert advice.

Regards,

Kamal Kiri

Asked by Kamal Kiri 1 month ago

Automatically download and save URL to File (like open Website in Firefox and save it there) - Java must work -

Hi I need to download Websites automatically via Batch exaktly like the Browser would save them via Strg+S. I used curl to do that and it worked fine for many years but… (read more)

Hi

I need to download Websites automatically via Batch exaktly like the Browser would save them via Strg+S.

I used curl to do that and it worked fine for many years but now the Source-Website has changed and so curl is no longer able to get the content. The problem is that the URL / Website that the Browser downloads does not contain the information. This is loaded later by a java script.

So when I open the URL in the Browser and look at the Source-Code I can see something like

 <script src="/example.js"></script>


When I press Strg+S to save the website the whole site is saved, because the java script was executed by the Browser. Curl does not process java so it saves only the source code with the "<script src="/example.js"></script>"

Question is: How can I download the URL directly with the Java Script executed so that the informaion is included too ?

I hope anybody can answer that.

Thank you.

Asked by nicommander 1 month ago

Change History Preferences in Firefox 127.0.2

I have the same question as the OP in this post from a few years ago: [https://support.mozilla.org/en-US/que.../1265898#answer-1241526]. I am currently finding that th… (read more)

I have the same question as the OP in this post from a few years ago: [https://support.mozilla.org/en-US/que.../1265898#answer-1241526].

I am currently finding that the address bar history search using caret "^", does not always list all the webpages that I have visited, especially if I found the page using the search bar within the site. Is there a way to enable Form and Search History in the most recent versions of Firefox as described in the previous post?

Asked by Wayne Ho 2 months ago

Want to download PDF documents into Google Drive

Using Firefox, I would like to download PDF documents that are online directly to a Google Drive folder. Is that possible with Firefox? Thanks in advance for a response! … (read more)

Using Firefox, I would like to download PDF documents that are online directly to a Google Drive folder. Is that possible with Firefox? Thanks in advance for a response!

Asked by mitch32 1 month ago

CLOSE TAB in content area context menu.

I have previously been able to include the tab 'Close Tab' item in the #contentAreaContextMenu by adding it to browser.xhtml. This no longer works even though 'Reopen Clo… (read more)

I have previously been able to include the tab 'Close Tab' item in the #contentAreaContextMenu by adding it to browser.xhtml. This no longer works even though 'Reopen Closed Tab' and 'New Tab' still do.

     <menuitem id="toolbar-context-openANewTab"
               command="cmd_newNavigatorTab"
               data-l10n-id="toolbar-context-menu-new-tab"/>
     <menuitem id="context_closeTab"
               label="Close Tab"
               data-lazy-l10n-id="tab-context-close-n-tabs"
               data-l10n-args='{"tabCount": 1}'/>
     <menuitem id="context_undoCloseTab"
               label="Reopen Closed Tab"
               data-l10n-id="tab-context-reopen-closed-tabs"
               data-l10n-args='{"tabCount": 1}'
               observes="History:UndoCloseTab"/>


I was previously using the following which no longer works either.

     <menuitem id="context_closeTab"
               label="Close Tab"
               oncommand="BrowserCloseTabOrWindow(event);"/>

Asked by deanone 1 month ago

Bluetooth headphones support

Hello, I have recently downloaded Firefox, and my first impressions have been great, but whilst listening to music on YouTube, I am unable to skip tracks using my Bluetoo… (read more)

Hello, I have recently downloaded Firefox, and my first impressions have been great, but whilst listening to music on YouTube, I am unable to skip tracks using my Bluetooth headphones. Is this a known issue, and is there an extension I can use to resolve it? Many thanks.

Asked by Leo 2 months ago

Firefox screenshot feature: How to prevent clicking from affecting page content when taking screenshots?

Hi there, I've noticed that since a certain update (1 - 2 months ago?), when using the Firefox screenshot feature (that is, using Shift + Command/Ctrl + S), clicking on … (read more)

Hi there,

I've noticed that since a certain update (1 - 2 months ago?), when using the Firefox screenshot feature (that is, using Shift + Command/Ctrl + S), clicking on webpage still has effect on the webpage itself: After pressing Shift + Command/Ctrl + S, so that the browser enters screenshot mode, I have to click on a certain area in order to orient the screenshot camera, then click somewhere again, in order to click the "Copy" or "Download" button when the screenshot is ready. If I remember right, these two click actions wouldn't influence the webpage itself at all in older versions of Firefox, because in the screenshot mode the interaction between webpage and mouse clicks was "blocked". However, this is not the case anymore. That means, the webpage could no more look like how it looked like at the moment I wanted to take the screenshot, due to the unblocked mouse click. Even though for most static pages it's not a big deal, for many dynamic pages like online games this is absolutely annoying. Any workaround?

Asked by Lutalli 1 month ago

More upgrades apache code

Need help some one trying to make look crazy .there using there knowledge for there own evil ways.so please help thanks. … (read more)

Need help some one trying to make look crazy .there using there knowledge for there own evil ways.so please help thanks.

Asked by Douglas 1 month ago

Here's working C# source code to open and arrange 3 Firefox browsers on a 4K monitor wtih Windows

modify to suit your tastes or improve it? working now without any known issues. using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; name… (read more)

modify to suit your tastes or improve it? working now without any known issues.

using System.Diagnostics; using System.Runtime.InteropServices; using System.Text;

namespace FirefoxWindowPositioner {

   class Program {
       [DllImport("user32.dll", SetLastError = true)]
       private static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint);
       [DllImport("user32.dll", SetLastError = true)]
       private static extern bool EnumWindows(EnumWindowsProc lpEnumFunc, IntPtr lParam);
       [DllImport("user32.dll", SetLastError = true)]
       private static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId);
       [DllImport("user32.dll")]
       [return: MarshalAs(UnmanagedType.Bool)]
       private static extern bool IsWindowVisible(IntPtr hWnd);
       [DllImport("user32.dll", SetLastError = true)]
       private static extern IntPtr GetWindow(IntPtr hWnd, uint uCmd);
       [DllImport("user32.dll", SetLastError = true)]
       private static extern int GetWindowText(IntPtr hWnd, StringBuilder lpString, int nMaxCount);
       [DllImport("user32.dll", SetLastError = true)]
       private static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);
       private const uint GW_OWNER = 4;
       private const int MaxRetries = 100;
       private const int SleepTime = 200;
       private const string ClassNameToFind = "MozillaWindowClass";
       private delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
       private static IntPtr foundWindowHandle = IntPtr.Zero;
       private static bool EnumWindowsCallback(IntPtr hWnd, IntPtr lParam) {
           uint processId;
           GetWindowThreadProcessId(hWnd, out processId);
           if (IsWindowVisible(hWnd) && GetWindow(hWnd, GW_OWNER) == IntPtr.Zero) {
               StringBuilder className = new StringBuilder(256);
               GetClassName(hWnd, className, className.Capacity);
               if (className.ToString() == ClassNameToFind) {
                   foundWindowHandle = hWnd;
                   Console.WriteLine($"Found window handle {hWnd} for process ID {processId}");
                   return false; // Stop enumerating windows once the desired window is found
               }
           }
           return true; // Continue enumerating windows
       }
       static void Main(string[] args) {
           string path = @"C:\Program Files\Mozilla Firefox\firefox.exe";
           // Define positions and sizes
           int[,] positions = new int[,]
           {
               {0, 0, 1284, 2120},
               {1280, 0, 1284, 2120},
               {2560, 0, 1284, 2120}
           };
           int initialDelay = 750; // Initial delay in milliseconds, 1000 worked
           int retryDelay = 200; // Delay between retries in milliseconds
           // Start three Firefox processes sequentially and move them to specified positions
           for (int i = 0; i < 3; i++) {
               Process firefoxProcess = Process.Start(path);
               Thread.Sleep(initialDelay); // Wait for the process to initialize
               foundWindowHandle = IntPtr.Zero;
               int retries = 0;
               while (foundWindowHandle == IntPtr.Zero && retries < MaxRetries) {
                   EnumWindows(EnumWindowsCallback, IntPtr.Zero);
                   if (foundWindowHandle == IntPtr.Zero) {
                       Thread.Sleep(retryDelay); // Wait before retrying
                       retries++;
                   }
               }
               if (foundWindowHandle != IntPtr.Zero) {
                   bool success = MoveWindow(foundWindowHandle, positions[i, 0], positions[i, 1], positions[i, 2], positions[i, 3], true);
                   if (success) {
                       Console.WriteLine($"Moved window {i + 1} to X: {positions[i, 0]}, Y: {positions[i, 1]}, Width: {positions[i, 2]}, Height: {positions[i, 3]}");
                   } else {
                       Console.WriteLine($"Failed to move window {i + 1}");
                   }
               } else {
                   Console.WriteLine($"Failed to get handle for Firefox process {i + 1}");
               }
           }
       }
   }

}

Asked by FireFoxCustomWannabe 1 month ago

Webpage content from firefox cache

Hello, I was reading an article a few weeks ago, but this content was removed or moved into some other space but I need to use it once again. Is there a possibility to o… (read more)

Hello, I was reading an article a few weeks ago, but this content was removed or moved into some other space but I need to use it once again. Is there a possibility to open the same page from my firefox history / cache?

Thank you, Luk

Asked by LP 2 months ago

How to use Foxfire to minimize advertisements on the Internet

Recently I've notice a large amount of advertisements popping in most of the sites I visit on the Internet. This is particularly frustrating for sites where I pay to be … (read more)

Recently I've notice a large amount of advertisements popping in most of the sites I visit on the Internet. This is particularly frustrating for sites where I pay to be a member, like the Ney York Times. I'm not sure there is any function in Foxfire to help me with this problem, but if there is I'd like to know about it and how to use it. Thank you.

Asked by bakerrrr 2 months ago

Windows Touchpad Gestures set to media not Working

So I've recently shifted from Chrome to Firefox and there's his specific touch pad gesture I set up on windows settings and it acts like media controls, but it seem to be… (read more)

So I've recently shifted from Chrome to Firefox and there's his specific touch pad gesture I set up on windows settings and it acts like media controls, but it seem to be unresponsive. Tried it with Chrome and VLC media player and it worked normally. Tried setting about:config; media.hardwaremediakeys.enabled but its already set to true.

Asked by asmurf884 2 months ago

Over engineering

Hello and good day. I am a little lazy and i want to open firefox(one window) on my two monitors, i can do this by open firefox then open another tab, then drag to the o… (read more)

Hello and good day.

I am a little lazy and i want to open firefox(one window) on my two monitors, i can do this by open firefox then open another tab, then drag to the other monitor, but i want to know if is possible to add a command on the shortcut and do this in one go.

Note: i am using linux mint 20+.

Thanks.

Asked by Zeuz Novaterra 2 months ago

Get rid of Easy Login browser hacker

bold text My firefox browser has somehow gotten the Easy Login browser hacker, and it is causing me numerous problems including; A. It's icon is blocking part of my fire… (read more)

bold text My firefox browser has somehow gotten the Easy Login browser hacker, and it is causing me numerous problems including; A. It's icon is blocking part of my firefox screen; B. When I seek to go to an address, it opens a different address...

Asked by giilll 2 months ago