PUBG: BATTLEGROUNDS

PUBG: BATTLEGROUNDS

328 个评价
【废雅】教大家如何用JS代码实现steam好友批量留言。
由 阿雅 制作
   
奖励
收藏
已收藏
取消收藏
了解留言版的需求.
为了让自己能够在装比大道上飞速行走,现在的QQ留言 评论已经满足不了广大steam玩家的需求,也让好多新手steam玩家望而却步。 如何能让一个想玩好steam玩家的人,更加快速的成长起来。想要让更多人了解你,认识你。首先要达到的基础是自己每天留言板要被塞满。我今天教大家的黑科技是我一开始学来的,批量留言板留言。
步骤一
steam好多黑科技都是通过修改网页的源码,修改图片的尺寸。进行自定义保存。所以,作为一名成熟的steam爱好者,首先要学会怎么使用修改源码进行steam资料的修改。 最基本的修改(建议使用谷歌浏览器,火狐)右键,点击检查。可以看到整个steam页面的所有信息,小到图标,logo的css样式,尺寸。大到整个页面的布局,修饰。
步骤二
引用自 废雅
打开steam所有好友链接:http://psteamcommunity.yuanyoumao.com/my/friends
步骤三
引用自 废雅
在网页任意处右击鼠标,选择 检查 ----> Console

然后在界面将如下代码复制进去,回车确认

引用自 废雅

ToggleManageFriends();
jQuery("#manage_friends").after('<div class="commentthread_entry"><div class="commentthread_entry_quotebox"><textarea rows="1" class="commentthread_textarea" id="comment_textarea" placeholder="Add a comment" style="overflow: hidden; height: 20px;"></textarea></div><div class="commentthread_entry_submitlink" style=""><a class="btn_grey_black btn_small_thin" href="javascript:CCommentThread.FormattingHelpPopup( \'Profile\' );"><span>Formatting help</span></a> <span class="emoticon_container"><span class="emoticon_button small" id="emoticonbtn"></span></span><span class="btn_green_white_innerfade btn_small" id="comment_submit"><span>Post Comments to Selected Friends</span></span></div></div><div id="log"><span id="log_head"></span><span id="log_body"></span></div>');
new CEmoticonPopup( $J('#emoticonbtn'), $J('#commentthread_Profile_0_textarea') );
jQuery("#comment_submit").click(function() {
const total = jQuery(".selected").length;
const msg = jQuery("#comment_textarea").val();
if (total > 0 && msg.length > 0) {
jQuery("#log_head, #log_body").html("");
jQuery(".selected").each(function(i) {
let profileID = this.getAttribute("data-steamid");
(function(i, profileID) {
setTimeout(function() {
jQuery.post("/psteamcommunity.yuanyoumao.com/comment/Profile/post/" + profileID + "/-1/", { comment: msg, count: 6, sessionid: g_sessionID }, function(response) {
if (response.success === false) {
jQuery("#log_body")[0].innerHTML += "<br>" + response.error;
} else {
jQuery("#log_body")[0].innerHTML += "<br>Successfully posted comment on <a href=http://psteamcommunity.yuanyoumao.com/profiles/" + profileID + ">" + profileID + "</a>";
}
}).fail(function() {
jQuery("#log_body")[0].innerHTML += "<br>Failed to post comment on <a href=http://psteamcommunity.yuanyoumao.com/profiles/" + profileID + ">" + profileID + "</a>";
}).always(function() {
jQuery("#log_head").html("<br><b>Processed " + (i+1) + " out of " + total + " friends.<b>");
});
}, i * 6000);
})(i, profileID);
});
} else {
alert("Please make sure you entered a message and selected 1 or more friends.");
}
});









步骤四
引用自 废雅
点击管理好友列表下拉框,输入你的留言,选择想要留言的好友,最后点击发送就完成了!
引用自 废雅
尾声
还蛮简单的对不对! 拷贝选自原作者 http://psteamcommunity.yuanyoumao.com/groups/fengkeyleaf 感谢收看~
57 条留言
kaam wali aunty 2023 年 12 月 11 日 上午 12:00 
:OPWS_Nami::OPWS_Sabo::HealthSD::HealthSD::heart_love::heart_love::HealthSD::heart_love::heart_love::HealthSD::HealthSD::OPWS_TonytonyChopper::OPWS_MonkeyDLuffy:
没考试就有编制 2023 年 1 月 2 日 上午 8:37 
(链接已删除):steamfacepalm:
核苷酸reborn 2022 年 8 月 24 日 上午 9:30 
码住了:marijaonlooker:
Ýųrı|Ꮆ卂爪乇 2021 年 11 月 7 日 下午 11:51 
:sasa:
だいようせい 2021 年 1 月 29 日 上午 10:04 
蟹蟹雅雅~:chocola2:
mochi._. 2020 年 6 月 28 日 上午 6:10 
已吃灰
念经的小和尚 2020 年 6 月 21 日 上午 9:28 
看到教程必收藏,然后吃灰
不知名斯卡里茨铁匠 2020 年 3 月 25 日 下午 7:43 
学不来(字太多懒得看):csgo_headshot:
煳HU哥GE 2020 年 3 月 16 日 上午 12:49 
这个好呀,点赞搜藏了,谢谢雅酱:bbtcat:
In4Th3KiRu 2019 年 9 月 26 日 上午 2:46 
这个太炫酷了,但是我好像来晚了