BAND 图片保存

让 Band 可以右键保存和复制图片

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         BAND 图片保存
// @namespace    https://me.penclub.club
// @version      0.1.4
// @description  让 Band 可以右键保存和复制图片
// @author       lixiang810
// @match        https://band.us/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=band.us
// @grant        none
// @license      AGPL-3.0-or-later
// @run-at document-body
// ==/UserScript==

(function() {
    'use strict';
    var styl = document.createElement('style');
    styl.innerHTML = `.cComment .commentBody .photo::after {
  display: none;
}
.uCollage .collageImage::after {
  display: none;
}
.lyPhotoViewer .photoViewer .photoContent .preventSaveContent {
  display: none;
}
.lyPhotoViewer .photoViewer .photoContent .btnArea {
  position: static;
}
.photoItemLink::after {
  display: none;
}
`;
    document.body.appendChild(styl);
})();