How to force a website to use any browser other than operamini?











up vote
-1
down vote

favorite












I recently bought and Opencart theme and I completed making a website using it. However after deploying it, I realized it was not customized for Operamini Android Browser. The display is terrible at the moment.



I would like to use a workaround at the moment where the website will detect the browsers on the user's computer and open in any except OperaMini even if it is the default browser.
Kindly assist.










share|improve this question
























  • in Javascript dosomething like if(<<the current user-agent is the Opera Mini one>>) {<<do whatever you want for opera mini>>} else {<<show the site>>}. You should understand that there are thousands of web browsers for Android, so you can't say if every other browser will workOK
    – Vladyslav Matviienko
    Nov 7 at 6:58










  • Thank you! Could you help me with the JS code to force opening with Chrome and Android Webview please?
    – Fh Ndiritu
    Nov 7 at 7:10










  • you can't force opening with another browser. Additionally, there may be no other browser on the device. You may what to just show the page without your style in case of opera mini
    – Vladyslav Matviienko
    Nov 7 at 7:44

















up vote
-1
down vote

favorite












I recently bought and Opencart theme and I completed making a website using it. However after deploying it, I realized it was not customized for Operamini Android Browser. The display is terrible at the moment.



I would like to use a workaround at the moment where the website will detect the browsers on the user's computer and open in any except OperaMini even if it is the default browser.
Kindly assist.










share|improve this question
























  • in Javascript dosomething like if(<<the current user-agent is the Opera Mini one>>) {<<do whatever you want for opera mini>>} else {<<show the site>>}. You should understand that there are thousands of web browsers for Android, so you can't say if every other browser will workOK
    – Vladyslav Matviienko
    Nov 7 at 6:58










  • Thank you! Could you help me with the JS code to force opening with Chrome and Android Webview please?
    – Fh Ndiritu
    Nov 7 at 7:10










  • you can't force opening with another browser. Additionally, there may be no other browser on the device. You may what to just show the page without your style in case of opera mini
    – Vladyslav Matviienko
    Nov 7 at 7:44















up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I recently bought and Opencart theme and I completed making a website using it. However after deploying it, I realized it was not customized for Operamini Android Browser. The display is terrible at the moment.



I would like to use a workaround at the moment where the website will detect the browsers on the user's computer and open in any except OperaMini even if it is the default browser.
Kindly assist.










share|improve this question















I recently bought and Opencart theme and I completed making a website using it. However after deploying it, I realized it was not customized for Operamini Android Browser. The display is terrible at the moment.



I would like to use a workaround at the moment where the website will detect the browsers on the user's computer and open in any except OperaMini even if it is the default browser.
Kindly assist.







android opera






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 7 at 11:54









Kling Klang

32k156286




32k156286










asked Nov 7 at 6:23









Fh Ndiritu

113




113












  • in Javascript dosomething like if(<<the current user-agent is the Opera Mini one>>) {<<do whatever you want for opera mini>>} else {<<show the site>>}. You should understand that there are thousands of web browsers for Android, so you can't say if every other browser will workOK
    – Vladyslav Matviienko
    Nov 7 at 6:58










  • Thank you! Could you help me with the JS code to force opening with Chrome and Android Webview please?
    – Fh Ndiritu
    Nov 7 at 7:10










  • you can't force opening with another browser. Additionally, there may be no other browser on the device. You may what to just show the page without your style in case of opera mini
    – Vladyslav Matviienko
    Nov 7 at 7:44




















  • in Javascript dosomething like if(<<the current user-agent is the Opera Mini one>>) {<<do whatever you want for opera mini>>} else {<<show the site>>}. You should understand that there are thousands of web browsers for Android, so you can't say if every other browser will workOK
    – Vladyslav Matviienko
    Nov 7 at 6:58










  • Thank you! Could you help me with the JS code to force opening with Chrome and Android Webview please?
    – Fh Ndiritu
    Nov 7 at 7:10










  • you can't force opening with another browser. Additionally, there may be no other browser on the device. You may what to just show the page without your style in case of opera mini
    – Vladyslav Matviienko
    Nov 7 at 7:44


















in Javascript dosomething like if(<<the current user-agent is the Opera Mini one>>) {<<do whatever you want for opera mini>>} else {<<show the site>>}. You should understand that there are thousands of web browsers for Android, so you can't say if every other browser will workOK
– Vladyslav Matviienko
Nov 7 at 6:58




in Javascript dosomething like if(<<the current user-agent is the Opera Mini one>>) {<<do whatever you want for opera mini>>} else {<<show the site>>}. You should understand that there are thousands of web browsers for Android, so you can't say if every other browser will workOK
– Vladyslav Matviienko
Nov 7 at 6:58












Thank you! Could you help me with the JS code to force opening with Chrome and Android Webview please?
– Fh Ndiritu
Nov 7 at 7:10




Thank you! Could you help me with the JS code to force opening with Chrome and Android Webview please?
– Fh Ndiritu
Nov 7 at 7:10












you can't force opening with another browser. Additionally, there may be no other browser on the device. You may what to just show the page without your style in case of opera mini
– Vladyslav Matviienko
Nov 7 at 7:44






you can't force opening with another browser. Additionally, there may be no other browser on the device. You may what to just show the page without your style in case of opera mini
– Vladyslav Matviienko
Nov 7 at 7:44



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53184483%2fhow-to-force-a-website-to-use-any-browser-other-than-operamini%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53184483%2fhow-to-force-a-website-to-use-any-browser-other-than-operamini%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

横浜市

Rostock

Europa