summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-07-04 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-07-04 00:00:00 +0000
commit7db63ccfd8bb637a8709c5b2aecd914eccca3acdf13b158e6ded05a265605398 (patch)
tree91adcca94b91c58b810e0017419aafa4c7ecc14aef050829b348dbd29bacc35f /content
parented7e3d04f9fde06f19766ee70ca8f1e044d265ba98e9bea1c95af137ff12d0c8 (diff)
downloadjournal-7db63ccfd8bb637a8709c5b2aecd914eccca3acdf13b158e6ded05a265605398.tar.gz
journal-7db63ccfd8bb637a8709c5b2aecd914eccca3acdf13b158e6ded05a265605398.zip
New entry: re-bullshit-js
Diffstat (limited to 'content')
-rw-r--r--content/entry/re-bullshit-js.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/content/entry/re-bullshit-js.md b/content/entry/re-bullshit-js.md
new file mode 100644
index 0000000..66ee62b
--- /dev/null
+++ b/content/entry/re-bullshit-js.md
@@ -0,0 +1,16 @@
+---
+title: "Re: bullshit.js"
+date: 2023-07-04T00:00:00
+draft: false
+---
+People in [advertising](/2023/06/30/fuck-advertising/ "Fuck Advertising"), marketing, [SEO](https://www.wikipedia.org/wiki/Search_engine_optimization), and other bullshit industries have littered the web with phrases that sound significant but don't actually communicate anything.
+
+A while back I discovered this amusing JavaScript program called [bullshit.js](https://github.com/mourner/bullshit.js) which you can run in the browser to replace some of that marketing BS with the word "bullshit".
+
+The official bullshit.js webpage includes a bookmark link which is vulnerable to [xss](https://owasp.org/www-community/attacks/xss/ "Cross Site Scripting Attack"). Here's my patched version:
+
+```javascript
+javascript:(function(){var d=document,s=d.createElement('script');s.crossOrigin='anonymous';s.integrity='sha256-J3uYBSO4XnmUCTfYH458SPL2Cp+wlPOnt64DreZjAtw=';s.src='https://unpkg.com/@mourner/bullshit@1.2.0/bullshit.js';d.body.appendChild(s);}())
+```
+
+Enjoy.