• Resolved sao987

    (@sao987)


    I have seen this thread but it didn’t answer the issue…

    As you can see, the orignal input

    $buoop = {
    text_for_i: {
    'msg':'Your browser ({brow_name}) is so damn old! Internet Explorer is not supported anymore and will not work on this website.',
    'msgmore': 'Please update your browser as soon as possible.'
    }
    }

    became

    $buoop = {
    text_for_i: {
    \'msg\':\'Your browser ({brow_name}) is so damn old! Internet Explorer is not supported anymore.\',
    \'msgmore\': \'Update your browser as soon as possible to use this site.\'
    }
    }

    after clicking ‘Update Settings’ and the CSS change does not take effect.

    Will this problem be fixed?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author MacSteini

    (@macsteini)

    The textarea is accepting CSS. Why would you put script in there? Please check the linked documentation how to use.

    • This reply was modified 1 year, 9 months ago by MacSteini.
    • This reply was modified 1 year, 9 months ago by MacSteini.
    • This reply was modified 1 year, 9 months ago by MacSteini.
    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…

    Plugin Author MacSteini

    (@macsteini)

    You can amend the plugin according to your needs. See the documentation: https://browserupdate.org/customize.html

    Note: You will need to implement your amended lines every time the plugin got updated.

    • This reply was modified 1 year, 9 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…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem about ‘Change the CSS Style’ adding “\”’ is closed to new replies.