translator: baumkuchen editors: glitterypanda, serefina
After hanging up the communicator, Ji Zuoshan said to Wang Xizhou, who was so tired that his tongue was lolling out of his mouth next to him, “Let’s go?”
Who would have thought that the hero whom everyone was praising and who could drive countless women crazy was just wearing a pair of dark sunglasses, a black and white plaid sweater, and jeans, and was standing outside a maternity wear store.
Inside was Rosie and Wang Xiaoqing. The former pulled out a leopard print garment from the rack and held it up against Wang Xiaoqing’s body, before it was smacked down by the latter.
Wang Xizhou, whose arms were heavy with shopping bags, said in a small voice, “Ji-dage, I truly admire you. My greatest fear is having to go out shopping with my older sister. I really don’t know where they get all that energy.”
Ji Zuoshan said, “You’re an uncle now, just take it as accompanying your nephew.”
The moment his little nephew was brought up, Wang Xizhou’s eyes lit up, but when he lowered his head again he raged, “Ji-dage, Rosie’s only buying clothes for my sister, where does getting my nephew’s stuff come into this.”
Ji Zuoshan’s response was concise and comprehensive, “Haven’t I bought them?”
He raised the bags of male and female baby clothes, milk powder, and diapers he was holding. He had none of the air of the empire’s battle god.
He said, “When I was small, I used to help my parents take care of the children, so I know what to do.”
Wang Xizhou couldn’t hide his worshipful gaze. “Ji-dage, in the future, I’ll leave the care of mine and Junyun’s kids to you.”
Ji Zuoshan smiled.
Qin Junyun, born to civilian parents, was Wang Xizhou’s deputy company commander. Wang Xizhou was the company commander, but he was harassed by his subordinate, Qin Junyun, day after day. Both of them enjoyed it immensely. Every day, Wang Xizhou would use the best soap to wash his face in order to provide the other with the best pinching experience.
Wang Xizhou once boasted shamelessly that he was spoiling his future wife.
But Ji Zuoshan had seen recordings of Qin Junyun’s battles. No matter how he looked at it, he felt like Wang Xizhou was delivering himself to his doorstep, and even tying a nice, neat bow around his own neck.
But Ji Zuoshan wouldn’t be able to make this big-ego-ed Wang Xizhou come to his senses, so he simply let him do as he wished.
Wang Xizhou leaned on the railing. Overcome with boredom, he cocked his head and looked at Ji Zuoshan. “Ji-dage, the third sweep of the Zerg planet has already ended, so what do you plan on doing from now on?”
Ji Zuoshan raised his head and looked at Rosie’s back.
Since the outside threat had already been exterminated, then, the long-standing military tradition lost its necessity.
Now, there were already more and more people who were speaking out for equal rights in society. Ji Zuoshan planned on raising a suggestion to the military to make the annual compulsory mecha tournament non-mandatory, after letting public opinion ferment for a little longer.
They were originally already born as Betas, so if they wanted to stay as Betas, that was perfectly fine.
If they wanted to become Alphas, they definitely could, but the generous societal resources they would enjoy would be reduced by a considerable amount.
As for Omegas, there were definitely people who would want to become one, but the government would need to limit and control the number of Omegas, establish an Omega protection act, and limit Omegas to only those in aristocracy.
Following that, disarmament and other such matters would have to be continuously carried out, which would inevitably stir up a portion of the conservative faction.
This would be an incredibly long process.
But Ji Zuoshan would use his status as the empire’s battle god to make it happen.
Ji Zuoshan didn’t say too much to Wang Xizhou, simply giving the most basic summary of what he wanted to do, “……I want people to have more of a choice.”
Rosie and Wang Xiaoqing finished picking out clothes, paid, and left the store.
Her hands filled with bulging shopping bags, Rosie smiled and said, “Alright, we’ve bought all the clothes we’ll need from the second month to the tenth month.”
Wang Xiaoqing pinched her waist.
Rosie kissed her face.
Wang Xizhou covered his eyes. “Aiya.”
Ji Zuoshan was smiling, when suddenly, a man burst out from the corner and rushed straight towards Wang Xiaoqing.
Ji Zuoshan took a quick step out to stand in front of Wang Xiaoqing, silently protecting her. He turned and said, “Don’t be afraid.”
&#k2026;&#k2026;With Ji Zuoshan there, how could Wang Xiaoqing be afraid? </p><p>Even if he randomly picked up a can of milk powder and threw it at the man, it would have the impact of a howlitzer.</p><p>But that man didn’t seem to want to attack anyone. When he was a few steps away from Ji Zuoshan, he slid to his knees, cutting a sorry figure as he shuffled forwards and wrapped his arms around Ji Zuoshan’s thigh. “Save me, please save me.”</p><p><span>This person seemed to be a matured Beta without any fighting ability. This was something Ji Zuoshan couldn’t quite believe—— A Beta without any fighting ability should have long since been eliminated in the tournament and turned into an Omega.</span></p><p><span>He was unkempt, with visible lice jumping around in his hair and the strong stench of stale garbage emanating from his clothes. It was extremely probable that he’d snuck in here by hitching a ride in a garbage truck.</span></p><p><span>Rosie held her hand over Wang Xiaoqing’s nose and ushered her backwards.</span></p><p><span>Ji Zuoshan squatted down. “Speak slowly.”</span></p><p><span>That person’s mental state was clearly not very good. His turbid eyeballs spun wildly as he grabbed his shoulders, his entire body trembling. “Please, send me back, bring me back to the Lord God’s space! I don’t want to stay here! He doesn’t even recognise me anymore, why the fuck did I still want to come back here—— I want to go home, please take me back home ha ha ha ha——”</span></p><p><span>Wang Xiaoqing furrowed her brows. “Is he insane?”</span></p><p><span>She didn’t expect that Ji Zuoshan would actually be this patient towards a tramp who’d intruded into the military service area, even stooping down and asking with a serious expression on his face, “You’re from the Lord God’s space? Do…… you know Chi Xiaochi?”</span></p><p><span>A pair of dirty hands grabbed him by that lapels. He was already unable to hear anything anyone else said to him. His sharp nails scrabbled neurotically at his sweater. “Take me back, I want to go back to my own world……”</span></p><p><span>Hearing the ruckus, bodyguards came over. After apologising to Ji Zuoshan, they grabbed his hands, wanting to drag him down.</span></p><p><span>That person struggled madly. “Lord God, that bastard Lord God, I want to kill him!! Kill him!!”</span></p><p><span>Ji Zuoshan thought for a moment. “Wait.”</span></p><p><span>One of the bodyguards already managed to recognise him. He sucked in a breath of cold air, and his hands began to tremble with excitement.</span></p><p><span>Ji Zuoshan quietly shushed the two bodyguards, then turned to look at the man with the crazed look in his eyes. He had a guess in his heart. “Take him away. Clean him up first, don’t treat him too harshly. I’ll take him with me when I leave.”</span></p><p><span>…… </span></p><p><span>The moment Chi Xiaochi completed his fourth world’s task, his information was instantly sent to the “Space Between Moments”.</span></p><p><span>Host number: No. 1198</span></p><p><span>Host name: Chi Xiaochi</span></p><p><span>World Difficulty Level Assessment: A-rank</span></p><p><span>Degree of world completion: 100</span></p><p><span>Host status assessment: All functions are good and stable, can be transmitted at any time.</span></p><p><span>Total entropy value: 98 (Below average of 4190)</span></p><p><span>That bright red 98 disgusted the Lord God to the point that the folds of his brain began to tense up.</span></p><p><span>His voice was so deep that it made the skin of one’s scalp tingle, “What exactly happened?”</span></p><p><span>Since watching 061 become a mecha, the Lord God hadn’t paid any more attention to the progress of this world. After all, he still had a lot of other worlds to manage.</span></p><p><span>The AI was silent for a while. “My apologies, I was also busy with a lot of things during this period.”</span></p><p><span>The Lord God burst into a violent rage, “Didn’t I tell you to keep an eye on 061?”</span></p><p><span>The AI, “Is sir angry again.”</span></p><p><span>The Lord God, “……”</span></p><p><span>“I’ve already prepared the next world for him.” After taking a moment to calm down, the Lord God’s mood was finally settling. “Call 089 over. It’s time for his report.”</span></p><p><span>In the “Space Between Moments”, 089 reported one by one the lottery numbers he’d recently registered. After determining that there were no errors with the data, he turned off the display screen in his hand. A pair of simple-minded peach blossom eyes curved like a crescent moon. “<span>Laoda</span>, is there anything else?”</span></p><p><span>The Lord God asked, “How much more before you finish your task?”</span></p><p><span>089 took out a pen and wrote down a quick calculation on his hand, “About two thousand more.”</span></p><p><span>The Lord God said, “How is work?”</span></p><p><span>089 said sincerely, “It’s just that I’m not allowed to snack while working. It’s really annoying, and 023 refuses to download films for me. He has something against me, there’s such a difference in treatment, Laoda, you need to do more about this self-centered thinking, and promote ‘one for all, all for one’……”</span></p><p><span>He went on and on with his rambling complaints for about a quarter of an hour.</span></p><p><span>The Lord God, “……” My head hurts.</span></p><p><span>He shut his mouth, then stared at the Lord God with clear eyes, as if eager to go on.</span></p><p><span>The Lord God, “……Alright, you can go now.”</span></p><p><span>089 said, disappointed, “Laoda, you’re not going to talk about our feelings with me?”</span></p><p><span>The Lord God, “……” I don’t want to waste time talking to a chatterbox.</span></p><p><span>089, who was unable to receive his boss’ care, resentfully left.</span></p><p><span>The Lord God asked, “Has the Trojan horse been implanted?”</span></p><p><span>The AI answered, “Yes.”</span></p><p><span>Thinking about the extent of his chattiness, even the Lord God couldn’t help but feel a little frightened. “……Next time, we should just implant it remotely after all.”</span></p><p><span>Every time he wanted to influence the task progress of a host, he would always install an interference Trojan into 089’s brain.</span></p><p><span>In order to avoid exposing itself, this Trojan wouldn’t have any impact on 089 himself. And after it succeeded in its interference, the Trojan virus would “commit suicide”, destroying the evidence of its crimes in one go. </span></p><p><span>The Lord God sneered.</span></p><p><span>……It was all thanks to 089 being a hard-to-come-by idiot.</span></p><p><span>Not long after 089 left the “Space Between Moments”, he just so happened to bump into 061, who was heading in the opposite direction to him.</span></p><p><span>He moved up close, his eyes brimming with tears of excitement as he said, “Oh yo, you devil, why haven’t you come back to visit even once in so long?”</span></p><p><span>061 looked to be in a good mood. “Darling, don’t be angry, my heart only has you.”</span></p><p><span>089 smacked the back of 061’s hand, and said shyly, “<span>Ew, shameless.</span>”</span></p><p><span>Then he covered his face, let out a bell-like, coquettish laugh that was hard to describe in words, then pattered over to 023’s office, opened the door and went inside.</span></p><p><span>023’s voice soon sounded from behind the half-closed door, “Security, security, a psycho came into my office, can you deal with him?”</span></p><p><span>061, watching 089 leave, smiled slightly, then prepared to head towards the archive room, wanting to investigate his past performance record.</span></p><p><span>However, after taking just a few steps, he sensed something strange.</span></p><p><span>061 raised the hand that 089 had smacked, and found that it had been stained with ink.</span></p><p><span>Other than a string of formulas of unknown meaning, there was a line of words that had been written upside-down, “Be careful in the next world.”</span></p><p><span>061 frowned. He looked at the archive room still a few steps away, thought for a moment, then walked to the small store next to the archive room.</span></p><p><span>As he walked into the shop, a single, silent eye appeared in the keyhole of the doorknob of the door to the archive room.</span></p><p><span>It turned to the store 061 had entered, then narrowed slightly, as if trying to figure out his intentions.</span></p><p><span>Soon, 061 came out of the store with a plastic bag. In the bag were 089’s favourite melon seeds and 023’s favourite waffles.</span></p><p><span>That eye immediately shut, the door’s lock returning to its original appearance.</span></p><p><span>When 061 brought the stuff to 023’s office, the two were currently fighting, too absorbed in their own matter to pay him any mind. He smiled and returned to Chi Xiaochi’s body.</span></p><p><span>Chi Xiaochi had chosen to go back to the tube-shaped apartments during his break again. It seemed like other than that place, he didn’t have anywhere else he particularly wanted to visit.</span></p><p><span>One human and one system communicated through the phone, even discussing what pesky problems might pop up in the next world.</span></p><p><span>Thinking of the message in ink 089 had left on the back of his hand, 061 had a bad feeling.</span></p><p><span>When the break ended, and he and Chi Xiaochi were successfully transmitted over and he saw the scene before him, he was even a little confused.</span></p><p><span>Because everything looked incredibly normal.</span></p><p><span>When Chi Xiaochi opened his eyes, he was a little surprised by the furnishing around him.</span></p><p><span>He said to himself, “A dressing room?”</span></p><p><span>This place was the very picture of a modern film set’s dressing room. There were two rows of vanities, placed against the walls, facing each other. There were many clothing racks chaotically lined together. Other than him, there was no one else in the room.</span></p><p><span>He just so happened to be facing a mirror.</span></p><p><span>Chi Xiaochi raised a hand to the corner of his eye.</span></p><p><span>This was a good-looking face, but what was even more attention-grabbing was its pair of mismatched pupils.</span></p><p><span>His left eye was lake-blue, and his right was amber. Matched with Chi Xiaochi’s lazy gaze, he looked like a Persian cat licking its claws as it lay in front of the stove.</span></p><p><span>However, as someone he suspected was an actor, his makeup wasn’t on, and his face was pale, looking to be in very bad condition.</span></p><p><span>Chi Xiaochi looked at the face in the mirror, and commented seriously, “<span>Kidney problems, can sometimes occur after excessive activity</span>.”</span></p><p><span>But 061 didn’t pick up on his play.</span></p><p><span>According to what Chi Xiaochi and 061 had discussed beforehand, he had initially thought that this would be some ancient world. After all, from what 061 had once said, the more worlds he went through, the further they would be from his original world.</span></p><p><span>Just as he wanted to get up and take a look around, he heard a female voice coming from the door, “Chunyang…… Aiya, why aren’t you done putting on your makeup?! The director’s getting impatient.”</span></p><p><span>A woman appeared at the door of the dressing room.</span></p><p><span>Chi Xiaochi looked over.</span></p><p><span>……The woman was gorgeous, with flawless makeup, but from her neck down, there was nothing but empty air.</span></p><p><span>Her head floated in mid-air like a balloon, smiling at Chi Xiaochi.</span></p><p><span>After that, the balloon drifted away.</span></p><p><span>Only after confirming that she had left did the breath Chi Xiaochi had been holding finally come out.</span></p><p><span>His voice sounded like a chicken that was screaming as it was being strangled, “……Liu-laoshi, what was that?!”</span></p><p><span>An unfamiliar male voice completely different from 061’s sounded in his mind, “Song Chunyang, your eighth mission has begun. Please arrive at the set on time and begin your mission.”</span></p><p><span>……Only then did Chi Xiaochi realise, that since entering this world, 061 hadn’t said a single word.</span></p><p><span>The author has something to say:</span></p><p><span>Xiaochi in the next world:</span></p><p><span>Ah ah ah ah ah ah——</span></p><hr><p><span>sere: tOO MUC H PLOT SUDDENLY?? My seal baby??? CXC??? 061??? WHAT IS HAPPENING?</span></p><p>baum: and with that, that’s the end of this arc! see you all next week~ </p></div></div><div class="fwn-slot-host fwn-slot-bottom text-center" data-ad-slot="chapter_bottom"><!-- BEGIN AADS AD UNIT 2382097 --><div id="frame" style="width: 300px;margin: auto;z-index: 99998;height: auto"><iframe data-aa='2382097' src='//ad.a-ads.com/2382097/?size=300x250'
style='border:0; padding:0; width:300px; height:250px; overflow:hidden;display: block;margin: auto'></iframe></div><!-- END AADS AD UNIT 2382097 --></div><div class="ul-list7 ul-list7-bottom"><ul><li class="prev"><a href="/dont-pick-up-boyfriends-from-the-trash-bin/chapter-ch861-i-hear-im-a-battle-god-231.html" data-nav="prev" title="Chapter Ch86.1 - I Hear I'm a Battle God (23.1)"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>Prev Chapter
</a></li><li><a href="javascript:;" class="a1 chapter_jump" title="Chapter list"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span></a><div class="catalog"><select class="js-chapter-catalog" title="Select chapter" aria-label="Select chapter"><option value="">Chapter list</option></select></div></li><li class="reader-next-item"><a href="/dont-pick-up-boyfriends-from-the-trash-bin/chapter-87-the-cycle-of-karma-what-goes-around-comes-around-1.html" data-nav="next" title="Read Next chapter">
Next Chapter<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></a></li></ul></div><div class="chapter-report-card"><p>If you find any errors (non-standard content, ads redirect, broken links, etc..), Please let us know so we can fix it as soon as possible.</p><a
href="javascript:;"
class="chapter-report-link report error"
id="chapter_error"
data-chapter-id="1324273"
data-novel-id="1252"
title="Report chapter"
><svg class="chapter-report-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M8.4 11V5.2a1.35 1.35 0 0 1 2.7 0V9m0-3.9V3.8a1.35 1.35 0 0 1 2.7 0V9m0-4.2a1.35 1.35 0 0 1 2.7 0V10m0-3.4a1.35 1.35 0 0 1 2.7 0v6.1c0 4.8-2.5 7.3-6.8 7.3h-1.2c-2.4 0-3.6-.8-4.8-2.5l-2.8-4a1.5 1.5 0 0 1 2.3-1.9l2.5 2.1V11Z"/></svg><span>Report</span></a></div><div class="text-center chapter-extra-actions"><a
href="javascript:;"
class="library set-case add js-library-toggle"
data-articleid="1252"
data-chapterid="1324273"
data-in-library="0"
title="Add to Library"
><span class="glyphicon glyphicon-plus" aria-hidden="true"></span><span class="library-label">Add to Library</span></a><a href="javascript:;" class="showcomment" id="chapter-show-comments" title="Comments"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span><span id="total-tomm2">0</span> Comments
</a></div><p class="tips">Use arrow keys (or A / D) to PREV/NEXT chapter</p><div id="e-comments" class="m-newest3" style="display:none;margin-bottom:1em"><div
class="m-newest3 comments-widget comment-box"
id="novel-comments"
data-novel-id="1252"
data-chapter-id="1324273"
data-comment-context="chapter"
data-guest="1"
data-login-url="/login"
data-page-size="3"
data-reply-page-size="2"
data-total-count="0"
data-comments="[]"
data-lazy="1"
data-list-url="/ajax-comment-list"
><div class="g-tit comment-heading"><h3 class="tit"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span>
Chapter Comments <span class="badge" id="comment-count">0</span></h3><a href="javascript:void(0)" class="comment-rules-link comment-rules-open" title="Posting Rules"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
Posting Rules
</a></div><div class="comment-panel"><div class="comment-composer"><p class="text-muted"><a href="javascript:void(0)" class="js-open-login" onclick="if(window.openLoginPopup){openLoginPopup();return false;}">Log in</a>
to leave a comment.
</p></div><div id="comment-list" class="comment-list"><p class="text-muted" id="comment-loading">Loading comments…</p></div><div class="comment-load-more-wrap text-center" id="comment-load-more-wrap" style="display:none"><button type="button" class="btn btn-default btn-sm comment-load-more-btn" id="comment-load-more">
Load more comments
</button></div></div></div><div class="modal fade" id="comment-rules-modal" tabindex="-1" role="dialog" aria-labelledby="comment-rules-title"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="comment-rules-title">Comment rules</h4></div><div class="modal-body comment-rules-body"><p>Please keep discussions friendly and useful for other readers.</p><ol><li>No spam, advertising, or self-promotion.</li><li>No links or URLs (including obfuscated ones).</li><li>No harassment, hate speech, or illegal content.</li><li>No spoilers without a clear warning.</li><li>Stay on topic about this chapter.</li></ol><p>Comments that break these rules may be removed.</p></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div></div></div></div><div id="fwn-tts-float" class="float-container flex-row align-center speak-float-btn fwn-tts-float skiptranslate" style="display:none;" translate="no" hidden><button type="button" id="fwn-tts-float-play" class="control-btn flex-center glyphicon glyphicon-play speak-switch-fl skiptranslate" title="Play or pause" aria-label="Play or pause text to speech" translate="no"></button><button type="button" id="fwn-tts-float-stop" class="control-btn flex-center glyphicon glyphicon-stop speak-close-fl skiptranslate" title="Stop" aria-label="Stop text to speech" translate="no"></button></div><div id="google_translate_element" class="fwn-gt-host skiptranslate" aria-hidden="true" translate="no"></div></main><div id="login-popup" class="login-popup" aria-hidden="true"><div class="login-popup-mask js-login-popup-close"></div><div class="login-popup-dialog" role="dialog" aria-modal="true" aria-label="Login"><button type="button" class="login-popup-close js-login-popup-close" title="Close" aria-label="Close">×</button><div class="login-auth" data-login-auth="popup"><div class="login-auth-panel is-active" data-panel="home"><h3 class="login-popup-title login-auth-title">Welcome to NOVGO</h3><a class="login-popup-google login-auth-google" href="/auth/google" title="Log in with Google" data-base-href="/auth/google"><span class="login-popup-google-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="22" height="22"><path fill="#FFC107" d="M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3 0 5.8 1.1 7.9 3l5.7-5.7C34 5.5 29.3 3.5 24 3.5 12.7 3.5 3.5 12.7 3.5 24S12.7 44.5 24 44.5 44.5 35.3 44.5 24c0-1.2-.1-2.3-.4-3.5z"/><path fill="#FF3D00" d="M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3 0 5.8 1.1 7.9 3l5.7-5.7C34 5.5 29.3 3.5 24 3.5 16.3 3.5 9.6 7.8 6.3 14.7z"/><path fill="#4CAF50" d="M24 44.5c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.7 26.7 36.5 24 36.5c-5.3 0-9.7-3.4-11.3-8.1l-6.5 5C9.5 40.1 16.2 44.5 24 44.5z"/><path fill="#1976D2" d="M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.3 4.1-4.2 5.4l.1.1 6.2 5.2C39.2 36.3 44.5 31 44.5 24c0-1.2-.1-2.3-.4-3.5z"/></svg></span><span>Log in with Google</span></a><button type="button" class="login-auth-email-btn" data-goto="login"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
Log in with Email
</button><p class="login-popup-hint login-auth-hint">
Don't have an account?<br><button type="button" class="login-auth-link" data-goto="register">Sign up with your email address.</button></p></div><div class="login-auth-panel" data-panel="login" hidden><h3 class="login-popup-title login-auth-title">Log in with Email</h3><form class="login-auth-form" data-auth-form="login" autocomplete="on" novalidate><label class="login-auth-label" for="popup-login-email">Email</label><input class="form-control login-auth-input" id="popup-login-email" type="email" name="email" required autocomplete="email"><div class="login-auth-alert" data-error="email"></div><label class="login-auth-label" for="popup-login-password">Password</label><input class="form-control login-auth-input" id="popup-login-password" type="password" name="password" required autocomplete="current-password"><div class="login-auth-alert" data-error="password"></div><div class="login-auth-row"><label class="login-auth-remember"><input type="checkbox" name="remember" value="1" checked>
Remember Me
</label><button type="button" class="login-auth-link" data-goto="forgot">Forgot Password?</button></div><div class="login-auth-alert" data-error="form"></div><div class="login-auth-actions"><button type="button" class="btn btn-default login-auth-back" data-goto="home">Back</button><button type="submit" class="btn btn-primary login-auth-submit">Login</button></div></form></div><div class="login-auth-panel" data-panel="register" hidden><h3 class="login-popup-title login-auth-title">Sign Up</h3><a class="login-popup-google login-auth-google" href="/auth/google" title="Sign up with Google" data-base-href="/auth/google"><span class="login-popup-google-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="22" height="22"><path fill="#FFC107" d="M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3 0 5.8 1.1 7.9 3l5.7-5.7C34 5.5 29.3 3.5 24 3.5 12.7 3.5 3.5 12.7 3.5 24S12.7 44.5 24 44.5 44.5 35.3 44.5 24c0-1.2-.1-2.3-.4-3.5z"/><path fill="#FF3D00" d="M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3 0 5.8 1.1 7.9 3l5.7-5.7C34 5.5 29.3 3.5 24 3.5 16.3 3.5 9.6 7.8 6.3 14.7z"/><path fill="#4CAF50" d="M24 44.5c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.7 26.7 36.5 24 36.5c-5.3 0-9.7-3.4-11.3-8.1l-6.5 5C9.5 40.1 16.2 44.5 24 44.5z"/><path fill="#1976D2" d="M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.3 4.1-4.2 5.4l.1.1 6.2 5.2C39.2 36.3 44.5 31 44.5 24c0-1.2-.1-2.3-.4-3.5z"/></svg></span><span>Sign up with Google</span></a><div class="login-auth-divider"><span>or</span></div><form class="login-auth-form" data-auth-form="register" autocomplete="on" novalidate><label class="login-auth-label" for="popup-reg-email">Email</label><input class="form-control login-auth-input" id="popup-reg-email" type="email" name="email" required autocomplete="email"><div class="login-auth-alert" data-error="email"></div><label class="login-auth-label" for="popup-reg-name">Username</label><input class="form-control login-auth-input" id="popup-reg-name" type="text" name="name" required minlength="2" autocomplete="nickname"><div class="login-auth-alert" data-error="name"></div><label class="login-auth-label" for="popup-reg-password">Password</label><input class="form-control login-auth-input" id="popup-reg-password" type="password" name="password" required minlength="6" autocomplete="new-password"><div class="login-auth-alert" data-error="password"></div><label class="login-auth-label" for="popup-reg-confirm">Confirm Password</label><input class="form-control login-auth-input" id="popup-reg-confirm" type="password" name="confirm-password" required minlength="6" autocomplete="new-password"><div class="login-auth-alert" data-error="confirm-password"></div><div class="login-auth-alert" data-error="form"></div><div class="login-auth-actions"><button type="button" class="btn btn-default login-auth-back" data-goto="home">Back</button><button type="submit" class="btn btn-primary login-auth-submit">Sign Up</button></div></form></div><div class="login-auth-panel" data-panel="forgot" hidden><h3 class="login-popup-title login-auth-title">Forgot password</h3><p class="login-popup-desc login-auth-desc-compact">Enter your account email and we’ll send a reset link.</p><form class="login-auth-form" data-auth-form="forgot" autocomplete="on" novalidate><label class="login-auth-label" for="popup-forgot-email">Email</label><input class="form-control login-auth-input" id="popup-forgot-email" type="email" name="email" required autocomplete="email" placeholder="Email"><div class="login-auth-alert" data-error="email"></div><div class="login-auth-alert" data-error="form"></div><div class="login-auth-actions"><button type="button" class="btn btn-default login-auth-back" data-goto="login">Back</button><button type="submit" class="btn btn-primary login-auth-submit">Send</button></div></form></div><div class="login-auth-panel" data-panel="message" hidden><h3 class="login-popup-title login-auth-title">Check your email</h3><div class="login-auth-message" data-auth-message></div><div class="login-auth-actions" style="margin-top:16px"><button type="button" class="btn btn-default login-auth-back" data-goto="home">Back</button></div></div></div></div></div><footer class="footer skiptranslate" translate="no"><div class="container fwn-wp"><div class="ll fwn-footer-ll"><a href="/" class="fwn-footer-brand" title="Novgo.net">Novgo.net</a><div class="fwn-theme-picker fwn-footer-themes footer-theme-swatches" role="group" aria-label="Interface theme"><div class="fwn-theme-swatches"><button
type="button"
class="fwn-theme-swatch"
data-theme="green"
style="--swatch: #009688"
title="Green"
aria-label="Green theme"
aria-pressed="false"
></button><button
type="button"
class="fwn-theme-swatch is-active"
data-theme="navy"
style="--swatch: #14425d"
title="Navy"
aria-label="Navy theme"
aria-pressed="true"
></button><button
type="button"
class="fwn-theme-swatch"
data-theme="purple"
style="--swatch: #6857B8"
title="Purple"
aria-label="Purple theme"
aria-pressed="false"
></button><button
type="button"
class="fwn-theme-swatch"
data-theme="blue"
style="--swatch: #3974a9"
title="Blue"
aria-label="Blue theme"
aria-pressed="false"
></button></div></div><br><span class="fwn-footer-text">Light Novels & Web Novels Online</span></div><nav class="rr fwn-footer-rr" aria-label="Site information"><a href="/about" title="About NOVGO">About Us</a><span class="fwn-footer-sep" aria-hidden="true"> · </span><a href="/contact" title="Contact us">Contact Us</a><span class="fwn-footer-sep" aria-hidden="true"> · </span><a href="/dmca" title="Copyright and content removal">Copyright Policy</a><span class="fwn-footer-sep" aria-hidden="true"> · </span><a href="/sitemap.xml" title="Sitemap" target="_blank" rel="noopener">Sitemap</a><br><a href="/privacy" title="Privacy Policy">Privacy Policy</a><span class="fwn-footer-sep" aria-hidden="true"> · </span><a href="/tos" title="Terms of Use">Terms of Use</a><a class="backtop" href="#" rel="nofollow" title="Back to top" aria-label="Back to top"><span class="glyphicon glyphicon-upload"></span></a></nav></div></footer></div><script type="text/javascript" src="/web/js/vendor/plugins-core.js?v=2"></script><script type="text/javascript" src="/web/js/app/scripts.js?v=16"></script><script type="text/javascript" src="/web/js/app/fwn-theme.js?v=16" async></script><script type="text/javascript" src="/web/js/app/member.js?v=23"></script><script type="text/javascript" src="/web/js/app/chapter-reader.js?v=39"></script><script type="text/javascript" src="/web/js/app/reader-google-translate.js?v=6"></script><script type="text/javascript">
window.fwnChapterNovel = {
id: 1252,
name: "Don’t Pick Up Boyfriends From the Trash Bin",
url: "\/dont-pick-up-boyfriends-from-the-trash-bin.html",
chapter: {
id: 1324273,
name: "Chapter Ch86.2 - I Hear I'm a Battle God (End)",
url: "\/dont-pick-up-boyfriends-from-the-trash-bin\/chapter-ch862-i-hear-im-a-battle-god-end.html" }
};
(function () {
var novel = window.fwnChapterNovel;
function normalizePath(url) {
try {
var a = document.createElement('a');
a.href = url || '';
return (a.pathname || '').replace(/\/+$/, '');
} catch (e) {
return String(url || '').replace(/\/+$/, '');
}
}
function selectCurrent(sel) {
var cur = normalizePath((novel.chapter && novel.chapter.url) || window.location.pathname);
var opts = sel.options;
var found = false;
for (var i = 0; i < opts.length; i++) {
var match = normalizePath(opts[i].value) === cur;
opts[i].selected = match;
if (match) found = true;
}
if (!found) sel.selectedIndex = 0;
}
function fillFromHtml(sel, html) {
var wrap = document.createElement('div');
wrap.innerHTML = html || '';
var src = wrap.querySelector('select');
if (!src || !src.options.length) return false;
sel.innerHTML = '';
while (src.firstChild) sel.appendChild(src.firstChild);
if (sel.className.indexOf('fwn-chapter-jump-select') === -1) {
sel.className += (sel.className ? ' ' : '') + 'fwn-chapter-jump-select chapter_jump';
}
selectCurrent(sel);
sel.onchange = function () {
if (sel.value) window.location = sel.value;
};
return true;
}
function openCatalog(btn) {
var nav = btn.closest('.ul-list7');
var li = btn.parentNode;
var catalog = li && li.querySelector ? li.querySelector('.catalog') : null;
if (!catalog && nav) catalog = nav.querySelector('.catalog');
if (!catalog) return;
var sel = catalog.querySelector('select');
if (!sel) return;
if (btn.getAttribute('data-catalog-loading') === '1') return;
btn.style.display = 'none';
catalog.classList.add('is-open');
if (nav) nav.classList.add('is-catalog-open');
if (sel.getAttribute('data-catalog-loaded') === '1') {
selectCurrent(sel);
sel.focus();
return;
}
btn.setAttribute('data-catalog-loading', '1');
catalog.setAttribute('aria-busy', 'true');
sel.setAttribute('aria-label', 'Choose a chapter');
sel.disabled = true;
sel.setAttribute('data-loading-only', '1');
sel.innerHTML = '<option>Loading...</option>';
var status = li.querySelector('.fwn-catalog-status');
if (!status) {
status = document.createElement('span');
status.className = 'fwn-catalog-status';
status.setAttribute('role', 'status');
status.setAttribute('aria-live', 'polite');
li.appendChild(status);
}
status.textContent = '';
status.hidden = true;
var controller = window.AbortController ? new AbortController() : null;
var timeout = setTimeout(function () { if (controller) controller.abort(); }, 15000);
function failed() {
catalog.classList.remove('is-open');
if (nav) nav.classList.remove('is-catalog-open');
btn.style.display = '';
btn.textContent = 'Retry catalog';
btn.setAttribute('aria-label', 'Retry loading the chapter list');
status.textContent = 'Chapter list unavailable. Please try again.';
status.hidden = false;
btn.focus();
}
function finished() {
clearTimeout(timeout);
btn.removeAttribute('data-catalog-loading');
catalog.removeAttribute('aria-busy');
sel.removeAttribute('data-loading-only');
}
var url = (window.ajaxChapterOptionUrl || '/ajax-chapter-option')
+ '?novelId=' + encodeURIComponent(novel.id)
+ '¤tChapterId=' + encodeURIComponent(novel.chapter.id);
fetch(url, { credentials: 'same-origin', signal: controller ? controller.signal : undefined })
.then(function (r) { if (!r.ok) throw new Error('Chapter list HTTP ' + r.status); return r.text(); })
.then(function (html) {
if (!fillFromHtml(sel, html)) throw new Error('Invalid chapter list');
sel.setAttribute('data-catalog-loaded', '1');
sel.disabled = false;
finished();
sel.focus();
})
.catch(function () {
finished();
failed();
});
}
function setSettingsOpen(open) {
var panel = document.getElementById('fwn-settings-body');
var toggle = document.getElementById('fwn-settings-toggle');
var nav = toggle ? toggle.closest('.ul-list7') : document.querySelector('.ul-list7-top');
if (nav) nav.classList.toggle('is-settings-open', open);
if (panel) {
panel.classList.toggle('is-settings-open', open);
if (open) {
panel.removeAttribute('hidden');
panel.hidden = false;
panel.style.display = '';
} else {
panel.setAttribute('hidden', 'hidden');
panel.hidden = true;
}
}
if (toggle) toggle.setAttribute('aria-expanded', open ? 'true' : 'false');
}
if (!window.__fwnChapterCatalogBound) {
window.__fwnChapterCatalogBound = true;
document.addEventListener('click', function (e) {
var t = e.target;
if (!t || !t.closest) return;
var listBtn = t.closest('a.a1.chapter_jump, a.chapter_jump, button.chapter_jump');
if (listBtn) {
e.preventDefault();
e.stopPropagation();
openCatalog(listBtn);
return;
}
var settingsBtn = t.closest('#fwn-settings-toggle, a.a2');
if (settingsBtn && (settingsBtn.id === 'fwn-settings-toggle' || settingsBtn.classList.contains('a2'))) {
if (window.FwnChapterReader && typeof jQuery !== 'undefined') return;
e.preventDefault();
e.stopPropagation();
var nav = settingsBtn.closest('.ul-list7');
var open = !(nav && nav.classList.contains('is-settings-open'));
setSettingsOpen(open);
return;
}
if (!t.closest('.ul-list7.is-settings-open, #fwn-settings-toggle, a.a2, #fwn-settings-body')) {
if (document.querySelector('.ul-list7.is-settings-open')) setSettingsOpen(false);
}
}, true);
}
})();
(function bootChapterPage($) {
if (!$ || !$.fn) {
console.error('[FWN] jQuery missing — plugins-core.js failed to load');
return;
}
$(document).ready(function () {
var novel = window.fwnChapterNovel;
var $navBar = $('.m-read .toggle-nav-open');
$navBar.on('click', function (e) {
e.preventDefault();
var open = $(this).hasClass('on') ? 'close' : 'open';
if (open === 'open') {
$('body').addClass('toggleNav');
$('#container').addClass('active');
$navBar.addClass('on active');
} else {
$navBar.removeClass('on active');
$('#container').removeClass('active');
$('body').removeClass('toggleNav');
}
var style = (window.FwnChapterReader && FwnChapterReader.getStyle)
? FwnChapterReader.getStyle()
: {};
style.navBar = open;
var expDate = new Date();
expDate.setTime(expDate.getTime() + (365 * 24 * 60 * 60 * 1000));
var cookieOpts = {path: '/', expires: expDate};
if (location.protocol === 'https:') cookieOpts.secure = true;
if ($.cookie) $.cookie('chapter_style', JSON.stringify(style), cookieOpts);
$('header, .cur, .navbar-breadcrumb, .fwn-genre-bar').toggle(open !== 'open');
});
var $nextChap = $('a[data-nav="next"][href]').filter('[href]').first();
var $prevChap = $('a[data-nav="prev"][href]').filter('[href]').first();
$(document).off('keydown.fwnChapterNavigation').on('keydown.fwnChapterNavigation', function (e) {
var original = e.originalEvent || e;
if (e.ctrlKey || e.metaKey || e.altKey || e.shiftKey || original.repeat
|| e.isComposing || original.isComposing || e.keyCode === 229
|| e.defaultPrevented || original.defaultPrevented
|| (e.isDefaultPrevented && e.isDefaultPrevented())) return;
var key = String(e.key || original.key || '').toLowerCase();
var code = e.which || e.keyCode || e.charCode;
var next = key ? (key === 'arrowright' || key === 'right' || key === 'd') : (code === 39 || code === 68);
var prev = key ? (key === 'arrowleft' || key === 'left' || key === 'a') : (code === 37 || code === 65);
if (!next && !prev) return;
var target = e.target && e.target.nodeType === 1 ? e.target : document.activeElement;
if (!target || target.isContentEditable || $(target).closest(
'input,textarea,select,option,button,a,summary,label,audio,video,iframe,'
+ '[contenteditable]:not([contenteditable="false"]),'
+ '[role="button"],[role="link"],[role="textbox"],[role="combobox"],'
+ '[role="listbox"],[role="menu"],[role="menuitem"],[role="slider"],'
+ '[role="spinbutton"],[role="switch"],[role="tab"],[role="checkbox"],[role="radio"]'
).length) return;
if ($('[role="dialog"]:visible,[role="alertdialog"]:visible,[aria-modal="true"]:visible,'
+ 'dialog[open]:visible,.modal:visible,#fwn-settings-body:visible').length) return;
var $destination = next ? $nextChap : $prevChap;
var href = $destination.attr('href') || '';
if (!$destination.length || !href || /^javascript:/i.test(href)
|| $destination.is('[disabled],.is-disabled,[aria-disabled="true"]')
|| $destination.closest('li.is-disabled').length) return;
e.preventDefault();
window.location = href;
});
if (window.FwnChapterReader) {
FwnChapterReader.init();
}
(function () {
if (!novel.id || String(novel.id) === '0') return;
if (window.FwnHistory && window.FwnHistory.record) {
window.FwnHistory.record(novel);
return;
}
var novels = window.readHistoryCookie ? window.readHistoryCookie() : [];
if (!$.isArray(novels)) novels = [];
for (var i = novels.length - 1; i >= 0; i--) {
if (novels[i] && String(novels[i].id) === String(novel.id)) {
novels.splice(i, 1);
}
}
novels.unshift(novel);
var out = window.writeHistoryCookie
? window.writeHistoryCookie(novels)
: novels.slice(0, 30);
if (window.memberLoggedIn && window.ajaxHistorySyncUrl && out && out.length) {
$.ajax({
type: 'POST',
url: window.ajaxHistorySyncUrl,
dataType: 'json',
data: {history: JSON.stringify(out)}
});
}
})();
$('#chapter_error').on('click', function (e) {
e.preventDefault();
var $btn = $(this);
var reason = prompt('Please describe error', '');
if (reason == null) return;
reason = $.trim(reason);
if (!reason) {
alert('Please enter a description.');
return;
}
var chapterId = $btn.attr('data-chapter-id') || (novel.chapter && novel.chapter.id) || '';
var novelId = $btn.attr('data-novel-id') || novel.id || '';
if (!chapterId) {
alert('Missing chapter id. Please refresh the page.');
return;
}
var r64 = window.btoa(unescape(encodeURIComponent(reason)));
$.ajax({
type: 'POST',
url: ajaxReportChapterUrl,
dataType: 'json',
data: {chapter: chapterId, novel: novelId, r64: r64}
}).done(function (data) {
if (data && data.success) alert('Thanks report');
else alert((data && data.message) ? data.message : 'Failed to send report. Please try again.');
}).fail(function () {
alert('Failed to send report. Please try again.');
});
});
$('.showcomment').on('click', function (e) {
e.preventDefault();
var $box = $('#e-comments');
if (!$box.length) return;
var open = !$box.is(':visible');
$box.toggle(open);
if (open) {
$('html, body').animate({scrollTop: Math.max(0, $box.offset().top - 12)}, 280);
}
});
(function syncCommentCount() {
var $badge = $('#comment-count');
var n = $badge.length ? $.trim($badge.text()) : '';
if (n !== '') $('#total-tomm2').text(n);
var $wrap = $('#novel-comments');
if ($wrap.length && $wrap.attr('data-total-count')) {
$('#total-tomm2').text($wrap.attr('data-total-count'));
}
})();
$(document).on('click', '.js-library-toggle', function (e) {
e.preventDefault();
var $btn = $(this);
if ($btn.data('busy')) return;
if (!window.memberLoggedIn) {
if (window.openLoginPopup) openLoginPopup();
else window.location = window.loginUrl || '/login';
return;
}
var novelId = $btn.data('articleid') || novel.id;
var chapterId = $btn.data('chapterid') || (novel.chapter && novel.chapter.id) || 0;
if (!novelId) return;
$btn.data('busy', 1);
var toggleUrl = window.ajaxLibraryToggleUrl || '/ajax-library-toggle';
toggleUrl += (toggleUrl.indexOf('?') >= 0 ? '&' : '?')
+ 'novelId=' + encodeURIComponent(novelId);
$.ajax({
url: toggleUrl,
type: 'POST',
dataType: 'json',
data: {novelId: novelId, id: novelId, chapterId: chapterId}
}).done(function (rs) {
if (!rs || !rs.success) {
alert((rs && (rs.message || rs.error)) || 'Failed to update library.');
return;
}
var on = !!rs.in_library;
$btn.attr('data-in-library', on ? '1' : '0');
$btn.toggleClass('add', !on).toggleClass('in', on);
$btn.find('.glyphicon').attr('class', 'glyphicon glyphicon-' + (on ? 'ok' : 'plus'));
$btn.find('.library-label').text(on ? 'In Library' : 'Add to Library');
$btn.attr('title', on ? 'In Library' : 'Add to Library');
}).fail(function () {
alert('Failed to update library.');
}).always(function () {
$btn.data('busy', 0);
});
});
(function syncLibraryBtn() {
var $btn = $('.js-library-toggle').first();
var novelId = $btn.data('articleid') || novel.id;
if (!$btn.length || !novelId || !window.memberLoggedIn || !window.ajaxLibraryCheckUrl) return;
$.getJSON(window.ajaxLibraryCheckUrl, {novelId: novelId}).done(function (rs) {
if (!rs || !rs.success) return;
var on = !!rs.in_library;
$btn.attr('data-in-library', on ? '1' : '0');
$btn.toggleClass('add', !on).toggleClass('in', on);
$btn.find('.glyphicon').attr('class', 'glyphicon glyphicon-' + (on ? 'ok' : 'plus'));
$btn.find('.library-label').text(on ? 'In Library' : 'Add to Library');
$btn.attr('title', on ? 'In Library' : 'Add to Library');
});
})();
});
})(window.jQuery);
</script><script type="text/javascript">
(function () {
function placeRulesModal() {
var $m = $('#comment-rules-modal');
if ($m.length && !$m.parent().is('body')) {
$m.appendTo('body');
}
return $m;
}
placeRulesModal();
$(document).off('click.commentRules', '.comment-rules-link').on('click.commentRules', '.comment-rules-link', function (e) {
e.preventDefault();
e.stopPropagation();
var $m = placeRulesModal();
if (!$m.length) return;
$('.modal-backdrop').remove();
$('body').removeClass('modal-open');
$m.css('z-index', 1060);
$m.one('shown.bs.modal', function () {
$m.css('z-index', 1060);
$('.modal-backdrop').css('z-index', 1050).not(':last').remove();
});
$m.modal({ backdrop: true, keyboard: true, show: true });
});
var $box = $('#novel-comments');
if (!$box.length) return;
var novelId = parseInt($box.attr('data-novel-id'), 10) || 0;
if (!novelId) {
novelId = parseInt(
$('#chapter_error').attr('data-novel-id')
|| $('#rating').attr('data-novel-id')
|| $('#truyen-id').val(),
10
) || 0;
}
var chapterId = parseInt($box.attr('data-chapter-id'), 10)
|| parseInt($('#chapter_error').attr('data-chapter-id'), 10)
|| 0;
var isGuest = String($box.attr('data-guest') || $box.data('guest')) === '1';
var loginUrl = $box.attr('data-login-url') || $box.data('login-url');
var pageSize = parseInt($box.attr('data-page-size'), 10) || 3;
var replyPageSize = parseInt($box.attr('data-reply-page-size'), 10) || 2;
var visibleCount = pageSize;
var replyVisible = {};
var totalCount = parseInt($box.attr('data-total-count'), 10);
var lazy = String($box.attr('data-lazy') || '') === '1';
var listUrl = $box.attr('data-list-url') || window.ajaxCommentListUrl || '/ajax-comment-list';
var comments = [];
var listReady = !lazy;
try {
comments = JSON.parse($box.attr('data-comments') || '[]');
} catch (e) {
comments = [];
}
if (!$.isArray(comments)) comments = [];
if (isNaN(totalCount) || totalCount < comments.length) {
totalCount = comments.length;
}
function fetchComments(done) {
if (!novelId && !chapterId) {
if (typeof done === 'function') done(false);
return;
}
var qs = [];
if (novelId) qs.push('novelId=' + encodeURIComponent(novelId));
if (chapterId) qs.push('chapterId=' + encodeURIComponent(chapterId));
qs.push('limit=100');
var url = listUrl + (listUrl.indexOf('?') >= 0 ? '&' : '?') + qs.join('&');
$.ajax({
type: 'GET',
url: url,
dataType: 'json',
cache: true
}).done(function (rs) {
if (!rs || !rs.success) {
$('#comment-loading').text('Could not load comments.');
if (typeof done === 'function') done(false);
return;
}
comments = $.isArray(rs.comments) ? rs.comments : [];
totalCount = parseInt(rs.total, 10);
if (isNaN(totalCount) || totalCount < comments.length) {
totalCount = comments.length;
}
$box.attr('data-total-count', totalCount);
listReady = true;
$('#comment-loading').remove();
renderList();
if (typeof done === 'function') done(true);
}).fail(function () {
$('#comment-loading').text('Could not load comments.');
if (typeof done === 'function') done(false);
});
}
function ensureCommentsLoaded(done) {
if (listReady) {
if (typeof done === 'function') done(true);
return;
}
fetchComments(done);
}
function goLogin() {
if (typeof window.openLoginPopup === 'function') {
window.openLoginPopup();
return;
}
window.location = loginUrl;
}
function esc(text) {
return $('<div/>').text(text || '').html();
}
function commentHasUrl(text) {
if (!text) return false;
var n = String(text).toLowerCase();
if (n.indexOf('http://') !== -1 || n.indexOf('https://') !== -1) return true;
if (n.indexOf('hxxp://') !== -1 || n.indexOf('hxxps://') !== -1) return true;
if (n.indexOf('www.') !== -1) return true;
if (n.indexOf('mailto:') !== -1) return true;
if (/(^|[^a-z0-9])([a-z0-9][-a-z0-9]*\.)+(com|net|org|info|xyz|top|link|click|ru|cn|vn|io|co|me|tk)\b/i.test(n)) return true;
return false;
}
var urlBlockedMsg = 'Links and URLs are not allowed in comments.';
function replyShownFor(parentId, total) {
var pid = String(parentId);
if (!replyVisible[pid]) {
replyVisible[pid] = replyPageSize;
}
return Math.min(replyVisible[pid], total);
}
function renderComment(item, isReply) {
var name = (item.member && item.member.name) ? item.member.name : 'Member';
var initial = (item.member && item.member.initial)
? item.member.initial
: (name ? String(name).charAt(0).toUpperCase() : 'U');
var isVip = !!(item.member && item.member.vip);
var vipBadge = isVip
? '<span class="comment-vip-badge" title="VIP">VIP</span>'
: '';
var avatar = item.member && item.member.avatar
? '<img class="comment-avatar" src="' + esc(item.member.avatar) + '" alt="" width="32" height="32" loading="lazy" decoding="async">'
: '<span class="comment-avatar comment-avatar-fallback" aria-hidden="true">' + esc(initial) + '</span>';
var likes = parseInt(item.likes_count, 10) || 0;
var likedCls = item.liked ? ' is-liked' : '';
var likeBtn =
'<button type="button" class="comment-like-btn' + likedCls + '" data-id="' + item.id + '" title="Like" aria-pressed="' + (item.liked ? 'true' : 'false') + '">' +
'<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>' +
'<span class="comment-like-count">' + likes + '</span>' +
'</button>';
var manage = '';
if (item.can_manage) {
manage = '<span class="comment-manage">' +
'<a href="javascript:void(0)" class="comment-edit" data-id="' + item.id + '">Edit</a>' +
'<span class="comment-dot">·</span>' +
'<a href="javascript:void(0)" class="comment-delete text-danger" data-id="' + item.id + '">Delete</a>' +
'</span>';
}
var replyBtn = isReply ? '' :
'<button type="button" class="comment-reply-btn" data-id="' + item.id + '" title="Reply">' +
'<span class="glyphicon glyphicon-comment" aria-hidden="true"></span> Reply' +
'</button>';
var repliesHtml = '';
if (!isReply && item.replies && item.replies.length) {
var allReplies = item.replies;
var shown = replyShownFor(item.id, allReplies.length);
repliesHtml = '<div class="comment-replies" data-parent-id="' + item.id + '">';
for (var r = 0; r < shown; r++) {
repliesHtml += renderComment(allReplies[r], true);
}
if (shown < allReplies.length) {
var remain = allReplies.length - shown;
var nextBatch = Math.min(replyPageSize, remain);
repliesHtml +=
'<div class="comment-replies-more">' +
'<button type="button" class="comment-load-more-replies" data-parent-id="' + item.id + '">' +
'Load more replies · ' + nextBatch + ' more' +
(remain > nextBatch ? ' (' + remain + ' left)' : '') +
'</button></div>';
}
repliesHtml += '</div>';
}
return '<div class="comment-item' + (isReply ? ' is-reply' : '') + '" data-id="' + item.id + '"' +
(item.parent_id ? ' data-parent-id="' + item.parent_id + '"' : '') + '>' +
'<div class="comment-row">' +
'<div class="comment-aside">' + avatar + '</div>' +
'<div class="comment-main">' +
'<div class="comment-head">' +
'<div class="comment-author-wrap">' +
'<strong class="comment-author">' + esc(name) + '</strong>' +
vipBadge +
'</div>' +
likeBtn +
'</div>' +
'<div class="comment-body">' + esc(item.content).replace(/\n/g, '<br>') + '</div>' +
'<div class="comment-foot">' +
'<span class="comment-time text-muted" title="' + esc(item.time_full || item.time || '') + '">' + esc(item.time || '') + '</span>' +
'<div class="comment-foot-actions">' + replyBtn + manage + '</div>' +
'</div>' +
'<div class="comment-reply-box" hidden></div>' +
'</div>' +
'</div>' +
repliesHtml +
'</div>';
}
function nestComments(flat) {
var byId = {};
var roots = [];
var i;
for (i = 0; i < flat.length; i++) {
var c = flat[i];
c.replies = [];
byId[c.id] = c;
}
var chronological = flat.slice().sort(function (a, b) {
return (a.id || 0) - (b.id || 0);
});
for (i = 0; i < chronological.length; i++) {
var item = chronological[i];
var pid = item.parent_id ? parseInt(item.parent_id, 10) : 0;
if (pid && byId[pid] && !byId[pid].parent_id) {
byId[pid].replies.push(item);
} else if (pid && byId[pid] && byId[pid].parent_id) {
var rootId = parseInt(byId[pid].parent_id, 10);
if (byId[rootId]) byId[rootId].replies.push(item);
else roots.push(item);
} else if (!pid) {
roots.push(item);
} else {
roots.push(item);
}
}
var rootOrder = [];
var seen = {};
for (i = 0; i < flat.length; i++) {
var id = flat[i].id;
var node = byId[id];
if (!node || node.parent_id) continue;
if (seen[id]) continue;
seen[id] = 1;
rootOrder.push(node);
}
return rootOrder.length ? rootOrder : roots;
}
function updateLoadMore() {
var roots = nestComments(comments);
var $wrap = $('#comment-load-more-wrap');
var $btn = $('#comment-load-more');
if (roots.length > visibleCount) {
var remain = roots.length - visibleCount;
var nextBatch = Math.min(pageSize, remain);
$btn.text('Load more comments · ' + nextBatch + ' more' + (remain > nextBatch ? ' (' + remain + ' left)' : ''));
$wrap.show();
} else {
$wrap.hide();
}
}
function renderList() {
var html = '';
if (!comments.length) {
html = '<p class="text-muted comment-empty" id="comment-empty">No comments yet. Be the first to share your thoughts.</p>';
} else {
var roots = nestComments(comments);
var end = Math.min(visibleCount, roots.length);
for (var i = 0; i < end; i++) {
html += renderComment(roots[i], false);
}
}
$('#comment-list').html(html);
$('#comment-count').text(totalCount);
$('#chapter-comment-count').text(totalCount);
updateLoadMore();
}
function upsertComment(item) {
var found = false;
for (var i = 0; i < comments.length; i++) {
if (comments[i].id === item.id) {
comments[i] = item;
found = true;
break;
}
}
if (!found) {
totalCount += 1;
comments.unshift(item);
var pid = item.parent_id ? parseInt(item.parent_id, 10) : 0;
if (pid) {
var roots = nestComments(comments);
var parent = null;
for (var r = 0; r < roots.length; r++) {
if (roots[r].id === pid) {
parent = roots[r];
break;
}
}
var need = parent && parent.replies ? parent.replies.length : replyPageSize;
replyVisible[String(pid)] = Math.max(replyVisible[String(pid)] || replyPageSize, need);
} else if (visibleCount < pageSize) {
visibleCount = pageSize;
}
}
renderList();
}
function patchCommentLike(id, liked, likesCount) {
for (var i = 0; i < comments.length; i++) {
if (comments[i].id === id) {
comments[i].liked = !!liked;
comments[i].likes_count = likesCount;
break;
}
}
var $item = $box.find('.comment-item[data-id="' + id + '"]');
var $btn = $item.find('.comment-like-btn').first();
$btn.toggleClass('is-liked', !!liked).attr('aria-pressed', liked ? 'true' : 'false');
$btn.find('.comment-like-count').text(likesCount);
}
function removeComment(id) {
var before = comments.length;
comments = $.grep(comments, function (c) {
return c.id !== id && c.parent_id !== id;
});
if (comments.length < before && totalCount > 0) {
totalCount -= (before - comments.length);
if (totalCount < 0) totalCount = 0;
}
if (visibleCount > comments.length) {
visibleCount = Math.max(pageSize, comments.length);
}
renderList();
}
$('#comment-load-more').on('click', function () {
visibleCount += pageSize;
renderList();
});
$box.on('click', '.comment-load-more-replies', function (e) {
e.preventDefault();
var pid = String(parseInt($(this).attr('data-parent-id'), 10) || 0);
if (!pid || pid === '0') return;
replyVisible[pid] = (replyVisible[pid] || replyPageSize) + replyPageSize;
renderList();
});
$('#comment-form').on('submit', function (e) {
e.preventDefault();
postComment($('#comment-content'), 0, $('#comment-submit'));
});
function postComment($ta, parentId, $btn) {
if (isGuest) {
goLogin();
return;
}
if (!novelId && !chapterId) {
alert('Unable to post comment (missing novel id). Please refresh the page.');
return;
}
ensureCommentsLoaded(function () {
var content = $.trim($ta.val() || '');
if (content.length < 2) {
alert('Comment is too short.');
return;
}
if (commentHasUrl(content)) {
alert(urlBlockedMsg);
return;
}
if ($btn && $btn.length) $btn.prop('disabled', true);
var createUrl = window.ajaxCommentCreateUrl || '/ajax-comment-create';
var qs = [];
if (novelId) qs.push('novelId=' + encodeURIComponent(novelId));
if (chapterId) qs.push('chapterId=' + encodeURIComponent(chapterId));
if (parentId) qs.push('parentId=' + encodeURIComponent(parentId));
if (qs.length) {
createUrl += (createUrl.indexOf('?') >= 0 ? '&' : '?') + qs.join('&');
}
var c64 = '';
try {
c64 = window.btoa(unescape(encodeURIComponent(content)));
} catch (err) {
c64 = '';
}
var csrfParam = $('meta[name="csrf-param"]').attr('content');
var csrfToken = $('meta[name="csrf-token"]').attr('content');
var payload = {
novelId: novelId,
id: novelId,
chapterId: chapterId,
parentId: parentId || 0,
parent_id: parentId || 0,
c64: c64,
comment: content,
text: content,
body: content
};
if (csrfParam && csrfToken) {
payload[csrfParam] = csrfToken;
}
var headers = {};
if (csrfToken) headers['X-CSRF-Token'] = csrfToken;
if (c64) headers['X-Comment-Body'] = c64;
$.ajax({
type: 'POST',
url: createUrl,
dataType: 'json',
contentType: 'application/json; charset=UTF-8',
headers: headers,
data: JSON.stringify(payload)
}).done(function (rs) {
if (!rs || !rs.success) {
if (rs && rs.error === 'login_required') {
goLogin();
return;
}
alert((rs && (rs.message || rs.error)) || 'Failed to post comment.');
return;
}
$ta.val('');
upsertComment(rs.comment);
$box.find('.comment-reply-box').attr('hidden', true).empty();
}).fail(function () {
alert('Failed to post comment.');
}).always(function () {
if ($btn && $btn.length) $btn.prop('disabled', false);
});
});
}
function commentCsrfPayload(extra) {
var data = extra || {};
var csrfParam = $('meta[name="csrf-param"]').attr('content');
var csrfToken = $('meta[name="csrf-token"]').attr('content');
if (csrfParam && csrfToken) data[csrfParam] = csrfToken;
return data;
}
$box.on('click', '.comment-like-btn', function (e) {
e.preventDefault();
if (isGuest) {
goLogin();
return;
}
var $btn = $(this);
if ($btn.data('busy')) return;
var id = parseInt($btn.attr('data-id'), 10) || 0;
if (!id) return;
$btn.data('busy', 1);
var url = window.ajaxCommentLikeUrl || '/ajax-comment-like';
url += (url.indexOf('?') >= 0 ? '&' : '?') + 'commentId=' + encodeURIComponent(id);
$.ajax({
type: 'POST',
url: url,
dataType: 'json',
data: commentCsrfPayload({id: id, commentId: id, cid: id})
}).done(function (rs) {
if (!rs || !rs.success) {
if (rs && rs.error === 'login_required') {
goLogin();
return;
}
alert((rs && (rs.message || rs.error)) || 'Like failed.');
return;
}
patchCommentLike(id, rs.liked, rs.likes_count);
}).fail(function () {
alert('Like failed.');
}).always(function () {
$btn.data('busy', 0);
});
});
$box.on('click', '.comment-reply-btn', function (e) {
e.preventDefault();
if (isGuest) {
goLogin();
return;
}
var id = parseInt($(this).attr('data-id'), 10) || 0;
if (!id) return;
var $item = $(this).closest('.comment-item');
var $slot = $item.find('> .comment-row > .comment-main > .comment-reply-box').first();
if (!$slot.length) {
$slot = $item.find('.comment-reply-box').first();
}
$box.find('.comment-reply-box').not($slot).attr('hidden', true).empty();
if (!$slot.attr('hidden') && $slot.children().length) {
$slot.attr('hidden', true).empty();
return;
}
$slot.html(
'<div class="comment-reply-form">' +
'<textarea class="form-control comment-reply-input" rows="2" maxlength="2000" placeholder="Write a reply (no links)…"></textarea>' +
'<div class="comment-reply-actions">' +
'<button type="button" class="btn btn-default btn-xs comment-reply-cancel">Cancel</button> ' +
'<button type="button" class="btn btn-success btn-xs comment-reply-submit" data-parent-id="' + id + '">Reply</button>' +
'</div></div>'
).removeAttr('hidden');
$slot.find('textarea').focus();
});
$box.on('click', '.comment-reply-cancel', function () {
$(this).closest('.comment-reply-box').attr('hidden', true).empty();
});
$box.on('click', '.comment-reply-submit', function () {
var parentId = parseInt($(this).attr('data-parent-id'), 10) || 0;
var $slot = $(this).closest('.comment-reply-box');
var $ta = $slot.find('textarea');
postComment($ta, parentId, $(this));
});
$box.on('click', '.comment-delete', function () {
var id = parseInt($(this).attr('data-id'), 10) || 0;
if (!id || !confirm('Delete this comment?')) return;
var url = window.ajaxCommentDeleteUrl || '/ajax-comment-delete';
url += (url.indexOf('?') >= 0 ? '&' : '?') + 'commentId=' + encodeURIComponent(id);
$.ajax({
type: 'POST',
url: url,
dataType: 'json',
data: commentCsrfPayload({id: id, commentId: id, cid: id})
}).done(function (rs) {
if (rs && rs.success) removeComment(id);
else alert((rs && (rs.message || rs.error)) || 'Delete failed.');
}).fail(function () { alert('Delete failed.'); });
});
$box.on('click', '.comment-edit', function () {
var id = parseInt($(this).attr('data-id'), 10) || 0;
var item = null;
for (var i = 0; i < comments.length; i++) {
if (comments[i].id === id) { item = comments[i]; break; }
}
if (!item) return;
var next = prompt('Edit comment:', item.content);
if (next === null) return;
next = $.trim(next);
if (next.length < 2) {
alert('Comment is too short.');
return;
}
if (commentHasUrl(next)) {
alert(urlBlockedMsg);
return;
}
var c64 = '';
try { c64 = window.btoa(unescape(encodeURIComponent(next))); } catch (err) { c64 = ''; }
var url = window.ajaxCommentUpdateUrl || '/ajax-comment-update';
url += (url.indexOf('?') >= 0 ? '&' : '?') + 'commentId=' + encodeURIComponent(id);
var csrfParam = $('meta[name="csrf-param"]').attr('content');
var csrfToken = $('meta[name="csrf-token"]').attr('content');
var payload = {
id: id,
commentId: id,
cid: id,
c64: c64,
comment: next,
text: next,
body: next
};
if (csrfParam && csrfToken) payload[csrfParam] = csrfToken;
$.ajax({
type: 'POST',
url: url,
dataType: 'json',
contentType: 'application/json; charset=UTF-8',
headers: c64 ? {'X-Comment-Body': c64, 'X-CSRF-Token': csrfToken || ''} : {'X-CSRF-Token': csrfToken || ''},
data: JSON.stringify(payload)
}).done(function (rs) {
if (rs && rs.success) upsertComment(rs.comment);
else alert((rs && (rs.message || rs.error)) || 'Update failed.');
}).fail(function () { alert('Update failed.'); });
});
$('#chapter_comment').on('click', function (e) {
e.preventDefault();
var $wrap = $('.chapter-comments-wrap');
if (!$wrap.length) {
var topAlways = $box.offset().top - 16;
$('html, body').animate({scrollTop: topAlways}, 280, function () {
if (!isGuest) {
var $ta0 = $('#comment-content');
if ($ta0.length) $ta0.focus();
}
});
return;
}
var opening = !$wrap.hasClass('is-open');
$wrap.toggleClass('is-open', opening);
if (!opening) return;
ensureCommentsLoaded();
var top = $wrap.offset().top - 16;
$('html, body').animate({scrollTop: top}, 280, function () {
if (isGuest) return;
var $ta = $('#comment-content');
if ($ta.length) $ta.focus();
});
});
if (lazy) {
var el = $box.get(0);
var kicked = false;
function kickLazy() {
if (kicked) return;
kicked = true;
ensureCommentsLoaded();
}
if ('IntersectionObserver' in window && el) {
var io = new IntersectionObserver(function (entries) {
for (var i = 0; i < entries.length; i++) {
if (entries[i].isIntersecting) {
io.disconnect();
kickLazy();
break;
}
}
}, { rootMargin: '240px 0px' });
io.observe(el);
} else if ('requestIdleCallback' in window) {
requestIdleCallback(kickLazy, { timeout: 2500 });
} else {
$(window).on('load', function () { setTimeout(kickLazy, 400); });
}
} else {
renderList();
}
})();
</script><script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/vce701823e78c4301a35b7e07294d87301792088814092" integrity="sha512-UKNk8GbxkABxKcXYuLkO16EleLGUkcvJWtpSNmExE0Too3ZaFAxTscNWEc1OdAv5/BikHawapSCaiD2XCmp+Bw==" data-cf-beacon='{"version":"2024.11.0","token":"bd465e09a1db4e7f9d7a9810ab950ee4","r":1,"spa":2}' crossorigin="anonymous"></script>
<script>window.__CF$cv$params={r:'a5b40e41cf3d2eaf',t:'MTc5NDgwNjUyMw==',u:'01a1e2ce2692744586d2099b8050d594',ut:'btVCUxRDutkypJPJn2tCXIFRBTJvlEN3rOgHJxScLCU-1794806523-1.2.1.1-AtdHDXglwl2KnqR4IZCxKd0Qacu04QbVJ.3UdB0.e2o4AlYWY1.fd0663D8R2ZeBECH3dRiKuq.3g.jhKVLnYq3SiWgEqBWOi7.gDVj1KNQ',i:60};(function(){if(!document.body)return;var l=window.location,o;try{o=new URL(l.origin).origin}catch(e){try{o=new URL(new URL(l.href).origin).origin}catch(e){o=''}}var u='/cdn-cgi/challenge-platform/scripts/precursor/main.js?ray=a5b40e41cf3d2eaf',s=document.createElement('script');s.src=o?new URL(u,o).href:u;document.head.appendChild(s);})();</script></body></html>
