Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide how to add new sites or submit edits to the script #209

Open
Purfview opened this issue Feb 21, 2024 · 0 comments
Open

Guide how to add new sites or submit edits to the script #209

Purfview opened this issue Feb 21, 2024 · 0 comments

Comments

@Purfview
Copy link
Owner

Purfview commented Feb 21, 2024

That is called PR (aka pull request), and it's very simple:

  1. Press on the script (IMDb_Scout_Mod.user.js) -> press Edit button (pencil icon). [creates a fork for you automatically]
  2. After edit press Commit changes -> Propose changes -> Create pull request -> Create pull request.

Notes on PR:

Change PR's title, from default "Update IMDb_Scout_Mod.user.js" to something meaningful, like "Add Somesite" & ect.
One site per one PR is preferred, but not mandatory.
Would be good if you tested your stuff locally in your "Monkey" before submitting it here to the master.

Notes on the site configs:

The site configs go to these variables:

There goes the searchable sites/icons:
var public_sites
var private_sites
var chinese_sites
var french_sites
var german_sites
var usenet_sites
var subs_sites
var pre_databases
var other_sites
var streaming_sites

There goes the simple icons:
var icon_sites_main

There goes the sophisticated special "icons" (you need to know how to program to make one):
var special_buttons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant