您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adding results of youdao.com onto bing.com/dict, and display them together with the original results in a juxtaposition.
当前为
// ==UserScript== // @name 在 bing词典 中聚合显示 有道 的结果 // @namespace http://tampermonkey.net/ // @version 2.01 // @license MIT // @description Adding results of youdao.com onto bing.com/dict, and display them together with the original results in a juxtaposition. // @author 庶民player // @match *.bing.com/dict* // @icon https://cn.bing.com/sa/simg/favicon-2x.ico // @require https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js // @run-at document-idle // @compatible edge // @compatible chrome // @grant none // ==/UserScript== (function() { 'use strict'; var wd = "none" var qry = window.location.search.substring(1); var vals = qry.split('&'); for(var i in vals){ var pair = vals[i].split('='); if(pair[0] == "q") wd = pair[1]; } if(wd.length > 50) return; var youdao_width = 640; var bing_width = 532; var margin = window.innerWidth -youdao_width -bing_width; var youdao_top_padding = 190; $("#b_footer").css("display", "none"); $(".sidebar").css("display", "none"); $(".lf_area").css({ "position": "absolute", "left": parseInt(margin * 0.34)+"px", }); let m = ` <div style=" overflow: hidden; position: absolute; right:`+ parseInt(margin * 0.16) + `px; top: ` + $(".contentPadding").position().top + `px; width:`+ youdao_width + `px; " > <iframe style=" position:relative; top: `+ (-youdao_top_padding) +`px " src="https://dict.youdao.com/w/` + wd + `" frameborder=0 scrolling="no" width="` + (120+youdao_width) + `px" height="` + $(document).height() + `px" > </iframe> </div> ` $(m).prependTo(document.body) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址