MCPcopy Create free account
hub / github.com/brookhong/Surfingkeys / htmlEncode

Function htmlEncode

src/content_scripts/common/utils.js:966–969  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

964
965var _divForHtmlEncoder = document.createElement("div");
966function htmlEncode(str) {
967 _divForHtmlEncoder.innerText = str;
968 return _divForHtmlEncoder.innerHTML;
969}
970
971HTMLElement.prototype.one = function (evt, handler) {
972 function _onceHandler() {

Callers 14

renderHeaderDescriptionFunction · 0.90
createOmnibarFunction · 0.90
CommandsFunction · 0.90
OpenContainersFunction · 0.90
renderTabTitlesFunction · 0.90
frontend.jsFile · 0.90
buildUsageFunction · 0.90
showBannerFunction · 0.90
showRichHintsFunction · 0.90
createRegionalHintsFunction · 0.90
default.jsFile · 0.90
renderKeyMappingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected