Bing Batch Open Tabs

Batch Open Bing Search Results.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Bing Batch Open Tabs
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  Batch Open Bing Search Results.
// @author       v4IIII
// @match        https://*bing.com/
// @connect         *bing.com
// @include         *://*bing.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
var c2=[];
var c0=document.getElementsByTagName('h2');
    console.log(c0);
for (var i=0;i<c0.length;i++){
  try{var c1=c0[i].firstChild.nextSibling.href;}catch(err){c1=null;}
  try{var c3=c0[i].firstChild.href;}catch(err){c3=null;}
/*      console.log(c1);
  console.log(c3);*/
  if(c1===undefined){}else{if(c1===null){}else{c2.push(c1);}}
  if(c3===undefined){}else{if(c3===null){}else{c2.push(c3);}}
};
console.log(c2);

function fm(a){
  let handle=window.open(a);
  handle.blur();
  window.focus();
};

for (i=0;i<c2.length;i++){
  fm(c2[i]);
}
    // Your code here...
})();