Greasy Fork

Greasy Fork is available in English.

必应主题

美化必应搜索页面

目前为 2022-06-09 提交的版本。查看 最新版本

// ==UserScript==
// @name         必应主题
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  美化必应搜索页面
// @author       Onion

// @include      *//cn.bing.com/*

// @icon         https://www.google.com/s2/favicons?sz=64&domain=bing.com
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    var temp=document.getElementById('b_content');
    temp.style.backgroundColor="#FFDDEE";
    var temp2=document.getElementById('b_results');
   // temp.style.backgroundColor="#FFDDEE";
     var temp3=document.getElementById('b_header');
   // temp.style.backgroundColor="#FFDDEE";
    var round1=document.getElementsByClassName('b_algo');
    var round2=document.getElementsByClassName('b_ans');
    for(var i=0;i<=round1.length;i++)
    {
        round1[i].style.borderRadius="10px";
      //  round1[i].style.columns="60px 2";
     //   round1[i].style.width="600px";
     //   round1[i].style.height="200px";
      //   round2[1].style.borderRadius="10px";
    }



   /*  var temp1 = document.getElementsByClassName("b_algo");
    for (var i = 0; i < temp1.length; i++) {
        temp1[i].style.backgroundColor = "#FFDDEE";
    }*/
    // Your code here...
})();