Daily Stormer Comments

9/01/2021, 11:35:12 AM

目前為 2021-09-01 提交的版本,檢視 最新版本

作者
perception
評價
0 0 0
版本
1.1
建立日期
2021-08-24
更新日期
2021-09-01
尺寸
5.4 KB
授權條款
未知
腳本執行於

Daily Stormer Comments

  • This UserScript tries to correlate article titles from the blog and the forum.
  • If it can find a matching thread on the first page of the articles forum, it'll then scrape the thread.
  • After scraping the thread, it'll do minimal DOM transformations such that the relative links are turned into absolute links that correctly point back to the forum.
  • Then, the content of the thread will be appended to the blog post on the main site.
  • Finally, some minimal CSS is added to style the comments.

This is a proof-of-concept to show that it's possible to display articles from the blog and comments of the forum together. This UserScript is able to do it, because JavaScript running in a UserScript can do cross-origin requests without any restrictions. If you wanted to do this without a UserScript, the forum would have to set some CORS headers to allow JavaScript from dailystormer.su to access content from gamueuprising.to.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址