# honkai star rail 2026年6月代码以及如何兌换
! [](https://assetsio.gnwcdn.com/Stellar-Jade-Genshin-Impact.jpg? width=2048&height=2048&fit=bounds&quality=85&format=jpg&auto=webp)
歸功于这些stellar奖勵。
前高级指南作家
honkai star rail代码 可以为您提供免费的stellar jade、credits、角色和light cone体验,其中一些有用的奖勵包括 2026年6月 。
这些 活动代码 的有效期与hoyoverse的其他gacha遊戲相同,因此請确保您在这些工作代码 到期之前知道 如何在[honkai:star rail](https://www.eurogamer.net/games/honkai-star-rail)中兌换代码 **。
我们还获得了下面列出的星铁所有 4.3直播代码 。
##本島星铁2026年5月代码
! [](https://assetsio.gnwcdn.com/How-to-redeem-Prime-Gaming-codes-for-Honkai-Star-Rail-2.jpg? width=2048&height=2048&fit=bounds&quality=85&format=jpg&auto=webp)
恆星玉用于购买角色和光錐武器扭曲所需的明星通行證。
以下是本島星铁 中的所有 活躍代码:
当新代码发布或任何代码到期時,我们将更新此页面。要检查您嘗试使用的代码是否有效,您可以跳到我们的[过期代码部分](#section-3)。
让提交=假;
窗口. addeventhandler(' domcontentloaded ',()=> {
setupform();
setupcopy();
gettheme();
deliverforthemechanges();
});
函数setupform(){
const form = doctor. querysys(' form ');
const formbox = doctor.getelementbyid(' formbox ');
const textarea = doctor.getelementbyid(' reporttextarea ');
! [](https://assetsio.gnwcdn.com/How-to-redeem-Prime-Gaming-codes-for-Honkai-Star-Rail-3.jpg? width=2048&height=2048&fit=bounds&quality=85&format=jpg&auto=webp)
const bdn = doctor.getelementbyid(' submitbdn ');
const免責声明= formbox. queryðÿ(' p ');
const iframe = doctor. queryðÿ(' iframe [name=' hidden_iframe ');
如果(免責声明)对象. assert(disclaimer.style,{fontsize:' 14 px ',页边:' 8 px 0 '});
对象.assign(formbox.style,{
borderradius:' 8px ',
填充:“24 px”,
宽度:“100%”,
});
对象.assign(textarea.style,{
宽度:“100%”,
身高:“75 px”,
borderradius:' 8px ',
填充:“8 px”,
fontfamily:“繼承”,
fontsize:' 1rem ',
調整大小:“垂直”,
页边:“8 px 0 12 px 0”
});
对象.assign(btn.style,{
borderradius:“1 em”,
指針:“指針”,
显示:“inline-flex”,
fontfamily:“繼承”,
fontsize:' 1 em ',
fontweight:' 700 ',
justifycontent:“中心”,
物品:“中心”,
lineheight:“1”,
填充:“0.5em 1.5em”,
文本对齊:“中心”,
文本装饰:“无”,
宽度:“100%”,
差距:“0.5em”
! [](https://assetsio.gnwcdn.com/v2-How-to-redeem-codes-in-Honkai-Star-Rail-1.jpg? width=2048&height=2048&fit=bounds&quality=85&format=jpg&auto=webp)
});
textarea. addeventhandler(' focus ',()=> textarea.style.bordercolor =' var(--theme-color-primary ');
textarea. addeventhandler(' blur ',()=> textarea.style.bordercolor = gettheme()=' dark '?“#595959”:“#ccc”);
btn.addeventlistener('mouseenter', () => {if (! btn.disabled) btn.style.textdecoration = 'underline';});
btn.addeventlistener('mouseleave', () => {if (! btn.disabled) btn.style.textdecoration = 'none';});
const h1 = document.queryselector('h1');
if (h1) {
const cutoff = h1.textcontent.tolowercase().indexof(" codes");
document.getelementbyid('autofillfield').value = cutoff !== -1 ? h1.textcontent.slice(0, cutoff).trim() : h1.textcontent.trim();
}
object.assign(document.getelementbyid('btfield').style, {position:'absolute', left:'-9999px', opacity:'0'});
! [](https://assetsio.gnwcdn.com/How-to-redeem-codes-in-Honkai-Star-Rail-2.jpg? width=2048&height=2048&fit=bounds&quality=85&format=jpg&auto=webp)
if (iframe) Object. assign(iframe. style, { display:'none', visibility:'hidden', width:'0', height:'0', border:'0' });
form. addEventListener('submit', handleSubmit);
iframe. addEventListener('load', () => { if(submitted) updateButton(); });
}
function handleSubmit() {
const trap = document. getElementById('btField');
if ((trap && trap. value) || submitted) return false;
submitted = true;
const btn = document. getElementById('submitBtn');
btn. value = "Submitting. . . ";
btn. disabled = true;
btn. style. cursor = 'default';
return true;
}
function updateButton() {
const btn = document. getElementById('submitBtn');
const feedback = document. getElementById('submitFeedback');
btn. value = "Submitted, thanks! ";
btn. disabled = true;
btn. style. cursor = 'default';
btn. style. opacity = '0. 6';
setTimeout(() => {
submitted = false;
btn. disabled = false;
btn. style. cursor = 'pointer';
btn. style. opacity = '1';
btn. value = "Submit";
feedback. textContent = "";
document. querySelector('form'). reset();
}, 500);
}
function setupCopyButtons() {
const list = document. querySelector("ul. working");
if (! list) return;
const style = doctor. Element(“style”);
style. textContent ='
. copy-bdn {cursor:pointer;边框:1 px实心#888;背景:#f3f3f3;填充:0. 2em 0. 5em; font-size:0. 8em;边界半径:4px;页边左:0. 4em;过渡:背景0. 1s,颜色0. 1s,变换0. 1s;颜色:#000}
. copy-bdn:active{transform:scale(0. 95)}
. copy-bTN:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
. copy-bdn. copyed {font-weight:600}
. new-pill{show:inline-Block;背景颜色:#16a34a;颜色:#fff;字体重量:600; font-size:0. 7em;填充:0. 1em 0. 4em;边界半径:9999 px;页边左:0. 4em}'
document. head. appendChild(style);
list.
queryselectorall(“li”). foreach(li => {
const codeelem = li. query(“strong”);
如果(! codeelem)返回;
const firstcode = codeelem. textcontent. trim();
让newpill =空;
const firststrongtext = codeelem. textcontent. trim(). touppercase();
const hasnewtext =/\(新建\)/i. test(li. textcontent);
const hasemnew = array. from(li. queryselectorall(“strong,em”)). some(n =>/new/i. test(n. textcontent)&& n! = codeelem);
if((hasnewtext|| hasemnew)&& firststrongtext! ==“新”){
newpill = doctor. rst element(“span”);
newpill. classname =“new-pill”;
newpill. textcontent =“新建”;
//修复垂直对齊
newpill. style. verticalalign =“middle”;
newpill. style. lineheight =“1. 3”;
}
li. childnodes. foreach(note => {
if(note. nodetype =節点.文本_node)note. textcontent = note. textcontent. replace(/\(new\)/gi,');
if(note. nodetype =節点. element_node &&&/&(em| group)$/i. test(note. tagname)&/new/i. test(note. textcontent)&& note! == codeelem)節点. remove();
});
let button = li. query(“. copy-bdn”);
如果(!按鈕){
button = doctor. element(“button");
button. classname = "copy-btn";
button. type = "button";
button. textcontent = localstorage. getitem(working:${firstcode}) === "true" ? "copied" : "copy";
if (localstorage. getitem(working:${firstcode}) === "true") button. classlist. add("copied");
button. addeventlistener("click", () => {
navigator. clipboard. writetext(firstcode). then(() => {
localstorage. setitem(working:${firstcode},"true");
button. textcontent = "copied";
button. classlist. add("copied");
applytheme(gettheme());
});
});
li. appendchild(button);
}
if (newpill) li.
appendchild(newpill);
});
}
function gettheme() {
const selected = document. queryselector('. theme-switcher input[name="theme"]:checked');
return ! selected|| selected. value === "auto" ? (window. matchmedia("(prefers-color-scheme: dark)"). matches ? "dark" : "light") : selected. value;
}
function applytheme(mode) {
const isdark = mode === "dark";
const formbox = document. getelementbyid('formbox');
const textarea = document. getelementbyid('reporttextarea');
const btn = document. getelementbyid('submitbtn');
const feedback = document. getelementbyid('submitfeedback');
const disclaimer = document. queryselector('#formbox p');
if (disclaimer) disclaimer. style. color = 'var(--theme-color-gray-foreground)';
object. assign(formbox. style, {
color: 'var(--theme-color-foreground)',
backgroundcolor: 'var(--theme-color-background)',
border:1px solid var(--theme-color-foreground)
});
object. assign(textarea. style, {
color: 'var(--theme-color-foreground)',
backgroundcolor: 'var(--theme-color-background)',
bordercolor: 'var(--theme-color-gray-border)'
});
object. assign(btn. style,{
顏色:“var(--theme-colour-background”,
backgroundcolor:' var(--theme-color-primary ',
bordercolor:“var(--theme-color-primary)”
});
if(feedback)feedback. style. color = 'var(--theme-color-gray-foreground)';
document. queryselectorall(“. copy-bt
本文参考自 eurogamer,原始連结:https://www.eurogamer.net/honkai-star-rail-codes-livestream-active-working-how-to-redeem-9321