Upload files to "/"
This commit is contained in:
parent
3b2aeaec45
commit
8bb4f83de1
5 changed files with 112 additions and 0 deletions
76
homepage.html
Normal file
76
homepage.html
Normal file
|
@ -0,0 +1,76 @@
|
|||
<html>
|
||||
<head>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
|
||||
</head>
|
||||
<center>
|
||||
<img class="left"
|
||||
src="logo (1).png" width="450" height="450"
|
||||
alt="" title="Thanks you for using Resulti!" style="float:center-top;margin:0 145px 45px;" />
|
||||
</center>
|
||||
<center>
|
||||
|
||||
|
||||
</center>
|
||||
<center>
|
||||
<form id="standard" method="get" action="https://resulti.org/search.html">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" name="q" maxlength="150" id="search-bar" placeholder="Search the web with Resulti...">
|
||||
<button class="btn btn-outline-info" type="submit" id="button-addon2">:D</button>
|
||||
</div>
|
||||
</form>
|
||||
</center>
|
||||
<style>
|
||||
|
||||
body {
|
||||
background-color:#121212;
|
||||
text-align:;
|
||||
}
|
||||
h1 {
|
||||
background-color: ;
|
||||
}
|
||||
|
||||
h2 {
|
||||
background-color:;
|
||||
}
|
||||
|
||||
|
||||
|
||||
a:hover, a:active {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
h1 {
|
||||
border-bottom:5px solid #0079FF;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<style>
|
||||
#standard {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#animated-2 {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
width: 18%;
|
||||
}
|
||||
</style>
|
||||
</center>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
|
||||
</html>
|
||||
<body>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
8
homepage.js
Normal file
8
homepage.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Définissez l'URL de la page d'accueil souhaitée
|
||||
const homepage = 'https://www.example.com/';
|
||||
|
||||
// Utilisez l'API `browser.startup.set` pour définir la page d'accueil
|
||||
browser.startup.set({ homepage });
|
||||
|
||||
// Affichez un message pour indiquer que la page d'accueil a été mise à jour
|
||||
console.log('Homepage set to:', homepage);
|
BIN
icon.png
Normal file
BIN
icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
BIN
logo (1).png
Normal file
BIN
logo (1).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
28
manifest.json
Normal file
28
manifest.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Resulti by Forjed",
|
||||
"version": "1.3",
|
||||
"description": ".",
|
||||
"permissions": [ "activeTab" ],
|
||||
"browser_action": {
|
||||
"default_title": "resulti",
|
||||
"default_popup": "popup.html",
|
||||
"default_width": 100,
|
||||
"default_height": 100
|
||||
|
||||
},
|
||||
"chrome_settings_overrides": {
|
||||
"search_provider": {
|
||||
"encoding": "UTF-8",
|
||||
"favicon_url": "icon.png",
|
||||
"is_default": true,
|
||||
"keyword": "resulti.net",
|
||||
"name": "Resulti",
|
||||
"search_url": "https://resulti.org/search.html?q={searchTerms}"
|
||||
|
||||
}
|
||||
},
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "homepage.html"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue