We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f9f2b commit e63cb83Copy full SHA for e63cb83
search.js
@@ -0,0 +1,12 @@
1
+if (window.location.href.includes('%23')) {
2
+} else {
3
+var btn = document.createElement('button')
4
+btn.className = 'button showAll'
5
+btn.textContent = 'Show All'
6
+btn.onclick = function() {
7
+ str = window.location.href
8
+var apple = str.split('https://scratch.mit.edu/search/projects?q=')[1];
9
+ window.location.href = `https://scratch.mit.edu/search/projects?q=%23${apple.replaceAll('%20', "%20%23")}`
10
+}
11
+document.querySelector('#view > div > div > div.sort-controls').appendChild(btn)
12
0 commit comments