Skip to content

Instantly share code, notes, and snippets.

@imyelo
Last active July 28, 2022 13:32
Show Gist options
  • Save imyelo/3bc32083f9335edf82b8d0272dcdaad0 to your computer and use it in GitHub Desktop.
Save imyelo/3bc32083f9335edf82b8d0272dcdaad0 to your computer and use it in GitHub Desktop.
UserScript - Remove WOA Watermark
// ==UserScript==
// @name Remove WOA Watermark
// @version 0.1
// @author yelo <[email protected]>
// @match *://km.woa.com/**
// @match *://csig.lexiangla.com/**
// @match *://mk.woa.com/**
// @match *://iwiki.woa.com/**
// @match *://qcloud.oa.com/**
// @match *://ieop.oa.com/**
// @match *://pay.woa.com/**
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js
// ==/UserScript==
/* global $ */
'use strict';
$(() => {
const INTERVAL = 1000
// KM
setInterval(() => {
$('.watermarked').removeClass('watermarked')
$('.watermark').remove()
$('.watermarkHide').remove()
}, INTERVAL)
// 云知
setInterval(() => {
$('#text-content').find('div').filter((i, el) => $(el).is(':empty')).remove()
}, INTERVAL)
// 码客
setInterval(() => {
$('.mk-water-mark').remove()
}, INTERVAL)
// iWiki
setInterval(() => {
$('#iwiki-user-water').remove()
}, INTERVAL)
// 星云
setInterval(() => {
$('.mask_div').remove()
}, INTERVAL)
// 互动娱乐内部运营平台
setInterval(() => {
$('.watermark').remove()
}, INTERVAL)
// 薪酬
setInterval(() => {
$('#wm').remove()
}, INTERVAL)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment