|
Well, some more technical users from firefox have given me some ideas to try the next time it happens. Warning noted about add-ons, but I know my machine is clean, I scan it pretty regular. Clean firefox install.
General consensus is that this is some JavaScript pulling an application modal stunt. I'm so glad our new HMI will be all in JavaScript.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Maybe JavaScript console of FF can help you... Debugging JavaScript - Mozilla | MDN[^], specially "Enable chrome and add-on debugging"...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
It's entirely likely that it's not a pop-up at all and is a div inserted into the BODY at a high z-index.
And they might have done something asinine like put an infinite loop into onbeforeunload.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
Yup, something like that. One thing I checked - the dialog that is made to look like a web page never shows up in the history. This leads me to believe that it is in fact a modal popup of some sort. I have a number of suggestions the firefox folks have given me (and I like the debug one above). i'll try and remember to update this thread if I figure out more.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
|
Oh, that's pretty messed up.
Thanks for the links; very informative.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
I would like to discuss this.
|
|
|
|
|
|
you shoud ask some professional expert
https://dichthuatmientrung.com.vn/
|
|
|
|
|
There are a lot of different factors to take into consideration. Did you have something more specific?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I created a dialog box on my landing page that pop-ups when the page loads for only once, but the problem is it is not responsive.
//this is my css code
#mask {
position: absolute;
left: 0;
top: 0;
z-index: 9000;
background-color: #000;
display: none;
}
#boxes .window {
position: absolute;
left: 0;
top: 0;
width: 440px;
height: 200px;
display: none;
z-index: 9999;
padding: 20px;
border-radius: 15px;
text-align: center;
}
#boxes #dialog {
width: 750px;
height: 300px;
padding: 10px;
background-color: #ffffff;
font-family: 'Segoe UI Light', sans-serif;
font-size: 15pt;
}
#popupfoot {
font-size: 16pt;
position: absolute;
bottom: 0px;
width: 250px;
left: 250px;
}
@media screen and (min-width: 800px)
{
#boxes.window{max-width: 500px; }
#dialog{max-width: 700px;}
}
//this is my jquery
$(document).ready(function() {
if (!readCookie('hasLaunch')) {
launchWindow('#dialog');
createCookie('hasLaunch', 1, 1);
}
$('.window .close').click(function (e) {
e.preventDefault();
$('#mask').hide();
$('.window').hide();
});
});
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function launchWindow(id) {
var maskHeight = $(document).height();
var maskWidth = $(window).width();
$('#mask').css({'width':maskWidth,'height':maskHeight});
$('#mask').fadeIn(500);
$('#mask').fadeTo("slow",0.9);
var winH = $(window).height();
var winW = $(window).width();
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
$(id).fadeIn(2000);
}
//this is html code
<div id="boxes">
<div id="dialog" class="window">
Welcome to GospelBox!!!
<div id="popupfoot"> <a href="/content/about.html"> Okay </a> | <a class="close" style="color:red;" href="#" >Skip this step </a> </div>
</div>
<div id="mask"></div>
</div>
Mark Vivian Das
|
|
|
|
|
|
Message Removed
-- modified 8-Aug-17 13:59pm.
|
|
|
|
|
Tell me one thing gyuz i want to start android programming can i firstly learn java ?
|
|
|
|
|
|
Hi,
I have a web project for customers database which will send bulk emails twice a week.
Most of hosting won't allow that because I have around 35,000 emails (increasing) to be sent every time.
Which web hosting you recommend for this? what's your advise?
Thanks,
Jassim
www.softnames.com
|
|
|
|
|
Trying to create a multi level tree inside a drop down list in Angular Js.
does anybody has similar implementation where tree can be collapsed and expanded.
modified 7-Jul-17 16:39pm.
|
|
|
|
|
Yes.
What's your question? Where are you stuck?
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
|
Hi,
I have the following SQL:
SELECT customers_address.customer_address_id, address_category.address_category_name, customers_address.address_name,
address_details.address_details_id,
address_details.address_details_text
FROM customers_address
JOIN address_category ON address_category.address_category_id = customers_address.address_category_id
LEFT JOIN address_details ON address_details.customer_address_id = customers_address.customer_address_id
WHERE customer_id = param_customer;
I want to show this output in JSON:
CustomerAddress:
{
customer_address_id
address_category_name
address_name
}
Details:
{
address_details_id
address_details_text
}
my current php is:
$mysql_query = $mysql_connection->prepare('CALL sp_populate_customer_addresses(:param_customer)');
$mysql_query->bindParam(':param_customer', $customer_id, PDO::PARAM_STR);
$mysql_query->execute();
if ($mysql_query->rowCount() <= 0) { echo "false"; }
else
{
$jsonData = array();
while($mysql_row = $mysql_query->fetch())
{
$jsonData[] = $mysql_row;
}
echo json_encode($jsonData);
}
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
It is quite simple. You should change :
$jsonData[] = $mysql_row;
to something like this
$jsonData[$i]['customer_address_id'] = $mysql_row['customer_address_id];
itd ..
$jsonData[$i]['Details']['address_details_id'] = $mysql_row['address_details_id];
|
|
|
|
|
What makes more sense?
1) Versioning in the uri itself for e.g. /foo/bar/v2/1
2) Versioning in the header Accept: application/vnd.bar.v2 + json
Any experiences or other good approaches?
|
|
|
|
|
|
5. I've been threw most of these articles earlier through .
What I'm trying to find are practical experiences.
|
|
|
|
|
I am aware of the debate over security issues with opening a software program using html but I have a special need to do so for use in a fillable PDF for in-house use only. I followed the code on an earlier post by one of your members for doing this with Notepad.exe, but the same code will not work with Snippingtool.exe. Another possible solution would be code for doing the same in HTA or in Javascript but I am a novice in such and could use some help.
Thanks!
|
|
|
|