Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/694f5245-1110-800b-b182-7c2accd50046
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Assistant: 對~你抓到的就是「外層容器 / Gemini 的 iframe loader」那一種 😅 === 對~你抓到的就是「外層容器 / Gemini 的 iframe loader」'''那一種 😅 但它'''不是你要的遊戲程式碼,它的工作大概是: * 驗證 postMessage 來源(__geminigo_host / __geminigo_renderer) * 把「真正的內容」用 payload 一段段送進來、再 document.write() 寫進 iframe * 所以你看到一堆 Closure / trustedTypes / message handler ——這些是「運輸車」,不是「貨物」🚚📦 你要找的是:被它 document.write 進來的那份 HTML/JS(裡面才會有 gameLoop、generateRoom、WEAPONS、ENEMIES…) ==== ### ==== # 打開遊戲那個分頁 → 按 F12 # 去 Sources # 左邊樹狀清單找: - blob: 開頭的資源(很常見) - 或 scf.usercontent.google 那種超長網址 # 點進去後 Ctrl+F 搜: - function gameLoop - generateRoom - WEAPONS / RARE_WEAPONS - updateParticles # 找到那份真的有遊戲函式的大檔後: - 右鍵 → Save as… - 或全選複製貼到檔案(.js / .html) 你前面錯誤訊息裡都有這種線索: at gameLoop (blob:https://... ) 👉 看到 blob: 就表示「那份 blob 檔就是遊戲本體」,不是你貼的這份 loader。 ===== 如果你看得到遊戲畫面或 loading 過程: ===== # F12 → Network # 重新整理頁面(讓它重新載入) # 用篩選框打:blob 或 usercontent 或 html # 點到看起來最大的那個資源 → Response / Preview # 複製整段保存 ==== 你要的那份裡面一定會出現像這些字眼(任意幾個): ==== * function gameLoop() * function generateRoom() * function update() / draw() * const WEAPONS = ... * const ENEMIES = ... * canvas.getContext("2d") * requestAnimationFrame 你剛貼的那份幾乎只會出現: * document.write * trustedTypes * postMessage * __geminigo_host 這種「運輸系統」詞彙。 ==== 你去 DevTools → Sources,找到你錯誤訊息提到的那個 blob:... 檔 ==== 然後只要貼我「檔案開頭 50 行 + 中間出現 gameLoop 那段附近 100 行 + 最後 50 行」就好 ✅ 我就能幫你判定它是不是本體,以及教你怎麼一次把整份完整保存下來。 你要不要先把你 Sources 裡看到的 blob 清單截圖給我也行,我可以直接告訴你該點哪個 😼📌
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)