forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chrome peer-pressuring us by locking Notification behind HTTPS... they also lock plenty of other things behind HTTPS and the trade-off seems worth-it now.
- Loading branch information
Showing
6 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "pokemon-showdown-client", | ||
"version": "0.11.0", | ||
"author": "Guangcong Luo <[email protected]> (http://guangcongluo.com)", | ||
"homepage": "http://play.pokemonshowdown.com", | ||
"homepage": "https://pokemonshowdown.com", | ||
"license": "AGPL-3.0", | ||
"repository": { | ||
"type": "git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<script> | ||
Config = {}; | ||
exports = window; | ||
if (location.protocol === 'https:') location.replace('http://play.pokemonshowdown.com/recoverteams.html') | ||
</script> | ||
<script src="//play.pokemonshowdown.com/js/lib/jquery-2.1.4.min.js"></script> | ||
<script src="//play.pokemonshowdown.com/data/pokedex.js?ca7cba96"></script> | ||
<script src="//play.pokemonshowdown.com/data/moves.js?70de5a3d"></script> | ||
<script src="//play.pokemonshowdown.com/data/items.js?1e79955f"></script> | ||
<script src="//play.pokemonshowdown.com/data/abilities.js?8803a95c"></script> | ||
<script src="//play.pokemonshowdown.com/data/pokedex-mini.js?d37cc7ad"></script> | ||
<script src="//play.pokemonshowdown.com/data/typechart.js?72ddddb8"></script> | ||
<script src="js/battledata.js"></script> | ||
<script src="js/storage.js"></script> | ||
Instructions: | ||
<ol> | ||
<li>Copy the text in the big text box below | ||
<li>Go to <a href="https://play.pokemonshowdown.com/teambuilder">https://play.pokemonshowdown.com/teambuilder</a></li> | ||
<li>Click "Backup/Restore all teams" near the bottom</li> | ||
<li>Paste the text you copied to the bottom</li> | ||
<li>Click "Save"</li> | ||
</ol> | ||
<textarea rows="20" cols='80'></textarea> | ||
<script> | ||
Storage.loadPackedTeams(localStorage.getItem('showdown_teams_local') || localStorage.getItem('showdown_teams')); | ||
try { | ||
$('textarea').val(Storage.exportAllTeams()); | ||
} catch (e) { | ||
$('textarea').val('' + e); | ||
} | ||
if (!$('textarea').val()) { | ||
document.body.innerHTML = 'Sorry, you have no teams stored here'; | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters