Ceisteanna leis an gclib seo á dtaispeáint: Taispeáin gach ceist
  • Réitithe
  • Cartlannaithe

How do I remove "synced tabs" from history menu?

After the latest update, "synced tabs" suddenly appeared in my history menu above Recently Closed Tabs. I don't use syncing of any sort so this is just a nuisance. How ca… (tuilleadh eolais)

After the latest update, "synced tabs" suddenly appeared in my history menu above Recently Closed Tabs. I don't use syncing of any sort so this is just a nuisance. How can I get rid of it?

Asked by cfcentaurea 11 mí ó shin

Answered by cor-el 11 mí ó shin

  • Cartlannaithe

Firefox can’t establish a websocket connection to the server

Hi, I am working on websocket with javascript and php. Let me share my code here: index.php is: <!DOCTYPE html> <html> <head> <… (tuilleadh eolais)

Hi, I am working on websocket with javascript and php. Let me share my code here:

index.php is:

    <!DOCTYPE html>
    <html>
    <head>
      <title>WebSocket Chat</title>
        <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' cstechnologyindia.com:8080">

    </head>
    <body>
      <b>WebSocket Chat</b>
      <div id="chatBox"></div>
      <input type="text" id="messageInput" placeholder="Type your message..." />
      <button id="sendButton">Send</button>

      <script>
        const socket = new WebSocket('wss://cstechnologyindia.com/websocket1');

        // Function to save message on the server
        function saveMessage(message) {
          const xhr = new XMLHttpRequest();
          xhr.open('POST', 'save-message.php');
          xhr.setRequestHeader('Content-Type', 'application/json');
          xhr.send(JSON.stringify({ message: message }));
        }

        // Function to fetch messages from the server
        function fetchMessages() {
          const xhr = new XMLHttpRequest();
          xhr.open('GET', 'fetch-messages.php');
          xhr.onreadystatechange = function() {
            if (xhr.readyState === XMLHttpRequest.DONE) {
              if (xhr.status === 200) {
                const messages = JSON.parse(xhr.responseText);
                const chatBox = document.getElementById('chatBox');
                messages.forEach(function(message) {
                  const messageElement = document.createElement('div');
                  messageElement.textContent = message.fname;
                  chatBox.appendChild(messageElement);
                });
              } else {
                console.log('Error fetching messages:', xhr.status);
              }
            }
          };
          xhr.send();
        }

        // Event listener for receiving messages from the server
        socket.addEventListener('message', function(event) {
          const message = event.data;
          const chatBox = document.getElementById('chatBox');
          const messageElement = document.createElement('div');
          messageElement.textContent = message;
          chatBox.appendChild(messageElement);
        });

        const sendButton = document.getElementById('sendButton');
        sendButton.addEventListener('click', function() {
          const messageInput = document.getElementById('messageInput');
          const message = messageInput.value;
          socket.send(message);
          messageInput.value = '';

          // Save the sent message on the server
          saveMessage(message);
        });

        // Fetch messages when the page loads
        fetchMessages();
      </script>
    </body>
    </html>


server.php is:

    <?php
    require 'vendor/autoload.php';

    use Ratchet\MessageComponentInterface;
    use Ratchet\ConnectionInterface;
    use Ratchet\Server\IoServer;
    use Ratchet\Http\HttpServer;
    use Ratchet\WebSocket\WsServer;
    use Symfony\Component\HttpFoundation\Request;

    class Chat implements MessageComponentInterface {
      protected $clients;

      public function __construct() {
        $this->clients = new \SplObjectStorage;
      }

    public function onOpen(ConnectionInterface $conn) {
        $request = $conn->httpRequest;

        // Handle the WebSocket handshake here
        // You can perform any necessary checks or validation before accepting the connection

         // Example: Check if the WebSocket upgrade header is present
        if (!$request->hasHeader('Upgrade') || strtolower($request->getHeader('Upgrade')[0]) !== 'websocket') {
            // Close the connection if the Upgrade header is missing or incorrect
            $conn->close();
            return;
        }
         // Example: Check if the request contains the expected WebSocket version
         if (!$request->hasHeader('Sec-WebSocket-Version') || $request->getHeader('Sec-WebSocket-Version')[0] !== '13') {
            // Close the connection if the WebSocket version is not supported
            $conn->close();
            return;
         }
         // Example: Check other necessary conditions
         // Store the connection
         $this->clients->attach($conn);
       }
      public function onMessage(ConnectionInterface $from, $msg) {
        $message = htmlspecialchars($msg);
        foreach ($this->clients as $client) {
          $client->send($message);
        }
       }
      public function onClose(ConnectionInterface $conn) {
        $this->clients->detach($conn);
      }
      public function onError(ConnectionInterface $conn, \Exception $e) {
        echo "An error has occurred: {$e->getMessage()}\n";
        $conn->close();
      }
     }
     $chat = new Chat;
     $server = IoServer::factory(
      new HttpServer(
        new WsServer($chat)
      ),
      8080
    );
    $server->run();

The websocket is working all the browser except only firefox. It gives error: Firefox can’t establish a connection to the server at wss://cstechnologyindia.com/websocket1.

I am trying to solve it from past 2 days. I'm using a shared hosting. The hosting provider is saying that everything is perfect from our side. Now I'm hopeless. Please solve my problem anyone. Please check added image. Also I've valid https certificate. Please check attached image.

Asked by vinubangs 11 mí ó shin

Last reply by vinubangs 11 mí ó shin

  • Cartlannaithe

clear cache add on

if i have the "clear cache" addon: and i have 2 browser instances open, when i clear the cache, does it clear both instances or just the one whose button i clicked ?… (tuilleadh eolais)

if i have the "clear cache" addon: and i have 2 browser instances open, when i clear the cache, does it clear both instances or just the one whose button i clicked ?

Asked by jimmyolson2064 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Cartlannaithe

Certain websites black screened.

Hello! About two weeks ago I opened up Firefox, and found that certain - well most - websites got switched to a very dark mode that broke the website. Websites like Joa… (tuilleadh eolais)

Hello! About two weeks ago I opened up Firefox, and found that certain - well most - websites got switched to a very dark mode that broke the website. Websites like Joann had all the background as black and when searching I could only see what was brought up when I moused over the option. The Chell in the Rain website is completely black when part of the appeal is the artwork. Youtube? Black. Libby? Black. Accuweather? Black. Google Docs... that's actually fine.

I don't mind dark mode, but it's broken how several of these websites work.

Asked by Mina 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Cartlannaithe

eliminate 3rd line of address bar

at the very top of firefox browser are 3 rows...the highest row is the list of open tabs.....the middle row is the address bar itself with various icons....the lowest row… (tuilleadh eolais)

at the very top of firefox browser are 3 rows...the highest row is the list of open tabs.....the middle row is the address bar itself with various icons....the lowest row which is the third row begins with 'import bookmarks' 'getting started' and then various website suggestions.

that 3rd row takes up space and has no useful functionality for me .....i've tried changing the settings but i can't alter it... is there a harmless way to eliminate that third row? thanks

Asked by wdobni 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Cartlannaithe

Search Shortucts not working: "*", "%", "^"

Hello, I'm trying to use the, "*", "%", "^", in my browser bar. What exactly do these do? After entering the shortcut I get a "Tab" or "History" button that shows up in … (tuilleadh eolais)

Hello,

I'm trying to use the, "*", "%", "^", in my browser bar. What exactly do these do? After entering the shortcut I get a "Tab" or "History" button that shows up in the search bar and then after hitting enter nothing happens. Isn't this feature suppose to search inside all my open tabs and my History? Nothing happens after I hit enter.

Thank you.

Asked by max139 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Cartlannaithe

"No secure connection"-message on almost every page I want to go

Dear Mozilla Team, I have severe difficulties with my Windows computer to open many websites I want to open, even those of banks I normally can easily enter. Do you hav… (tuilleadh eolais)

Dear Mozilla Team,

I have severe difficulties with my Windows computer to open many websites I want to open, even those of banks I normally can easily enter.

Do you have any advice for me how to fix that? I searched in the help function but found the advice to be insufficient. And I also found no way to manually change the setting for the individual pages.

Thank you very much for your help.

Annette

Asked by schmidt.annette 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Cartlannaithe

firefox incognito browser will not clear cache

I'm currently working on building a website, and while testing several of the front end parameters I'm just hitting a wall with firefox incognito's ability to clear the c… (tuilleadh eolais)

I'm currently working on building a website, and while testing several of the front end parameters I'm just hitting a wall with firefox incognito's ability to clear the cache.

After I clear the cache, it's obvious that it's worked on the regular browser, but no matter how many times I clear it, how long I wait (this has been a 2 day ordeal), or how much of the history, cookies, cache, etc that I clear, the private browser information will not clear. Closing all windows, restarting the computer doesn't work.

I've changed aspects to a form and other aspects to a particular page, and am in the middle of doing a conflict test so every one of my plugins are off so the site looks 100% different on the main browser, but the private browser is stuck in the past.

Thoughts?

Asked by The Open Market 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Réitithe
  • Cartlannaithe

Cannot see Pin to Toolbar option to add extension shortcut icon to toolbar

I have bought a new pc with Windows 11 home pre-installed and set Mozilla Firefox latest version as default browser ...the issue i am having is placing add-on extension s… (tuilleadh eolais)

I have bought a new pc with Windows 11 home pre-installed and set Mozilla Firefox latest version as default browser ...the issue i am having is placing add-on extension shortcut icons on toolbar. I installed Norton Safe Web and this installed ok and is listed in extension control panel and when i click puzzle icon Norton Safe Web is not shown under manage shortcuts nor can i see option to Pin to Toolbar. Have tried several attempts but still get nowhere.I uninstalled Mozilla Firefox...restarted pc ... did a fresh install of Mozilla Firefox without altering any settings..re-installed Norton Safe Web and still cannot see option to Pin to Toolbar.Clicking the gear icon does not help Have i missed a step somewhere ?

Asked by starbuck.jones 11 mí ó shin

Answered by starbuck.jones 11 mí ó shin

  • Cartlannaithe

Using Firefox today had trouble with online checking account Submit button grayed out, including trying to get a new Comcast account Continue button was grayed out--I need help to resolve this issue.

Basically in my online banking with chevron to login button is grayed out and won't allow me to login, including comcast account Continue button is grayed out. This is an… (tuilleadh eolais)

Basically in my online banking with chevron to login button is grayed out and won't allow me to login, including comcast account Continue button is grayed out. This is an urgent matter because I can't get comcast online application for new account completed.

Asked by mailto159 11 mí ó shin

Last reply by jscher2000 - Support Volunteer 10 mí ó shin

  • Cartlannaithe

What are the Operating Systems working Reload Matic ?

What are the Operating Systems working Reload Matic ? How does Reload Matic work with the windows 11 ? Please Send me a E-mail to [email removed by moderator]@… (tuilleadh eolais)

What are the Operating Systems working Reload Matic ? How does Reload Matic work with the windows 11 ?

Please Send me a E-mail to [email removed by moderator]@gmail.com

Thank you

Forum rules and guidelines

Asked by pganurajnalindesilva7 11 mí ó shin

Last reply by jscher2000 - Support Volunteer 11 mí ó shin

  • Cartlannaithe

all saved passwords and log in details missing after update to version 114.0.1

after Firefox updated all saved passwords and log ins are missing. I have checked and I only have one profile available. At a loss as to what to do to fix the problem. He… (tuilleadh eolais)

after Firefox updated all saved passwords and log ins are missing. I have checked and I only have one profile available. At a loss as to what to do to fix the problem. Help would be very gratefully received.

Patrick

Asked by office458 11 mí ó shin

Last reply by cor-el 11 mí ó shin

  • Cartlannaithe

Websites not loading properly on Firefox

Since the update before the most recent one, web pages of major sites are not loading properly in Firefox on Mac laptop. Cannot load Hulu, MSN News, Booking.com, but they… (tuilleadh eolais)

Since the update before the most recent one, web pages of major sites are not loading properly in Firefox on Mac laptop. Cannot load Hulu, MSN News, Booking.com, but they work fine on Chrome. I've used Firefox since its inception and I hate using Chrome, but it looks like I am going to have to, as I cannot get any response or support from Firefox. Is there any hope at all or should I just get used to Chrome? This is my second post--I attached screen shots to the first one, but no response, so I'm thinking they have no fix.

Asked by suzanne77 11 mí ó shin

Last reply by jonzn4SUSE 11 mí ó shin

  • Réitithe
  • Cartlannaithe

How to remove "Search Bookmarks" in version 114

What is the code to remove that new menu Search Bookmarks in new firefox 114? I already remove all the previous "bookmark all kind of type menu" in userchrome.css … (tuilleadh eolais)

What is the code to remove that new menu Search Bookmarks in new firefox 114?

I already remove all the previous "bookmark all kind of type menu" in userchrome.css

Asked by JS 11 mí ó shin

Answered by cor-el 11 mí ó shin

  • Cartlannaithe

Firefox very unstable, gives me prompts to close Firefox before opening new content, blocking content, etc.

After a trip on which I used several other internet connections, my Firefox has become very unstable. It is prompting me to shut down Firefox in order to open the next wi… (tuilleadh eolais)

After a trip on which I used several other internet connections, my Firefox has become very unstable. It is prompting me to shut down Firefox in order to open the next window. It is also flickering on the refresh icon. It is also blocking adult content. I have refreshed the Firefox browser but that changed nothing. I am not sure how to troubleshoot to look specifically at these problems. I am fearful of trying to delete and reinstall this program as I do not use any other online browsers and do not want to install them. Can this be troubleshooted remotely without risking malware?

Asked by mstrue1 11 mí ó shin

Last reply by cor-el 11 mí ó shin