Kamtera commited on
Commit
a18ccbb
1 Parent(s): 9050bc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -4
app.py CHANGED
@@ -78,16 +78,23 @@ h4.home {
78
 
79
 
80
  </style><div id="header">
81
- <h4 class="home" onload="myFunction543rr()" >Model name</h4>
82
  <audio id="audio" src="17.mp3" controls="true" ></audio>
83
  </div>
84
  </div>
85
 
86
 
87
  <div id="transcript" dir="auto"></div>
88
-
89
-
90
- <script>
 
 
 
 
 
 
 
91
  function myFunction543rr(){
92
  console.log('loaded00000000000000002');
93
  }
 
78
 
79
 
80
  </style><div id="header">
81
+ <h4 class="home" onload="console.log('loaded00000000000000002')" >Model name</h4>
82
  <audio id="audio" src="17.mp3" controls="true" ></audio>
83
  </div>
84
  </div>
85
 
86
 
87
  <div id="transcript" dir="auto"></div>
88
+ <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onload="alert('test');
89
+ var oldScript = document.querySelector('script#huihiuh6');
90
+ var newScript = document.createElement('script');
91
+ Array.from(oldScript.attributes)
92
+ .forEach( attr => newScript.setAttribute(attr.name, attr.value) );
93
+ newScript.appendChild(document.createTextNode(oldScript.innerHTML));
94
+ oldScript.parentNode.replaceChild(newScript, oldScript);
95
+ ">
96
+
97
+ <script id="huihiuh6">
98
  function myFunction543rr(){
99
  console.log('loaded00000000000000002');
100
  }