summaryrefslogtreecommitdiff
path: root/4chan-saver.js
diff options
context:
space:
mode:
Diffstat (limited to '4chan-saver.js')
-rw-r--r--4chan-saver.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/4chan-saver.js b/4chan-saver.js
index 4c76575..2d9100d 100644
--- a/4chan-saver.js
+++ b/4chan-saver.js
@@ -1,2 +1,7 @@
+/*
+ * Saves cleans up and saves
+ * 4chan threads to a PDF file
+ */
+
document.getElementsByTagName("body")[0].innerHTML = document.querySelectorAll('[class=thread]')[0].innerHTML;
window.print();