Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ var getScriptPageTasks = function (aOptions) {
};
});

aOptions.script.antifeatures = Object.values(types);
aOptions.script.antifeatures = Object.values(types).reverse();
}

// Show collaborators of the script
Expand Down
18 changes: 9 additions & 9 deletions views/includes/documents/Frequently-Asked-Questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ The `@downloadURL` UserScript metadata block key is not currently required but h

### Q: What is antifeature?

A: Adopted and vetted from another site, this UserScript metadata block key indicates what types of Author beneficial Code has been included with the script. This allows any visitor to make a more informed decision before installation.
A: Adopted and vetted from another site, this UserScript metadata block key indicates what types of Author indicated beneficial Code has been included with the script. This allows any visitor to make a more informed decision before installation.

Non-localized usage:
``` js
Expand All @@ -270,46 +270,46 @@ Localized usage:

The following key type(s) are currently supported:

#### antifeature ads
#### ads antifeature

``` js
// @antifeature ads This script contains too many ads.
```

#### antifeature membership
#### membership antifeature

``` js
// @antifeature membership This script requires an account for full functionality.
```

#### antifeature miner
#### miner antifeature

``` js
// @antifeature miner This script uses a lot of electricity on your behalf.
```

#### antifeature referral-link
#### referral-link antifeature

``` js
// @antifeature referral-link This script makes money for the Author.
```


#### antifeature tracking
#### tracking antifeature

``` js
// @antifeature tracking This script contains a tracking of your activity.
```

The following key type(s) are currently __not__ supported:

#### antifeature payment
#### payment antifeature

``` js
// @antifeature payment This script utilizes additional proprietary upstream software and access.
// @antifeature payment This script utilizes additional monetary proprietary upstream software and access.
```

If any of these keys are present then additional consideration should be utilized for moderation requests. If any key is absent and a script is found to contain Code relevant to these types please flag the script for moderation inspection.
If any of these keys are present then additional consideration should be utilized for moderation requests. If any key is absent and a script is found to contain Code relevant to these types please flag the script for moderation inspection with specifics.


### Q: Does OpenUserJS.org have script synchronization from a version control site?
Expand Down
5 changes: 4 additions & 1 deletion views/pages/scriptPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@
{{#script.copyrights}}<p><i class="fa fa-fw fa-copyright"></i> <b>Copyright:</b> {{name}}</p>{{/script.copyrights}}
{{#script.licenseConflict}}<p><i class="fa fa-fw fa-legal"></i> <b>License:</b> {{#script.licenseParadox}}<s>{{/script.licenseParadox}}<a rel="external noreferrer noopener nofollow ugc license" referrerpolicy="same-origin" href="https://spdx.org/licenses/MIT.html">MIT</a>; <a rel="external noreferrer noopener nofollow ugc license" referrerpolicy="same-origin" href="https://opensource.org/licenses/MIT">https://opensource.org/licenses/MIT</a>{{#script.licenseParadox}}</s>{{/script.licenseParadox}}</p>{{/script.licenseConflict}}
{{#script.licenses}}<p><i class="fa fa-fw fa-balance-scale"></i> <b>License:</b> {{#name}}{{name}}{{/name}}{{^name}}<a rel="external noreferrer noopener nofollow ugc license" referrerpolicy="same-origin" href="https://spdx.org/licenses/{{spdx}}.html">{{spdx}}</a>{{#url}}; <a rel="external noreferrer noopener nofollow ugc license" referrerpolicy="same-origin" href="{{url}}">{{url}}</a>{{/url}}{{/name}}</p>{{/script.licenses}}
{{^hasAntiFeature}}
<p><i class="fa fa-fw fa-exclamation-triangle"></i> <b>Antifeature:</b> <a href="/about/Frequently-Asked-Questions#q-what-is-antifeature-"><i>not specified</i></a>
{{/hasAntiFeature}}
{{#hasAntiFeature}}
<p><i class="fa fa-fw fa-exclamation-triangle"></i> <b>Antifeatures:</b> <span>{{#script.antifeatures}}<a href="/about/Frequently-Asked-Questions#antifeature-{{name}}" title="{{comment}}"> {{name}}</a>{{/script.antifeatures}}</span></p>
<p><i class="fa fa-fw fa-exclamation-triangle"></i> <b>Antifeature:</b> <span>{{#script.antifeatures}}<a href="/about/Frequently-Asked-Questions#{{name}}-antifeature" title="{{comment}}"> {{name}}</a>{{/script.antifeatures}}</span></p>
{{/hasAntiFeature}}
{{#hasCollab}}
<p><i class="fa fa-fw fa-user"></i> <b>Collaborator:</b> {{#script.collaborators}} <span class="label label-info"><a href="/users/{{{url}}}">{{text}}</a></span> {{/script.collaborators}}</p>
Expand Down