How to uninstall a firefox plugin?

2,308

As per my comment on the question, mozilla provide some instructions for manually uninstalling.

Manually uninstalling a plugin

If you can't use an uninstaller program to remove a plugin, you can remove it manually:

  1. In the Location bar, type about:config and press Enter.

    • The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
  2. Search for the preference: plugin.expose_full_path.

  3. Double-click on the plugin.expose_full_path preference in the list to change the value to true.

  4. Enter about:plugins into the Location bar to display the About Plugins page.

  5. Each entry in the About Plugins page will have "File name:" followed by a path. Use Windows Explorer to navigateNavigate to the folder shown for the plugin you want to remove.

  6. Rename the file to something other than its normal name - e.g. npswf32 becomes Xnpswf32

  7. Double-click on the plugin.expose_full_path preference in the list on the about:config page to change the value back to false to avoid exposing the plugin path to websites.

The plugin will be removed.

The above Mozilla.org community-contributed content is made available under CC-BY-SA 3.0, which permits properly-attributed derivative works distributed under the same license. CC-BY-SA is also the license that covers content here on Ask Ubuntu. Its formatting is changed very slightly to accommodate the StackExchange format. The page from which the above block-quote was taken lists Bo102010, cor-el, Verdi, and scoobidiver as contributing authors.

Share:
2,308
HappyDeveloper
Author by

HappyDeveloper

Updated on September 18, 2022

Comments

  • HappyDeveloper
    HappyDeveloper over 1 year

    I'm trying to retrieve the data from the database by using JSONArray. My code works well but it only displays the last item in the database as number of items in the database.

    My code is :

        Gson gson = new Gson();
        JsonObject myObj = new JsonObject();
        JSONObject Obj = new JSONObject();
        Connection conn = null; 
        try {
            conn=prepareConnection();
        } catch (ClassNotFoundException e1) {
            System.out.println( "Error --> " + displayErrorForWeb(e1));
            e1.printStackTrace();
        } catch (SQLException e1) {
            System.out.println( "Error --> " + displayErrorForWeb(e1));
            e1.printStackTrace();
        }
    
        try {
            JsonElement commentObj;
    
            StringBuilder sb1=new StringBuilder(1024);
            sb1.append("insert into ").append(uname.trim()).append("vcomments values(?,?,?,?)");
            String sql1=sb1.toString();
            PreparedStatement stmt1 = conn.prepareStatement(sql1);
             stmt1.setString(1,uname);
             stmt1.setString(2,message);
             stmt1.setInt(3,itemId);
             stmt1.setInt(4,albumId);
             int i=stmt1.executeUpdate();
    
            if(i!=1){
            myObj.addProperty("success", false);
        }
        else {
            myObj.addProperty("success", true);
        }
        PreparedStatement stmt = null;    
        String sql = null;
    
         try {     
    
            StringBuilder sb=new StringBuilder(1024);
            sb.append("select * from ").append(uname.trim()).append("vcomments").append(" where itemid=").append(itemId).append(" and albumid=").append(albumId);
            sql=sb.toString();
            stmt = conn.prepareStatement(sql);
            ResultSet rs = stmt.executeQuery();
            ArrayList<JSONObject> CommArray=new ArrayList<JSONObject>();
    
             while(rs.next()){
                Obj.put("uname",rs.getString("uname").trim());
                Obj.put("comment",rs.getString("comments").trim());
                CommArray.add(Obj);
    
                }    
             JSONArray arrayObj=JSONArray.fromObject(CommArray);
             commentObj=gson.toJsonTree(arrayObj);
             myObj.add("commentInfo", commentObj);
             out.println(myObj.toString());
             rs.close();                                                              
             stmt.close();                                                            
             stmt = null;                                                             
    
    
             conn.close();                                                            
             conn = null;                                                  
    
         }                                                              
         catch(Exception e){System.out.println( "Error --> " + displayErrorForWeb(e));}                     
    

    The response received :

     {"success":true,"commentInfo":[{"uname":"shyam","comment":"erxdg"},{"uname":"shyam","comment":"erxdg"},{"uname":"shyam","comment":"erxdg"},{"uname":"shyam","comment":"erxdg"}]}
    

    The database contains two items. And the last item is erxdg. Servlet sent the response back only last item.

    Please anyone help me to fix it..... Thanks...........

    • Garry Cairns
      Garry Cairns almost 12 years
      I may have misunderstood your question so apologies if I have, but you should be able to do this from the add-ons menu. When you go to that there should be a link for plug-ins that lets you disable any of them. Is that what you're looking for?
    • HappyDeveloper
      HappyDeveloper almost 12 years
      @GarryCairns I don't know, because I need the install menu to pop up again so I can install the other plugin, so I thought I needed to uninstall, instead of disable (disable plugin and reload page didn't make the install menu to pop up).
    • Garry Cairns
      Garry Cairns almost 12 years
      Okay I'm with you now this note suggests plug-ins come with their own uninstall methods. I've added an answer below.
    • 75inchpianist
      75inchpianist about 11 years
      something may be wrong with your query. Can you verify that your resultSet contains different values than erxdh? It would appear it is returning the same element over and over
    • Admin
      Admin about 11 years
      @75inchpianist No, My Resultset returning the all values in the database
  • arsaKasra
    arsaKasra over 10 years
    When I do that, the plugin will still be there with the path set to the renamed file, how can that be?