MCPcopy Create free account
hub / github.com/XIU2/UserScript / addRel

Function addRel

DuckDuckGo-Enhanced.user.js:128–130  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

126
127 // 添加 rel 属性
128 function addRel(doc) {
129 doc.querySelectorAll('a').forEach(function(one){one.rel = 'noreferrer noopener nofollow'})
130 }
131
132
133 // 添加屏蔽按钮

Callers 1

ProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected