Wow even works in Edge (Not that i use it!).
Also it does work in Chrome on Windows
âThe site says⌠falseâ?! hehe odd.
Oh yeah haha! I didnât notice that!
It works in my Chrome/Mac!
If you goto the main ELR page and click on a recipe. Then click the back button. Do you get the prompt then? i do!
Hmmm lemme test!
Crap. I get that on Chrome.
I get that in chrome on a mac as well
I think Iâve fixed it!
sweet deal!
Yes you have indeed since i didnât get that message just now when i tried it out. Good work bro
Now if we can work on the issue where the ampersand, written as â&â causes all kinda goofiness when adding flavor names!
Iâm next, Dad! Me! Me!! Me!!!
##PHP:
htmlspecialchars() & htmlentities()
function escapeHtml(text) {
var map = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": '''
};
return text.replace(/[&<>"']/g, function(m) { return map[m]; });
}
Thanks to Kip for the Javascript one:
yeah thatâs âŚermâŚexactly what I was gonna sayâŚ
You damn programmers are too smart! Couldnât survive life without you! I couldnt learn thag stuffâŚand if I could I dont think Iâd want to lol
Haha nothing smart about PHP I can assure you!
another feature/fix you could look @ might be really easy.
when u post links to other sites and it wants to encapsulate (previews etc)
it always shows the bottle and the ELR links / clickable etc but it will display a âplease log inâ page instead of how if i post link to a recipe on here it posts the recipe.
see what I did there.