It should be that the page has not been loaded, so I judged, Wait until the page is loaded, then run
window.onload=function(){
var oo = new fw.com.ui.window({
range : [260,260,425,210],
title : "Warm Tips",
html : "
- 1. Are you interested in this work? Click the "Add to Bookshelf" button, and you can view the latest chapters of the work in "My Bookshelf" at any time and immediately. Reading, you no longer need to search around when you want to read it!
- 2. Readers’ support is the source of motivation for the author’s creation. If you think this book is good, please vote for the author! A gentle click is a strong support for the original author. Recommendation tickets are re-obtained every day. If you don’t use them today, they will expire. You can also get points for each work you recommend!
- 3. Click Don't prompt this message, and the prompt will no longer pop up
- Script Home ' onclick="setCookie('nofav','ok')">Don't prompt this message again
",
display : " none"
});
if(getCookie('nofav{?$article_id?}')!='ok'){
oo.show();
}
function setit (name,value){
setCookie(name,value);
oo.hide();
}
}