db-gn 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,89 @@
1
+ ![Dancing Bunny](animation.gif)
2
+
3
+ # Dancing Bunny Games Network
4
+
5
+ A lightweight browser-based games network with multiple launch methods, tab cloaking, bookmarklets, Data URI launching, favorites, search, and a multi-tab interface.
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ Dancing Bunny Games Network is a fully client-side HTML application designed around portability and multiple launch methods.
12
+
13
+ The project includes:
14
+
15
+ * Multi-tab game interface
16
+ * Search system
17
+ * Favorites system
18
+ * Bookmarklet launcher
19
+ * Data URI launcher
20
+ * Custom cloaking support
21
+ * Embedded launcher methods
22
+ * Lightweight static deployment
23
+ * Multiple mirror deployments
24
+
25
+ The project currently contains access to over **2608 games**.
26
+
27
+ ---
28
+
29
+ ## Demo
30
+
31
+ # https://ltorl.github.io/dancing-bunny/v2.html
32
+
33
+ ---
34
+
35
+ ## Launch Methods
36
+
37
+ ### NPM svg
38
+
39
+ ```text
40
+ https://cdn.jsdelivr.net/npm/db-gn@latest/index.svg
41
+ ```
42
+
43
+ This probably wont be blocked because it would break real school sites
44
+
45
+ ---
46
+
47
+ ### HTML
48
+
49
+ Copy and run the HTML directly:
50
+
51
+ ```text
52
+ https://raw.githubusercontent.com/ltorl/dancing-bunny/refs/heads/main/index.html
53
+ ```
54
+
55
+ #### Instructions
56
+
57
+ 1. Open the raw HTML file
58
+ 2. Copy the source
59
+ 3. Paste into:
60
+ *
61
+ * W3Schools Tryit
62
+ * Code.org Web Lab
63
+ * OneCompiler
64
+ 4. Run the page
65
+
66
+ ---
67
+
68
+ ### Bookmarklet
69
+
70
+ ```text
71
+ https://raw.githubusercontent.com/ltorl/dancing-bunny/refs/heads/main/bookmarklet.js
72
+ ```
73
+
74
+ #### Instructions
75
+
76
+ 1. Open the bookmarklet source
77
+ 2. Copy the code
78
+ 3. Create a new bookmark
79
+ 4. Paste the code into the bookmark URL field
80
+ 5. Run from any webpage (ex: google.com)
81
+
82
+ ---
83
+
84
+ ## License
85
+
86
+ Licensed under the GNU General Public License v3.0.
87
+
88
+ ---
89
+
package/animation.gif ADDED
Binary file
package/bookmarklet.js CHANGED
@@ -1 +1 @@
1
- javascript:(function()%7Bconst%20n%20%3D%20window.open(%22about%3Ablank%22)%3B%0An.document.write('%3Ciframe%20src%3D%22https%3A%2F%2Fcdn.jsdelivr.net%2Fnpm%2Fdb-gn%40latest%2Findex.svg%22%20style%3D%22width%3A100%25%3Bheight%3A100%25%3Bborder%3A0%22%3E%3C%2Fiframe%3E')%3B%7D)()%3B
1
+ javascript:(()=>{document.body.innerHTML='<iframe src="https://cdn.jsdelivr.net/npm/db-gn@latest/index.svg" style="width:100%;height:100%;border:0"></iframe>'})()
package/index.html CHANGED
@@ -1 +1 @@
1
- <button onclick="const n = window.open('about:blank'); n.document.write(`<iframe src='https://cdn.jsdelivr.net/npm/db-gn@latest/index.svg' style='width:100%;height:100%;border:0'></iframe>`);" style="width: 100%; height: 100%;"></button>
1
+ <button onclick="(()=>{document.body.innerHTML='<iframe src=&quot;https://cdn.jsdelivr.net/npm/db-gn@latest/index.svg&quot; style=&quot;width:100%;height:100%;border:0&quot;></iframe>'})()">Click twice</button>
package/index.svg CHANGED
@@ -14,24 +14,16 @@
14
14
  d.write(text);
15
15
  d.close();
16
16
 
17
- window.open('', '_self', '');
18
17
  window.close();
19
18
  });
20
19
  }
21
20
  "
22
21
  style=
23
22
  "
24
- width: 100%; height: 100%;
25
- "
26
- onmouseover=
27
- "
28
- this.style.backgroundColor='#ffffff'
29
- "
30
- onmouseout=
31
- "
32
- this.style.backgroundColor='#ffffff'
23
+ width: 100%; height: 100%; font-size: 16pt; font-family: 'Comic Sans MS', sans-serif;
33
24
  "
34
25
  >
26
+ click here
35
27
  </button>
36
28
 
37
29
  <script>
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "db-gn",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "The BEST unblocked gaming website! 2000+ Games.",
5
5
  "main": "index.svg",
6
6
  "scripts": {
7
7
  "start": "node -e \"const http=require('http'),fs=require('fs');http.createServer((req,res)=>fs.createReadStream('v2.html').pipe(res)).listen(8080,()=>console.log('Starting up http-server, serving ./\\n\\nAvailable on:\\n http://localhost:8080\\n\\nPress Ctrl+C to stop the server.'))\""
8
8
  },
9
- "author": "letrol",
10
- "license": "ISC"
9
+ "author": "letrol"
11
10
  }