Skip to content

Commit

Permalink
sitne ispravke u vezi dozvola u panelu sa opcijama
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmm committed Dec 28, 2023
1 parent 5995123 commit 0a5004d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v2.0.6
- Ispravljeno: poruka u opcijama dodatka traži dozvole i u situacijama kada ne treba

v2.0.5
- Ispravljeno: parsiranje informacija u prozoru za brzi pregled povodom nedavnih izmena na KP sajtu

Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "KP Plus",
"description": "Dodatne opcije za KP sajt: Brzi pregled oglasa, Noćni režim, Uveličaj sliku na klik, Plutajuća traka sa informacijama, Proširi sajt.",
"version": "2.0.5",
"version": "2.0.6",

"author": "Stefan Marjanov",

Expand Down
2 changes: 1 addition & 1 deletion src/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@



<div class="footer_info">Verzija 2.0.5 | Ako nađete grešku prijavite je na <a href="mailto:[email protected]" target="_blank">[email protected]</a></div>
<div class="footer_info">Verzija 2.0.6 | Ako nađete grešku prijavite je na <a href="mailto:[email protected]" target="_blank">[email protected]</a></div>
<script src="options.js"></script>

</body>
Expand Down
4 changes: 2 additions & 2 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (typeof browser === "undefined") {
/* *********************** PERMISIJE *********************** */
/* ********************************************************* */
const permissions = {
origins: ["https://novi.kupujemprodajem.com/*"],
origins: ["https://www.kupujemprodajem.com/*"],
};

const checkbox_host_permission = document.getElementById("checkbox_host_permission");
Expand Down Expand Up @@ -36,7 +36,7 @@ browser.permissions.contains(permissions).then(granted => {


function reloadTabs(){
browser.tabs.query({ url: 'https://novi.kupujemprodajem.com/*' }, function(tabs) {
browser.tabs.query({ url: 'https://www.kupujemprodajem.com/*' }, function(tabs) {
tabs.forEach(function(tab) {
browser.tabs.reload(tab.id);
});
Expand Down

0 comments on commit 0a5004d

Please sign in to comment.