├── .editorconfig ├── LICENSE.md ├── README.md ├── icon.png ├── icon128.png ├── icon16.png ├── icon48.png ├── main.css ├── main.html ├── main.js ├── manifest.json └── screenshot.png /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | trim_trailing_whitespace = true 9 | 10 | [*.{js,json}] 11 | indent_size = 2 12 | 13 | [*.html] 14 | indent_size = 4 15 | 16 | [*.css] 17 | indent_size = 4 18 | 19 | [*.md] 20 | trim_trailing_whitespace = false 21 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | **Copyright (c) 2015 Anish Athalye (me@anishathalye.com)** 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 10 | of the Software, and to permit persons to whom the Software is furnished to do 11 | so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Disposable 2 | ========== 3 | 4 | Create a Reddit throwaway account with the click of a button! 5 | 6 | Check out the [pre-built Chrome extension][download]. 7 | 8 | The Disposable chrome extension automatically creates a Reddit throwaway 9 | accounts for you, making the whole process take all of two seconds. Once the 10 | button is clicked, the extension automatically chooses a username for you, 11 | creates an account, and signs you in to Reddit. After this process is done, the 12 | indicator in the popup turns green. If anything goes wrong (like Reddit rate 13 | limiting), the indicator turns red and an error message is displayed. 14 | 15 | ![Screenshot][screenshot] 16 | 17 | License 18 | ------- 19 | 20 | Copyright (c) 2015 Anish Athalye. Released under the MIT License. See 21 | [LICENSE.md][license] for details. 22 | 23 | [license]: LICENSE.md 24 | [screenshot]: screenshot.png 25 | [download]: https://chrome.google.com/webstore/detail/disposable/fpmgaihkdaipakaoammnokgjihdfpleo 26 | -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anishathalye/disposable/6adb56b8a6c060991c574399ebd6eff402948f6d/icon.png -------------------------------------------------------------------------------- /icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anishathalye/disposable/6adb56b8a6c060991c574399ebd6eff402948f6d/icon128.png -------------------------------------------------------------------------------- /icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anishathalye/disposable/6adb56b8a6c060991c574399ebd6eff402948f6d/icon16.png -------------------------------------------------------------------------------- /icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anishathalye/disposable/6adb56b8a6c060991c574399ebd6eff402948f6d/icon48.png -------------------------------------------------------------------------------- /main.css: -------------------------------------------------------------------------------- 1 | html { 2 | background: #2c3e50; 3 | } 4 | 5 | #log { 6 | color: #ecf0f1; 7 | min-width: 10em; 8 | } 9 | 10 | .circle { 11 | margin: 1em auto; 12 | font-size: 10px; 13 | position: relative; 14 | text-indent: -9999em; 15 | border: 0.3em solid rgba(255, 255, 255, 0.2); 16 | -webkit-transform: translateZ(0); 17 | transform: translateZ(0); 18 | -webkit-transition: border-color 0.5s ease; 19 | -webkit-animation: spin 1.1s infinite linear; 20 | animation: spin 1.1s infinite linear; 21 | } 22 | .circle, 23 | .circle:after { 24 | border-radius: 50%; 25 | width: 2em; 26 | height: 2em; 27 | } 28 | 29 | .red { 30 | border: 0.3em solid #e74c3c; 31 | } 32 | 33 | .green { 34 | border: 0.3em solid #2ecc71; 35 | } 36 | 37 | .spinner { 38 | border-left: 0.3em solid #ffffff; 39 | } 40 | 41 | @-webkit-keyframes spin { 42 | 0% { 43 | -webkit-transform: rotate(0deg); 44 | transform: rotate(0deg); 45 | } 46 | 100% { 47 | -webkit-transform: rotate(360deg); 48 | transform: rotate(360deg); 49 | } 50 | } 51 | @keyframes spin { 52 | 0% { 53 | -webkit-transform: rotate(0deg); 54 | transform: rotate(0deg); 55 | } 56 | 100% { 57 | -webkit-transform: rotate(360deg); 58 | transform: rotate(360deg); 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |' + errors[i] + '
'); 81 | } 82 | get('log').innerHTML = errorParas.join(''); 83 | } 84 | 85 | function success() { 86 | get('icon').className = 'green circle'; 87 | } 88 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 2, 3 | 4 | "name": "Disposable", 5 | "description": "One-click Reddit throwaway generator", 6 | "version": "1.0.0", 7 | 8 | "icons": { 9 | "16": "icon16.png", 10 | "48": "icon48.png", 11 | "128": "icon128.png" 12 | }, 13 | "browser_action": { 14 | "default_icon": "icon.png", 15 | "default_popup": "main.html", 16 | "default_title": "Create Reddit throwaway" 17 | }, 18 | "permissions": [ 19 | "https://www.reddit.com/" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anishathalye/disposable/6adb56b8a6c060991c574399ebd6eff402948f6d/screenshot.png --------------------------------------------------------------------------------