imported>=海豚= |
imported>=海豚= |
第1行: |
第1行: |
| <noinclude>Only for {{tl|NoReferer}}</noinclude><includeonly><!--{if !isset($wgNoReferer) || !$wgNoReferer}--><!--{assign var="wgNoReferer" value=true scope="global"}--><meta name="referrer" content="no-referrer" /><script> | | <style> |
| "use strict";
| | .mw-search-exists { |
| window.RLQ = window.RLQ || [];
| | display: show; |
| window.RLQ.push(() => $(() => (async () => {
| |
| await mw.loader.using("mediawiki.Uri");
| |
| const domains = new Set("hdslb.com");
| |
| $(".noRefererConfig").each((_, { dataset: { domain } }) => {
| |
| for (const d of domain.split("|")) {
| |
| domains.add(d);
| |
| }
| |
| });
| |
| $('img[src^="http://"]').each((_, ele) => {
| |
| const url = new mw.Uri(ele.src);
| |
| for (const domain of domains.values()) {
| |
| if (url.host.includes(domain)) {
| |
| ele.setAttribute("referrerpolicy", "no-referrer");
| |
| url.protocol = "https";
| |
| url.query._ = Math.random();
| |
| ele.src = url;
| |
| return;
| |
| }
| |
| }
| |
| });
| |
| })()));
| |
| </script><style type="text/css"unselectable="on">
| |
| .mw-editmoegirl{
| |
| display:none!important; | |
| } | | } |
| .mw-editlocal{ | | .multimediaViewerScrollSet{ |
| display:none!important;
| | pointer-events: none; |
| } | | } |
| </style><!--{/if}--></includeonly> | | </style> |
2022年1月13日 (四) 19:37的版本
<style>
.mw-search-exists {
display: show;
}
.multimediaViewerScrollSet{
pointer-events: none;
}
</style>