Skip to content

Commit 81a6571

Browse files
committed
UI Tweaks
Signed-off-by: magicoflolis <magicoflolis@gmail.com>
1 parent c0cccea commit 81a6571

102 files changed

Lines changed: 51461 additions & 84982 deletions

Some content is hidden

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

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = crlf
10+
charset = utf-8
11+
trim_trailing_whitespace = false
12+
insert_final_newline = false

.gitignore

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
/tmp/
2-
node_modules
1+
# Dependency directories
2+
yarn.lock
3+
node_modules/
4+
jspm_packages/
5+
6+
# dotenv environment variables file
7+
.env
8+
9+
.vscode
10+
.vs/
11+
12+
*.bak
13+
*.code-workspace
14+
*.web-extension-id
15+
web-ext-artifacts
16+
web-ext
17+
build
18+
/build/
319
Notes
420
/Notes/
5-
web-ext
6-
.vscode/
7-
*.web-extension-id
8-
*.code-workspace
21+
chrome
22+
/chrome/

.jshintrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 60 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,73 @@
22

33
> Finds available UserJS for current site.
44
5-
*Fork of [Userscript+ : Show Site All UserJS](https://greasyfork.org/scripts/24508-userscript-show-site-all-userjs). Authors source code & information found [here](https://github.com/jae-jae/Userscript-Plus#userscript).*
5+
*Fork of [Userscript+ : Show Site All UserJS](https://greasyfork.org/scripts/24508-userscript-show-site-all-userjs). Source code & authors information found [here](https://github.com/jae-jae/Userscript-Plus#userscript).*
66

7-
- [Magics Userscript+](#magics-userscript)
8-
- [Installation](#installation)
9-
- [Manual](#manual)
10-
- [About](#about)
11-
- [Features](#features)
12-
- [Build Setup](#build-setup)
13-
- [Known bug](#known-bug)
14-
- [License](#license)
7+
## Features
8+
9+
> Currently [Userscript+](https://github.com/jae-jae/Userscript-Plus#userscript) can only find userscripts through [GreasyFork](https://greasyfork.org), I've added support for [SleazyFork](https://sleazyfork.org) along with a few additional features and tweaks!
10+
11+
* Added [SleazyFork](https://sleazyfork.org).
12+
* Tested and compatible with TamperMonkey n ViolentMonkey.
13+
* [ Browser Extension ] Added Dark Theme.
14+
15+
![Preview](https://raw.githubusercontent.com/magicoflolis/Userscript-Plus/master/resources/preview.png)
1516

1617
***
1718

18-
## Installation
19+
**Chrome:**
1920

2021
> **There are no excluded websites, use at your own risk.**
2122
22-
- [Chrome](https://github.com/magicoflolis/Userscript-Plus)
23+
* ~~Chrome Web Store~~
24+
* [GitHub Releases](https://github.com/magicoflolis/Userscript-Plus/releases)
2325

24-
- [Firefox AMO](https://addons.mozilla.org/firefox/addon/userscript-plus)
26+
**Firefox:**
2527

26-
> The userscript **WON'T** work for all websites. [info](#known-bug).
28+
> **There are no excluded websites, use at your own risk.**
2729
28-
- [Greasy Fork](https://greasyfork.org/scripts/421603)
30+
* [Add-ons web site](https://addons.mozilla.org/firefox/addon/userscript-plus)
31+
* [GitHub Releases](https://github.com/magicoflolis/Userscript-Plus/releases)
2932

30-
### Manual
33+
**User Script:**
3134

32-
- Download the [zip](https://api.github.com/repos/magicoflolis/Userscript-Plus/zipball/master), load the [extension folder](https://github.com/magicoflolis/Userscript-Plus/tree/master/extension) as a [Temporary Extension](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/).
35+
> The userscript **WON'T** work for all websites, [info.](#known-bugs)
3336
34-
***
37+
* [Greasy Fork](https://greasyfork.org/scripts/421603)
38+
* [GitHub Direct Link](https://github.com/magicoflolis/Userscript-Plus/raw/master/dist/magic-userjs.user.js)
3539

36-
## About
40+
**Manual:**
3741

38-
Currently [Userscript+](https://github.com/jae-jae/Userscript-Plus#userscript) can only find userscripts through [GreasyFork](https://greasyfork.org), I've added support for [SleazyFork](https://sleazyfork.org) along with a few additional features!
42+
Chromium
3943

40-
| Preview |
41-
:----------:
42-
|![Preview](https://raw.githubusercontent.com/magicoflolis/Userscript-Plus/master/resources/preview.png)|
44+
* Download and unzip [latest release](https://github.com/magicoflolis/Userscript-Plus/releases) into desired folder.
45+
* Go to chromium/chrome *Extensions*.
46+
* Click to check *Developer mode*.
47+
* Click *Load unpacked extension...*.
48+
* In the file selector dialog:
49+
* Select the directory `userscriptplus-*` / desired folder.
50+
* Click *Open*.
4351

44-
## Features
52+
Firefox
53+
54+
> See: [Temporary installation in Firefox](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox)
55+
56+
* Download and unzip [latest release](https://github.com/magicoflolis/Userscript-Plus/releases) into desired folder.
57+
* Copy and paste `about:debugging#/runtime/this-firefox` into your URL.
58+
* Click *Load Temporary Add-on…*.
59+
* In the file selector dialog:
60+
* Select the directory `userscriptplus-*` / desired folder.
61+
* Click *Open*.
62+
63+
***
4564

46-
- Added [SleazyFork](https://sleazyfork.org).
47-
- Added Dark Theme.
48-
- Compatible with TamperMonkey and ViolentMonkey.
65+
## Known bugs
66+
67+
* May leave a opened tab when TamperMonkey is used alongside.
68+
* **Will result in *i.table.noDataText* when no UserJS is found for current site OR is blocked.**
69+
* [ User Script ] In some sites below the plug-in interface icon is not displayed,Such as: Github
70+
71+
> **Reason**:This is because the security policy of these sites to prevent the plug-in icon font file loading, resulting in the icon does not display properly.
4972
5073
## Build Setup
5174

@@ -54,24 +77,24 @@ Currently [Userscript+](https://github.com/jae-jae/Userscript-Plus#userscript) c
5477
```bash
5578
# Install development dependencies
5679
npm i -D
57-
# Build if src was modified
58-
webpack
59-
# Run
60-
web-ext run -s ./extension/
80+
# Builds both User Script and Browser Extension
81+
npm run build:all
6182
# Recommended to create additional profile about:profiles
6283
web-ext run -p <profile> -s ./extension/
84+
# Run web-ext
85+
web-ext run -s ./extension/
6386
```
6487

6588
> Code is a bit of a mess right now
6689
67-
## Known bug
90+
## License
6891

69-
- May leave a opened tab when TamperMonkey is used alongside.
70-
- In some sites below the plug-in interface icon is not displayed,Such as: Github
71-
- **This will result in *i.table.noDataText* when no UserJS is found for current site.**
92+
MIT
7293

73-
> **Reason**:This is because the security policy of these sites to prevent the plug-in icon font file loading, resulting in the icon does not display properly.
94+
### Contacts
7495

75-
## License
96+
[GitHub](https://github.com/magicoflolis)
7697

77-
MIT
98+
[Twitter](https://twitter.com/for_lollipops)
99+
100+
[Greasy Fork](https://greasyfork.org/users/166061)

build/userscriptplus-chrome.zip

-656 KB
Binary file not shown.

build/userscriptplus-firefox.zip

-656 KB
Binary file not shown.

build/webpack.config.js

Lines changed: 0 additions & 53 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)