Improve some configs
This commit is contained in:
		
							parent
							
								
									58d49da5c2
								
							
						
					
					
						commit
						2ab433a616
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		|  | @ -350,13 +350,16 @@ def make_js_code(username, password): | |||
| 
 | ||||
|         function fillFirstForm() { | ||||
|             var forms = document.getElementsByTagName("form"); | ||||
|             var found_any = false; | ||||
|             for (i = 0; i < forms.length; i++) { | ||||
|                 if (hasPasswordField(forms[i])) { | ||||
|                     loadData2Form(forms[i]); | ||||
|                     return; | ||||
|                     found_any = true; | ||||
|                 } | ||||
|             } | ||||
|             alert("No Credentials Form found"); | ||||
|             if (!found_any) { | ||||
|                 alert("No Credentials Form found"); | ||||
|             } | ||||
|         }; | ||||
| 
 | ||||
|         fillFirstForm() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue