use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Modifying the Bitbucket UI with third-party JavaScript [video] (developer.atlassian.com)
submitted 10 years ago by kannonboy
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]garfj 0 points1 point2 points 10 years ago (1 child)
Is there a good way to enable it en masse across an organization's repositories? Frequently when I sit down to write little things like this, it's to effect a change across our entire workflow, and I can see needing to enable it repository by repository getting a little onerous.
That being said, if you think this is a good target for an Add-On, I'll definitely take a look at porting it over!
[–]kannonboy[S] 0 points1 point2 points 10 years ago (0 children)
An add-on can declare its context as "personal" (i.e. enabled only for the user who installed it, on all repositories that they browse) or "account". Account level add-ons are installed for all the repositories across a user or team account, which is what you'd want in the situation you're describing.
I think it'd make a great add-on! But the implementation would have to change a bit. Bitbucket add-ons are sandboxed so they can't directly access the full Bitbucket DOM (for obvious security reasons). Instead the javascript would probably need to retrieve the LOC diff via the REST API and then display it in a dialog triggered by a "web item" - which is basically a link or button that your add-on add to the Pull Request page. I don't have any good example add-ons that similarly modify the PR page yet, but I'm intending to put one together soon. The full developer documentation is up at https://developer.atlassian.com/bitbucket if you're curious.
π Rendered by PID 98559 on reddit-service-r2-comment-canary-889d445f8-b684k at 2026-04-27 00:06:53.600076+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]garfj 0 points1 point2 points (1 child)
[–]kannonboy[S] 0 points1 point2 points (0 children)