summaryrefslogtreecommitdiff
path: root/content/entry/re-bullshit-js.md
blob: a09c5dad49731d836ce4a1944c1119b1c22f9e4d60ec965e928325b41d57e3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
title: "Re: bullshit.js"
date: 2023-07-04T00:00:00
tags: ['computing']
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.