soiz1 commited on
Commit
3b3bf61
·
verified ·
1 Parent(s): 9167b1b

Update 2.html

Browse files
Files changed (1) hide show
  1. 2.html +0 -24
2.html CHANGED
@@ -105,30 +105,6 @@ document.getElementById('open').addEventListener('click', async () => {
105
  document.getElementById('hide').style.display = 'block';
106
  }
107
 
108
- // フォーム送信(別タブを先に開いてからPOSTする)
109
- const loginWindow = window.open('', '_blank');
110
-
111
- const form = document.createElement('form');
112
- form.method = 'post';
113
- form.action = 'https://huggingface.co/login';
114
- form.target = loginWindow.name; // 新しく開いたタブへ送信
115
-
116
- const input1 = document.createElement('input');
117
- input1.type = 'hidden';
118
- input1.name = 'username';
119
- input1.value = 'izum' + localStorage.getItem('no') + '@mbox.re';
120
-
121
- const input2 = document.createElement('input');
122
- input2.type = 'hidden';
123
- input2.name = 'password';
124
- input2.value = '!Aaaaaa0';
125
-
126
- form.appendChild(input1);
127
- form.appendChild(input2);
128
- document.body.appendChild(form);
129
-
130
- form.submit();
131
-
132
  } catch (error) {
133
  console.error('PiPウィンドウ起動エラー:', error);
134
  document.getElementById('hide').style.display = 'block';
 
105
  document.getElementById('hide').style.display = 'block';
106
  }
107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  } catch (error) {
109
  console.error('PiPウィンドウ起動エラー:', error);
110
  document.getElementById('hide').style.display = 'block';