Skip to content

Commit 95b93d8

Browse files
committed
Update searchJumper.user.js
1 parent 255e500 commit 95b93d8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

searchJumper.user.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2975,12 +2975,17 @@
29752975
text-align: center;
29762976
box-sizing: content-box;
29772977
overflow: hidden;
2978+
scrollbar-width: none;
29782979
font-family: Roboto,arial,sans-serif,微软雅黑,"Noto Sans SC";
29792980
cursor: grab;
29802981
max-height: 80vh;
29812982
overscroll-behavior: contain;
29822983
-ms-scroll-chaining: contain;
29832984
}
2985+
.search-jumper-tips::-webkit-scrollbar {
2986+
width: 0 !important;
2987+
height: 0 !important;
2988+
}
29842989
.search-jumper-tips:hover {
29852990
overflow: auto;
29862991
}
@@ -8970,6 +8975,11 @@
89708975

89718976
tipsPos(ele, type) {
89728977
this.tips.innerHTML = createHTML(type);
8978+
if (location.protocol === 'https:') {
8979+
[].forEach.call(this.tips.querySelectorAll("[src^='http:']"), ele => {
8980+
ele.src = ele.src.replace("http:", "https:")
8981+
});
8982+
}
89738983
this.tips.style.pointerEvents = "";
89748984
this.tips.style.display = "";
89758985
this.tips.style.opacity = 1;

0 commit comments

Comments
 (0)