メインコンテンツへスキップ
paste
bin
.ca
type · paste · share
⌘
K
ファミリー
bin ファミリー
pastebin.ca
ハブ
Share text and code with expiry and privacy controls.
imagebin.ca
Upload and share images with direct links.
filebin.ca
Drop a file and get a shareable link.
notebin.ca
Write Markdown notes with durable links.
turl.ca
Short, reputation-checked links.
attn.ca
Notifications and alerts for your services.
voicebin.ca
Record and share short voice clips.
dnsbin.ca
Inspect DNS and debug records.
ドキュメント
サインイン
?
← ペーストに戻る
›
編集 / フォーク
Khảo sát
#3UKNYBmJaA
public / public
新しいバージョン
作成者 @pale-raccoon-7058
作成日 2 days ago
失効なし
1.4 KB
構文:
text
変更により、このペーストにリンクされた新しいペーストが作成されます — 元のペーストは変更されません。
新しいバージョン
変更により、このペーストにリンクされた新しいペーストが作成されます — 元のペーストは変更されません。
タイトル(任意)
ファイル名
構文
text
text
bash
c
cpp
css
diff
dockerfile
go
html
ini
java
javascript
json
kotlin
lua
makefile
markdown
nginx
php
python
ruby
rust
shellscript
sql
swift
toml
typescript
xml
yaml
可視性
パブリックフィード
アクセス
public
失効
7日
10分
1時間
1日
7日
30日
90日
カスタム…
カスタム失効
変更メモ
(任意)
このペーストはパブリックフィードに表示されます。リンクを知っている人だけに見せたい場合は可視性を変更してください。
新しいバージョンを作成
キャンセル
貼り付けるか入力…
!DOCTYPE html> <html lang="vi"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Đang chuyển hướng đến Google Form...</title> </head> <body> <p>Hệ thống đang chuyển hướng bạn đến biểu mẫu khảo sát, vui lòng chờ trong giây lát...</p> <script> // BƯỚC 1: Thay thế 2 đường link Google Form của bạn vào đây const formA = "https://docs.google.com/forms/d/e/1FAIpQLSc74kWK-l4wkL-x1pk9NUIAB8FoWka6s6LACFXNgEQaSaMI0g/viewform?usp=header"; const formB = "https://docs.google.com/forms/d/e/1FAIpQLSfD3T_IJilFxco6arnJVWOYaulJPqrixhwK5NnJAa67bQt7jA/viewform?usp=header"; // BƯỚC 2: Logic kiểm tra lượt click trước đó để chia đều chuẩn xác 50/50 // Kiểm tra xem lượt bấm cuối cùng thuộc về Form nào let lastVisited = localStorage.getItem("lastVisitedForm"); let targetLink = ""; if (lastVisited === "A") { targetLink = formB; localStorage.setItem("lastVisitedForm", "B"); } else { targetLink = formA; localStorage.setItem("lastVisitedForm", "A"); } // BƯỚC 3: Tự động chuyển hướng người dùng sang Google Form đích window.location.href = targetLink; </script> </body> </html>