Skip to content

sbeckeriv/destiny-upgrade-counts

Repository files navigation

Bookmarklet to display shopping list

I cant figure out how to create the link with markdown. Sorry. Create a new bookmark. Use this as your url:

javascript:(function(){s=document.createElement('script');s.type='text/javascript';s.src='//sbeckeriv.github.io/destiny-upgrade-counts/upgrade.js?v='+parseInt(Math.random()*99999999);document.body.appendChild(s);})();

On a character click the bookmark. A smart cookie can figure out how to update the grease monkey below.

Greesemonkey or tampermonkey script Thanks solrac214

// ==UserScript==
// @name         Bungie Shopping list
// @namespace    http://BungieGear/
// @version      0.1
// @description  Hope this helps ! :D
// @author       You
// @include      https://www.bungie.net/*
// @include      http://www.bungie.net/*
// @grant        none
// ==/UserScript==

s=document.createElement('script');
 s.type='text/javascript';
 s.src='//sbeckeriv.github.io/destiny-upgrade-counts/shopping.js?v='+parseInt(Math.random()*99999999);
 document.body.appendChild(s);

Bookmarklet to display upgrade material counts on the character page.

I cant figure out how to create the link with markdown. Sorry. Create a new bookmark. Use this as your url:

javascript:(function(){s=document.createElement('script');s.type='text/javascript';s.src='//sbeckeriv.github.io/destiny-upgrade-counts/upgrade.js?v='+parseInt(Math.random()*99999999);document.body.appendChild(s);})();

On a character (logged in or out, or someone elses) click the bookmark.

Greesemonkey or tampermonkey script Thanks solrac214

// ==UserScript==
// @name         Bungie Gear
// @namespace    http://BungieGear/
// @version      0.1
// @description  Hope this helps ! :D
// @author       You
// @include      https://www.bungie.net/*
// @include      http://www.bungie.net/*
// @grant        none
// ==/UserScript==

s=document.createElement('script');
 s.type='text/javascript';
 s.src='//sbeckeriv.github.io/destiny-upgrade-counts/upgrade.js?v='+parseInt(Math.random()*99999999);
 document.body.appendChild(s);

Example

Open open

Not Open not open

Playing

Inspect the data

window.upgrader
window.upgrader.items()

If you get a function when you expected something its most likely a knockout observerable. read more http://knockoutjs.com/documentation/introduction.html

todo

Better vendor vault detection

Versions

- 20141127
-- reset data on new page load
- 20141121
-- Support account types
- 20141119
-- change \n for , in csv
-- include gear and vault in csv
- 20141116
-- disply csv data
-- fix count
- 20141110
-- Rewrite internals. Moved counts to items. Removed cruft.
-- Added total header
- 20141107
-- New CSS
-- itemsCSV() method
- 20141106
-- Show owned totals
- 20141105
-- Show vault data
- 20141103
-- Readme updates
-- https fix
- 20141101
-- Fist cut

Contributors

About

Bookmarklet to dispay upgrade material counts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published