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

Add files via upload #144

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions submissions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A browser extension to help ease research. And change from the loading of these platforms, then typing of the resarch and finally researching, to just 2 clicks plus your question.
Binary file added submissions/chatgpt_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submissions/google_logo_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions submissions/searchi/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A browser extension to help ease research. And change from the loading of these platforms, then typing of the resarch and finally researching, to just 2 clicks plus your question.
Binary file added submissions/searchi/chatgpt_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submissions/searchi/google_logo_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions submissions/searchi/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
body{
font-family: Arial, Helvetica, sans-serif;

}
button{
width: 317px;
height: 55px;
font-size: larger;
border-radius: 5px;
background-color: rgb(189, 168, 200) /* rgb(251, 197, 239) */;
box-shadow: 3px 1px 1px 1px rgb(116, 115, 117) /* rgb(197, 122, 181) */;
display: flex;
justify-content: flex-start;
}
button:hover{
background-color: rgb(172, 122, 197);
color: white;
cursor: pointer;
box-shadow: 3px 1px 1px 1px rgb(251, 197, 239);

}
button span{
padding-top: 10px;
padding-left: 10px;
font-size: 20px;
font-weight: 550;
}
input{
width: 310px;
height: 55px;
font-size: larger;
border-radius: 5px;
border-color: 0;
}
.container{
display: flex;
flex-direction: column;
gap: 5px;
}
p{
font-family: 'Courier New', Courier, monospace;
min-width: 320px;
}
img{
height: 45px;
}
23 changes: 23 additions & 0 deletions submissions/searchi/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Searchy</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<p>Developed by <strong>Samuel Djeumeni</strong></p>

<div class="container">
<input type="text" id="input" placeholder="search...">
<button id="youtube"> <img src="youtuble logo_icon.png" alt="Youtube search"><span>YouTube</span></button>
<button id="gg-maps"> <img src="google_logo_icon.png" alt="google maps search"><span>Maps</span></button>
<button id="wikipedia"> <img src="wikipedia_icon.png" alt="wikipedia search"><span>Wikipedia</span></button>
<button id="chatgpt"> <img src="chatgpt_icon.png" alt="chatgpt search"><span>ChatGpt</span></button>

</div>
<script src="menu.js"></script>

</body>
</html>
Binary file added submissions/searchi/logo_extension_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submissions/searchi/logo_extension_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submissions/searchi/logo_extension_48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions submissions/searchi/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"manifest_version":3,
"name": "Searchi",
"version": "1.0",
"description": "Extension de recherhce rapide",
"permissions": ["activeTab"],
"action":{
"default_popup": "index.html",
"default_icon":{
"16": "logo_extension_16.png",
"48": "logo_extension_48.png",
"128": "logo_extension_128.png"
}
}

}
45 changes: 45 additions & 0 deletions submissions/searchi/menu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
document.getElementById('youtube').addEventListener(
"click", function(){
const query= document.getElementById("input").value;
if (query) {

const youtube_search=`https://www.youtube.com/search?q=${ encodeURIComponent(query)}`;
chrome.tabs.create( {url: youtube_search});
}
}
);

document.getElementById('gg-maps').addEventListener(
"click", function(){
const query= document.getElementById("input").value;
if (query) {

const gg_maps_search=`https://www.google.com/maps?q=${ encodeURIComponent(query)}`;
chrome.tabs.create( {url: gg_maps_search});
}
}
);

document.getElementById('wikipedia').addEventListener(
"click", function(){
const query= document.getElementById("input").value;
if (query) {

const wikipedia_search=`https://www.wikipedia.org/wiki/Special:Search?search=${ encodeURIComponent(query)}`;
chrome.tabs.create( {url: wikipedia_search});
}
}
);



document.getElementById('chatgpt').addEventListener(
"click", function(){
const query= document.getElementById("input").value;
if (query) {

const chatgpt_search=`https://chatgpt.com/search?q=${ encodeURIComponent(query)}`;
chrome.tabs.create( {url: chatgpt_search});
}
}
);
Binary file added submissions/searchi/wikipedia_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submissions/searchi/youtuble logo_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.