blob: 7d6578176cd9c5bf9b34f63a2646b1fa77850c61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// ==UserScript==
// @name custom unsplash
// @match https://unsplash.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
document.querySelectorAll('[data-ad="true"]').forEach(function(e){
console.log("AAAAAAAA");
e.remove();
});
})();
GM_addStyle(`
div[data-ad="true"], div[data-test="AffiliatesGrid-Content"] {
visibility: hidden;
width: 0;
height: 0;
}
`)
|