Difference between revisions of "Phishing fix favlet"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
<a href="javascript:function traverseFrames(doc,_SRObj) {
+
<a href="javascript:
 +
 
 +
function traverseFrames(doc,_SRObj) {
  
 
// check for sr-only class in current document and then check it's frames
 
// check for sr-only class in current document and then check it's frames
  
document.querySelectorAll('.callout-trigger').forEach(function (n) { n.setAttribute('tabindex','0'); n.setAttribute('role','button');})
+
doc.querySelectorAll('.callout-trigger').forEach(function (n) { n.setAttribute('tabindex','0'); n.setAttribute('role','button');});
  
 
// go through for each frame's document if there are any frames
 
// go through for each frame's document if there are any frames
Line 22: Line 24:
 
return _SRObj;
 
return _SRObj;
 
}
 
}
)
+
 
 
traverseFrames(document, SRObj);"> Phishing Fix Favlet </a>
 
traverseFrames(document, SRObj);"> Phishing Fix Favlet </a>
 
<p class="callout-trigger"> test </p>
 
<p class="callout-trigger"> test </p>
 
</html>
 
</html>

Revision as of 20:11, 22 November 2019