Thread Starter
sao987
(@sao987)
Ahh I see, it will only accept CSS rule not script rule, sorry I misunderstood it.
Thread Starter
sao987
(@sao987)
@jimi007 I’m sorry to bring you up, I have seen this old thread, thank you very much for the override code.
However, I’m having a slight problem. Basically my website is using webp format and I want to warn all internet explorer users their old broswer won’t work.
Is it possible to insert text_for_i script using your code? or maybe even both text_for_i and text_for_i_in_xx language. Sorry to trouble you…
You can amend the plugin according to your needs. See the documentation: http://browserupdate.org/customize.html
Note: You will need to implement your amended lines every time the plugin got updated.
-
This reply was modified 2 years, 8 months ago by
MacSteini.
Thread Starter
sao987
(@sao987)
@macsteini Thanks Marco, but as you can see all the old threads are locked, that’s why I opened this one…
I’m not a programmer only can do some basic coding according to documentation, but I will have a try later.
Thread Starter
sao987
(@sao987)
For other people’s future reference:
I tested adding text_for_i in line starting with var $buoop =, using Jamil’s format:
var $buoop = {required:{'.$browser.'},test:'.(isset($wpbu_js[1]) ? $wpbu_js[1] : '').',newwindow:'.(isset($wpbu_js[2]) ? $wpbu_js[2] : '').',style:"'.(isset($wpbu_js[3]) ? $wpbu_js[3] : '').'",insecure:'.(isset($wpbu_js[4]) ? $wpbu_js[4] : '').',unsupported:'.(isset($wpbu_js[5]) ? $wpbu_js[5] : '').',mobile:'.(isset($wpbu_js[6]) ? $wpbu_js[6] : '').',shift_page_down:'.(isset($wpbu_js[7]) ? $wpbu_js[7] : '').',text_for_i:"Your browser ({brow_name}) is so damn old! Internet Explorer is not supported anymore, update your browser as soon as possible to use this site.",api:2023.06};
and it works…