您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
必应 Bing 搜索添加今日热榜,Microsoft Rewards点击赚积分
// ==UserScript== // @name 必应-今日热榜 // @namespace https://greasyfork.org/zh-CN/users/1513778-chris-lu // @version 2025.09.10.18 // @description 必应 Bing 搜索添加今日热榜,Microsoft Rewards点击赚积分 // @author Chris Lu // @match *://*.bing.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bing.com // @require https://update.greasyfork.org/scripts/499192/1402326/jquery_360.js // @license The MIT License (MIT); http://opensource.org/licenses/MIT // @grant none // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); (function() { 'use strict'; function fetchKeywordsBySource(){ $.ajax( { "url": "https://api.pearktrue.cn/api/dailyhot/?title="+$('#ext-search-channels').val(), "method": "GET", "timeout": 0, }).done(function (response) { if(response.code==200 && response.data){ $('#ex-search-keywords').empty(); response.data.forEach(function(element,index){ if($('#ext-search-link-type').val() =='搜索') $('#ex-search-keywords').append(`<a target='_self' style='margin-right:25px;line-height:25px;' href='https://www.bing.com:443/search?q=${element.title}&qs=PN&form=TSFLBL'>${index+1}.${element.title}</a>`); else $('#ex-search-keywords').append(`<a target='_blank' style='margin-right:25px;line-height:25px;' href='${element.url??element.mobileUrl}'>${index+1}.${element.title}</a>`); //$('#ex-search-keywords').append(`<a href='javascript:void(0);' class='ext-search-keyword' style='margin-right:20px;' data-val='${element.title}'>${index+1}.${element.title}</a>`); }); // $(".ext-search-keyword").click(function(e){ // $("#sb_form_q").val($(this).data('val')); // $("#q").val($(this).text()); // $('#qs').val('PN'); // $('#from').val('TSFLBL'); // $('#sb_form .b_searchboxSubmit').click(); // //$('#sb_form').submit(); // }); $('#ex-search-keywords').append(`<a target='_blank' style='ine-height:25px;' href='https://rewards.bing.com/welcome?rh=3D3F7F7&ref=rafsrchae'>👉加入Microsoft Rewards点击🔥热🔥点🔥赚取积分!👈</a>`); } }); } $(document).ready(function(){ if($('#sb_form')!== null){ $('#b_header').after("<div style='margin-left:12%;margin-right:12%; margin-top:10px;'><p style='margin-bottom:10px;'><strong>今日热榜: </strong><select id='ext-search-channels' title='平台' style='margin-left:5px;width:'></select><strong style='margin-left:5px;'>操作: </strong><select id='ext-search-link-type' title='操作' style='margin-left:5px;'><option value='搜索' selected>搜索</option><option value='打开'>打开</option></select><button id='ext-search-refresh' type='button' style='margin-left:5px;padding:5px;'>刷新</button></p><div id='ex-search-keywords'></div></div>"); $.ajax( { "url": "https://api.pearktrue.cn/api/dailyhot", "method": "GET", "timeout": 0, }).done(function (response) { if(response.code==200 && response.data && response.data.platforms){ response.data.platforms.forEach(function(element){ var opt= new Option(element, element); opt.selected= element== "微博"; $('#ext-search-channels').append(opt); }); $('#ext-search-channels').change(function(e){ fetchKeywordsBySource(); }); $('#ext-search-link-type').change(function(e){ fetchKeywordsBySource(); }); $('#ext-search-refresh').click(function(e){ fetchKeywordsBySource(); }); fetchKeywordsBySource();//第一次加载 } }); } }); })();