skip to main content
paste
bin
.ca
type · paste · share
⌘
K
Family
The bin family
pastebin.ca
hub
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.
Docs
Sign in
?
← back to paste
›
Edit / fork
Khảo sát
#3UKNYBmJaA
public / public
new version
by @pale-raccoon-7058
created 2 days ago
no expiry
1.4 KB
syntax:
text
Your changes create a new paste linked to this one — the original is untouched.
new version
Your changes create a new paste linked to this one — the original is untouched.
Title (optional)
Filename
Syntax
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
Visibility
Public feed
Access
public
Expires
7 days
10 min
1 hour
1 day
7 days
30 days
90 days
custom…
Custom expiry
Change note
(optional)
This paste will be listed on the public feed. Change Visibility if you only want people with the link to see it.
Create new version
Cancel
Paste or type…
!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>