Daily Stormer Comments

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
perception
今日安裝
0
安裝總數
6
評價
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.