必应图片下载

bing首页背景下载

// ==UserScript==
// @name         必应图片下载
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  bing首页背景下载
// @author       装满奶茶的篮子
// @include      *://cn.bing.com/
// @include      *://cn.bing.com/?FORM=*
// @include      *://cn.bing.com/?scope=web&FORM=*
// @include      *://cn.bing.com/?scope=web&FORM=*#&ensearch=*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function(){
    'use strict';
    const biying = {};
    biying.url = null;
    biying.getUrl = function(){
        var backgroundImageurl = document.getElementById('bgImgProgLoad').getAttribute('data-ultra-definition-src');
        var element = document.getElementById('bgDiv');
        var bgUrl = element.style.backgroundImage.replace("url(\"","").replace("\")","");;
        var url;
        if(bgUrl == ""){
            url = backgroundImageurl;
        }else{
            url = bgUrl
        }
        return url;
    }
    biying.addElement = function(imageUrl){
        if(document.getElementById('my_download')){
            document.getElementById('sh_rdiv').removeChild(document.getElementById('my_download'));
        }
        var downloadimage ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAdk0lEQVR4Xu1dCfi21Zy+bxTGHg1yaRJKWTKFispIiy1LJUukRZokDK5sITIlRpaUpDJEm4kWS8paaWSpqbELEzMNsmVLDPdcd5233v7fe57nPOv7PO97ftf1v76vvt/Z7vPc/7P9FiJLRiAjEEWAGZuMQEYgjkAmSP46MgIFCGSC5M8jI5AJkr+BjEA9BPIKUg+3yqUk3RzA7aZ+br/ivyf/9lMAl5C8pHIjuUDrCGSCtAyppDsB2BDABuFn8ve/q9DUHwC8heRBFcpk1Q4QyARpAKokf/T/AOChU6S4W4MqVxbdnuQ5LdaXq6qIQCZIBcAk3RfApgC2BLA1gPtUKF5H9YUkj6hTMJdpB4FMkAIcJa0bVojNAGwO4AHtwJ5cy14kj0/WzoqtI5AJsgJSSbcG8OSpn9VbRz29woeR/Eq6etZsG4FMkICopEcBeFIgRpU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        newElement.id = 'my_download';
        newElement.setAttribute('download',`bg-${Math.random().toFixed(2)*100}`);
        newElement.setAttribute('href',imageUrl);
        newElement.setAttribute('target','_blank');
        var newDiv = document.createElement('div');
    
        newDiv.style.width = '40px';
        newDiv.style.height = '40px';
        newDiv.style.lineHeight = '40px';
        newDiv.style.overflow = 'hidden';
        newDiv.style.textAlign = 'center';
        newDiv.style.margin = '0px 10px';
        newDiv.style.backgroundPositionX = '0';
        var imgElement = document.createElement('img');
        imgElement.style.width = '100%';
        imgElement.setAttribute('src',downloadimage);
        newDiv.appendChild(imgElement);
        newElement.appendChild(newDiv);
        document.getElementById('sh_rdiv').appendChild(newElement);
    }
	
    if(window.location.href.indexOf("bing.com")!=-1){
        setInterval(function(){
            var url = biying.getUrl();
            if(biying.url !== url){
                biying.addElement(url);
                biying.url = url;
            }
        },100);
    }
})()