@maherkoo said in Stop-it:
pls make in update for it
Can you please send me the info with the right url at: stop-it.be@hotmail.com
I will investigate the cases & then if needed i put a new update tonight
thanks
Do more on the web, with a fast and secure browser!
Download Opera browser with:
@maherkoo said in Stop-it:
pls make in update for it
Can you please send me the info with the right url at: stop-it.be@hotmail.com
I will investigate the cases & then if needed i put a new update tonight
thanks
Chrome uses the chromium engine as well. Opera should get at least support the features that Chrome does in their policy support. All they would have to do is read the correct keys from the registry and apply whatever is applicable.
i need to use the function from chrome "ExtensionInstallForcelist" for Opera for my extension
https://chrome.google.com/webstore/detail/stop-it/mgbmndipjhghcencokiedbkfgbomdpmd?hl=en
Hi, i need to ExtensionInstallForcelist force an extension to stay installed, i want to prevent the user to remove the extension when it's force installed like extensions in chrome, i tried this bit it's not working for Opera browser
this sample is for chrome browser i changed the path to Opera:
[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionInstallForcelist]
"1"="mgbmndipjhghcencokiedbkfgbomdpmd;https://clients2.google.com/service/update2/crx"
How to achieve the same for Opera, for preventing users who try to remove the installed extensions ?
Yeah my add-on is also on Opera store i'm looking for adding a function who prevent the add-on to be disabled by users, when it's installed, prevent users of disabling and watching or accessing xxx contents and others things.
maybe is something here : https://dev.opera.com/extensions/
You need to change the name i got the same problem my extension name was "stop-it", i deleted the extension and if you read the rules NEVER DELETE THE EXTENSIONS, just add a new version because if you delete the extension, you need to create a new one, with a new name... i know it sound stupid... !!!
so before my extension was stop-it, i deleted it and now my extension is stop--it ( thats inside the manifest.json )
@stop-it You just need to delete your zip file and recreate a new one, with all your files inside, happens to me too !
Hi i have an extension who works under chrome, Firefox and opera.
What i did for my chrome extension is, this i created an external little app EXE (windows),
when i launch my app on my desktop the app write reg keys.
Those registry keys prevent the user to remove/uninstall my add-on my add-on is a protection tool against adults contents & dangerous urls, it also work on incognito mode and guest mode is disabled, also creating a new empty profile use the add-on, so its 100% protected!
when my app install those keys and when i start chrome, my add-on is installed,
i would like to achieve the same on Opera.
It is possible ?? because Opera is based on Chromium !
What i did for my chrome extension is, this i created an external little app EXE (windows), when i launch my app on my desktop the app write reg keys.
when my app install those keys and when i launch chrome, my add-on is installed,
i would like to achieve the same on Opera.
It is possible ?? because Opera is based on Chromium !
No, i'm trying to add a function to my add-on, who install a registry key preventing the user to remove/uninstall my add-on it's what i did for my chrome extension and it works perfectly, a regular user never goes and know what is the windows registry is....
so when i was doing my tests i saw all those keys recreated every time i load opera, if i delete those keys, opera recreate them at start. !
BUT what i found no help or templates is HOW to do that for Opera !!!
I just want to create my registry keys and when i start Opera i need to see my add-on be installed !
in chrome i can LOCK my add-on with a reg file, then my add-on can't be uninstallied / removed by regular users.
it has to be feasible too for opera i'm sure i can add a registry value !
We need for the future releases Password Protected add-ons, who can prevent the add-on to be removed/disabled!!
This is really useful if we add a children protection add-on, it's blocked and the user can't remove it, only with the right password !!
I still have the sames keys who are created every-time, EVEN if i remove Opera and reinstall, those keys reappear !!!
I don't think Opera is safe..... seriously a browser who change and add windows registry keys....anything can happens !!!!
Opera Neon doesn't ACCEPT EXTENSIONS, ADD-ON, so for me this next gen browser, is dead !!!!
@leocg well it has to be a way to solve this, i just want my add-on block the urls !!! problem is something doesn't work in my code and i have access to the index pages of blocked sites url's !
That happens every time i restart Opera,
EVEN if i have no add-ons !!!!
Those rules are re-created inside the registry in the section extensions.opsettings !!!
Looking into the registry of Opera i found this weird thing !!!
when i install My add-on and restart Opera !!
I get TONS of keys inside the registry of windows !!!
Can someone EXPLAIN THIS ???
In Opera i have just My own add-on !
In fact my add-on works BUT i found something interesting !
How in my add-on code i can activate all those functions by default ?
Hi, my Opera extension block access to url's, problem is my extension Block urls but i still can go to the index homes pages, so here it's a part of my code, need help to understand what's wrong and how i can correct that.
also profanity words are not blocked Safe Search is off, but why !!!
Here the code of my search.js
"use strict";
chrome.webRequest.onBeforeRequest.addListener(
redirect,
{urls: ["<all_urls>"], types: ["main_frame", "sub_frame"]},
["blocking"]
);
chrome.webNavigation.onReferenceFragmentUpdated.addListener(function(details) {
if ( /webhp.*q=/.test(details.url) ) {
let new_url = _add_if_necessary(details.url, "safe=active&ssui=on");
if ( new_url ) {
chrome.tabs.update(details.tabId, {'url': new_url});
}
}
});
function redirect(requestDetails) {
let redir_url = _alter(requestDetails.url);
if ( redir_url ) {
return { redirectUrl: redir_url };
}
}
function _alter(uri) {
if ( uri.indexOf("google.") != -1 ) {
if (/q=/.test(uri)) {
return _add_if_necessary(uri, "safe=active&ssui=on");
}
} else if ( uri.indexOf("search.yahoo.") != -1 ) {
if (/(\/search)/.test(uri)) {
return _add_if_necessary(uri, "vm=r");
}
} else if ( uri.indexOf("bing.") != -1 ) {
if (/(\/search|\/videos|\/images|\/news)/.test(uri)) {
return _add_if_necessary(uri, "adlt=strict");
}
} else if ( uri.indexOf("duckduckgo.") != -1 ) {
if ( uri.indexOf("q=") != -1 ) {
return _add_if_necessary(uri, "kp=1");
}
} else if ( uri.indexOf("yandex.") != -1 ) {
if ( uri.indexOf("/search") != -1 ) {
return _add_if_necessary(uri, "fyandex=1");
}
}
return false;
}
function _add_if_necessary(uri, needed_part) {
if (uri.indexOf(needed_part) == -1) {
return uri + "&" + needed_part;
} else {
return false;
}
}
chrome.webRequest.onBeforeSendHeaders.addListener(
function(details) {
for (let i = 0; i < details.requestHeaders.length; ++i) {
if (details.requestHeaders[i].name === 'YouTube-Restrict') {
details.requestHeaders.splice(i, 1);
break;
}
}
details.requestHeaders.push({"name": "YouTube-Restrict",
"value": "Moderate"});
return {requestHeaders: details.requestHeaders};
},
{urls: ["*://*.youtube.com/*"], types: ["main_frame", "sub_frame"]},
["blocking", "requestHeaders"]
);
here my background.js file
'use strict';
let db = []; // session Global
// ----- parse & cache the database data
fetch('http://website/upload/db.dat')
.then(response => response.text())
.then(text => { db = text.trim().split(/[\r\n]+/); })
.catch(error => console.log(error));
chrome.webRequest.onBeforeRequest.addListener( details => {
let url = new URL(details.url);
return { cancel: url && url.hostname && db.includes(url.hostname) };
},
{urls: ["http://*/*", "https://*/*"]},
["blocking"]
);
IMPOSSIBLE TO UPDATE MY ADD-ON !!!!
allways an error message telling my the zip is not valid... wtf ???