Skip to content

Commit 4de63da

Browse files
committed
Initial change to choo js and afk template
1 parent 02d700c commit 4de63da

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+14870
-835
lines changed

.babelrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets":[ "react", "env" ],
3+
"plugins": ["transform-object-rest-spread"],
4+
"compact" : false,
5+
"env": {
6+
"production": {
7+
"plugins": [ "transform-react-remove-prop-types" ]
8+
}
9+
}
10+
}

.editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
iroot = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
end_of_line = lf
10+
# editorconfig-tools is unable to ignore longs strings or urls
11+
max_line_length = null

.eslintrc.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
extends: ['airbnb', 'prettier'],
3+
rules: {
4+
'no-console': 0,
5+
},
6+
globals: {
7+
browser: true,
8+
document: true,
9+
localStorage: true,
10+
chrome: true,
11+
fetch: true,
12+
Request: true,
13+
Headers: true,
14+
location: true,
15+
},
16+
};

.gitignore

+110
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
2+
# Created by https://www.gitignore.io/api/vim,osx,linux
3+
4+
### Vim ###
5+
# swap
6+
[._]*.s[a-v][a-z]
7+
[._]*.sw[a-p]
8+
[._]s[a-v][a-z]
9+
[._]sw[a-p]
10+
# session
11+
Session.vim
12+
# temporary
13+
.netrwhist
14+
*~
15+
# auto-generated tag files
16+
tags
17+
18+
19+
### OSX ###
20+
*.DS_Store
21+
.AppleDouble
22+
.LSOverride
23+
24+
# Icon must end with two \r
25+
Icon
26+
# Thumbnails
27+
._*
28+
# Files that might appear in the root of a volume
29+
.DocumentRevisions-V100
30+
.fseventsd
31+
.Spotlight-V100
32+
.TemporaryItems
33+
.Trashes
34+
.VolumeIcon.icns
35+
.com.apple.timemachine.donotpresent
36+
# Directories potentially created on remote AFP share
37+
.AppleDB
38+
.AppleDesktop
39+
Network Trash Folder
40+
Temporary Items
41+
.apdisk
42+
43+
44+
### Linux ###
45+
46+
# temporary files which can be created if a process still has a handle open of a deleted file
47+
.fuse_hidden*
48+
49+
# KDE directory preferences
50+
.directory
51+
52+
# Linux trash folder which might appear on any partition or disk
53+
.Trash-*
54+
55+
# .nfs files are created when an open file is removed but is still being accessed
56+
.nfs*
57+
58+
### Node ###
59+
# Logs
60+
logs
61+
*.log
62+
npm-debug.log*
63+
64+
# Runtime data
65+
pids
66+
*.pid
67+
*.seed
68+
*.pid.lock
69+
70+
# Directory for instrumented libs generated by jscoverage/JSCover
71+
lib-cov
72+
73+
# Coverage directory used by tools like istanbul
74+
coverage
75+
76+
# nyc test coverage
77+
.nyc_output
78+
79+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
80+
.grunt
81+
82+
# node-waf configuration
83+
.lock-wscript
84+
85+
# Compiled binary addons (http://nodejs.org/api/addons.html)
86+
build/Release
87+
88+
# Dependency directories
89+
node_modules
90+
jspm_packages
91+
92+
# Optional npm cache directory
93+
.npm
94+
95+
# Optional eslint cache
96+
.eslintcache
97+
98+
# Optional REPL history
99+
.node_repl_history
100+
101+
# Output of 'npm pack'
102+
*.tgz
103+
104+
# Yarn Integrity file
105+
.yarn-integrityA
106+
107+
.web-ext-artifacts
108+
key.pem
109+
110+
.env

.prettierrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
single-quote: true
2+
trailing-comma: 'es5'
3+
printWidth: 80

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Firefox extension to search and list reddit submissions of the currently focused page.
2-
3-
**[Download here](https://addons.mozilla.org/en-US/firefox/addon/reddit-submission-finder/)**
1+
# busca.afk
2+
Extension search links on reddit or more
43

5-
Inspired by [Socialite](https://addons.mozilla.org/en-US/firefox/addon/socialite/) and [Reddit Check](https://github.com/hsbakshi/reddit-check)
4+
<p align="center">
5+
<img src="https://github.com/afk_mcz/ligo_extension/blob/master/src/img/512icon_dark.png" alt="Logo"/>
6+
</p>
67

7-
# Screenshot
8+
Firefox extension to search and list reddit submissions of the currently focused page.
89

9-
![](http://i.imgur.com/OCkO9wD.png)
1010

11+
Inspired by [Reddit Submission Finder](https://addons.mozilla.org/en-US/firefox/addon/reddit-submission-finder/) , [Socialite](https://addons.mozilla.org/en-US/firefox/addon/socialite/) and [Reddit Check](https://github.com/hsbakshi/reddit-check)
1112

12-
# To-do
13-
* Show error codes when request to reddit fails
13+
# Screenshot

assets/arrow_down.png

-246 Bytes
Binary file not shown.

assets/arrow_right.png

-121 Bytes
Binary file not shown.

assets/arrow_up.png

-232 Bytes
Binary file not shown.

assets/down_blue.png

-2.87 KB
Binary file not shown.

assets/down_grey.png

-2.94 KB
Binary file not shown.

assets/up_grey.png

-2.94 KB
Binary file not shown.

assets/up_orange.png

-2.89 KB
Binary file not shown.

dist/img/128icon_dark.png

3.44 KB
Loading

dist/img/128icon_light.png

5.23 KB
Loading

dist/img/16icon_dark.png

355 Bytes
Loading

dist/img/16icon_light.png

460 Bytes
Loading

dist/img/19icon_dark.png

439 Bytes
Loading

dist/img/19icon_light.png

602 Bytes
Loading

dist/img/256icon_dark.png

7.56 KB
Loading

dist/img/256icon_light.png

11.4 KB
Loading

dist/img/38icon_dark.png

957 Bytes
Loading

dist/img/38icon_light.png

1.48 KB
Loading

dist/img/48icon_dark.png

1.17 KB
Loading

dist/img/48icon_light.png

1.82 KB
Loading

dist/img/512icon_dark.png

19.6 KB
Loading

dist/img/512icon_dark.svg

+15
Loading

dist/img/512icon_light.png

27 KB
Loading

dist/img/512icon_light.svg

+15
Loading

dist/manifest.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"manifest_version": 2,
3+
"name": "busca.afk",
4+
"description": "busca.afk extension",
5+
"version": "1.0",
6+
"icons": {
7+
"16": "img/16icon_dark.png",
8+
"19": "img/19icon_dark.png",
9+
"38": "img/38icon_dark.png",
10+
"48": "img/48icon_dark.png",
11+
"128": "img/128icon_dark.png",
12+
"256": "img/256icon_dark.png",
13+
"512": "img/512icon_dark.png"
14+
},
15+
"browser_action": {
16+
"default_icon": "img/512icon_light.svg",
17+
"default_popup": "popup.html"
18+
},
19+
"options_ui": {
20+
"page": "options.html"
21+
},
22+
"permissions": [
23+
"*://*.reddit.com/*",
24+
"activeTab",
25+
"tabs",
26+
"storage",
27+
"https://ajax.googleapis.com/"
28+
]
29+
}

dist/options.js

+100
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/options.map

+1
Original file line numberDiff line numberDiff line change

dist/popup.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>rsf.afk</title>
5+
<meta charset="UTF-8">
6+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
7+
rel="stylesheet">
8+
<script src="search.js"></script>
9+
</head>
10+
<body>
11+
<p>Loading ...</p>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)