Skip to content

Commit

Permalink
Merge pull request #15 from wh0am1i/tmp
Browse files Browse the repository at this point in the history
update text
  • Loading branch information
wh0am1i authored Apr 28, 2024
2 parents 4b193b9 + cfc8429 commit 08f31ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pocsuite3/plugins/html_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ def _writer_footer(self):
'function copyAll() {'
'var targetValue = $("#all-target").val();'
'navigator.clipboard.writeText(targetValue).then(function() {'
'alert("复制成功");'
'alert("Copy Successful");'
'}, function(err) {'
'alert("复制失败");'
'alert("Copy failed");'
'});'
'}'
'</script>')
self.html.addcontent('<script type="text/javascript">'
'function copySuc() {'
'var targetValue = $("#suc-target").val();'
'navigator.clipboard.writeText(targetValue).then(function() {'
'alert("复制成功");'
'alert("Copy successful");'
'}, function(err) {'
'alert("复制失败");'
'alert("Copy failed");'
'});'
'}'
'</script>')
Expand Down

0 comments on commit 08f31ea

Please sign in to comment.