Add index file with listing of scripts
This commit is contained in:
parent
b693d90e33
commit
b199c482a5
2 changed files with 24 additions and 0 deletions
6
_config.yml
Normal file
6
_config.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
url: https://projects.danielrayjones.com
|
||||||
|
baseurl: /userscripts
|
||||||
|
|
||||||
|
userscripts:
|
||||||
|
- file: giveaway.user.js
|
||||||
|
name: Amazon Giveaway Listing Visited Remover
|
||||||
18
index.html
Normal file
18
index.html
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
title: Userscripts
|
||||||
|
---
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
<title>{{ page.title }}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
{% for script in site.userscripts %}
|
||||||
|
<li><a href="{{ site.baseurl }}/{{ script.file }}">{{ script.name }}</a><br/>
|
||||||
|
Bookmarklet <a href="javascript:(function(){var e=document.createElement('script');e.src='{{ site.url }}{{ site.baseurl }}/{{ script.file }}';document.body.appendChild(e);})()">{{ script.name }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue