Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to delete one entry from Bing history using firefox?

  • 28 odgovori
  • 1 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao cor-el

more options

Using explorer you can "click" the "X" and it is deleted; both firefox, and chrome do not have the "X".

Using explorer you can "click" the "X" and it is deleted; both firefox, and chrome do not have the "X".

All Replies (8)

more options

Thanks for your help. I seem to be a dim-wit (bookmarklets are new to me). I went to:

https://www.jeffersonscher.com/res/sumomarklets.html#BingDelBtns

I saved the location highlighted yellow in my bookmarks (I don't think I have a toolbar to drag and drop to):

 javascript:(function(){var%20btns=document.querySelectorAll('.timeline-activity-item%20.delete-button[disabled]');for(var%20i=0;i<btns.length;i++){btns[i].removeAttribute('disabled');}})();

But it opens up to a blank page. I then tried looking at my search history page(s) which nothing had changed. I think I will need you to walk me through all of the steps.

Izmjenjeno od strane cor-el

more options

Hi newsie2000, what should happen is: when you click the bookmark, Firefox executes the script against the currently displayed page.

There are a couple different ways to write the script in the bookmark and I usually use a slightly less compact format. You could try right-click > Properties and then replace the Location with this:

javascript:var btns=document.querySelectorAll('.timeline-activity-item .delete-button[disabled]');for(var i=0;i<btns.length;i++){btns[i].removeAttribute('disabled');} void 0;

Does that work any better?

more options

For some reason only 1/2 of my reply posted just now, probably something with that huge javascript link (I didn't preview).

....(I hope I got this right)...But nothing shows up; it's a blank page. I tried going to my search history page(s); but nothing has changed. I think you will have to walk me through all of the steps.

more options

Thanks, the new link is no better; it jsut sits there. I copy and pasted it into the search bar right?

more options

newsie2000 said

Thanks, the new link is no better; it jsut sits there. I copy and pasted it into the search bar right?

No, the script really needs to be saved in a bookmark. You can go to where you saved the existing BingDelBtns bookmark, right-click it, choose Properties, then delete the original Location and paste the new one.

Maybe the issue is how you saved the bookmark originally? You can right-click the blue BingDelBtns button and choose Bookmark This Link to add the button to the end of the Bookmarks Menu. Then that's the button you would click to run the script against the currently displayed page.

more options

Maybe the issue is how you saved the bookmark originally? You can right-click the blue BingDelBtns button and choose Bookmark This Link to add the button to the end of the Bookmarks Menu. Then that's the button you would click to run the script against the currently displayed page.

Your message above is what I did and that is what just sits there. Do yo think it may have something to do with my pop-up blocker?

more options

newsie2000 said

Your message above is what I did and that is what just sits there. Do yo think it may have something to do with my pop-up blocker?

I don't know, that's never come up before in the threads were I post bookmarklets.

An alternate way to run the script, which I was using during testing, is through the Web Console.

While on the page with the disabled delete buttons:

(1) Open the Web Console in the lower part of the tab, for example, by pressing Ctrl+Shift+k, or by going to the menu > Web Developer > Web Console.

(2) Paste this part of the script in the slot at the bottom and press Enter to execute it:

var btns = document.querySelectorAll('.timeline-activity-item .delete-button[disabled]'); for(var i=0; i<btns.length; i++){btns[i].removeAttribute('disabled');}

If this is your first script run, Firefox may ask you to confirm that you know what you're doing before it lets you do Step #2 by typing some text by hand in the console.

more options

Note that you need to click the bookmark with the JavaScript code on the page with the Bing history items to run the JavaScript bookmarklet code.

You can create a new bookmark and paste the JavaScript code in its location field. Give the bookmarklet a suitable name.

I've edited your above reply to prevent the forum site from mangling the JavaScript code (<).

javascript:(function(){var btns=document.querySelectorAll('.timeline-activity-item .delete-button[disabled]');for(var i=0;i<btns.length;i++){btns[i].removeAttribute('disabled');}})();
  1. 1
  2. 2