X
Tap here to go to the mobile version of the site.

Support Forum

How to delete one entry from Bing history using firefox?

Posted

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".

Additional System Details

Installed Plug-ins

  • Shockwave Flash 27.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

More Information

Question owner

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.

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): <pre><nowiki> 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');}})();</nowiki></pre> 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.

Modified by cor-el

jscher2000
  • Top 10 Contributor
8632 solutions 70597 answers

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?

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: <code>javascript:var btns=document.querySelectorAll('.timeline-activity-item .delete-button[disabled]');for(var i=0;i&lt;btns.length;i++){btns[i].removeAttribute('disabled');} void 0;</code> Does that work any better?

Question owner

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.

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.

Question owner

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

Thanks, the new link is no better; it jsut sits there. I copy and pasted it into the search bar right?
jscher2000
  • Top 10 Contributor
8632 solutions 70597 answers

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.

''newsie2000 [[#answer-1048584|said]]'' <blockquote> Thanks, the new link is no better; it jsut sits there. I copy and pasted it into the search bar right? </blockquote> 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.

Question owner

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?

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?
jscher2000
  • Top 10 Contributor
8632 solutions 70597 answers

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.

''newsie2000 [[#answer-1048609|said]]'' <blockquote> 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? </blockquote> 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: <code>var btns = document.querySelectorAll('.timeline-activity-item .delete-button[disabled]'); for(var i=0; i&lt;btns.length; i++){btns[i].removeAttribute('disabled');}</code> ''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.''
cor-el
  • Top 10 Contributor
  • Moderator
17407 solutions 157253 answers

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');}})();
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 <u>location field</u>. Give the bookmarklet a suitable name. I've edited your above reply to prevent the forum site from mangling the JavaScript code (<). <pre><nowiki>javascript:(function(){var btns=document.querySelectorAll('.timeline-activity-item .delete-button[disabled]');for(var i=0;i<btns.length;i++){btns[i].removeAttribute('disabled');}})();</nowiki></pre>