• Resolved rickhua

    (@rickhua)


    Today when I use Internet explorer 8 to add an Amazon ad, clicking the button Add shortcode in the last step does not succeed, here is the screenshot

    • This topic was modified 8 years, 1 month ago by rickhua.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Internet Explorer 8??? Seriously?

    Get a modern browser and don’t use IE8… that’s irresponsible. Neither is it safe, nor can it display latest web technologies.

    Why would you want to use IE8 in the first place? It’s more than eight years old.

    • This reply was modified 8 years, 1 month ago by superninchen.
    Plugin Author Amazon Associates Link Builder

    (@amazonlinkbuilder)

    Dear @richkua,

    We didn’t test for support on InternetExplorer(IE) 8 as its a really old browser. Please update to latest version of IE.

    Thread Starter rickhua

    (@rickhua)

    The problem with the IE bug is plaguing me. I had to use IE debugging in the last weekend and found the plugin in the directory: /wp-content/plugins/amazon-associates-link-builder/admin/js/aalb_admin.js js file No compatible processing was performed. When the return value was obtained, the Object.values method that was not supported in the low-level IE was invoked, and the code was temporarily modified to solve this problem. After the modification, it could be used normally.
    function objectValues(obj) {
    var res = [];
    for (var i in obj) {
    if (obj.hasOwnProperty(i)) {
    res.push(obj[i]);
    }
    }
    return res;
    }

    /**
    * Gets the selected Asins
    *
    * @return String Selected Asins
    */
    function get_selected_asins() {
    //Map first creates an Array of ASINs(every array element contains comma separated asins of one marketplace) & later separate these array elements by join
    try {
    return Object.values( marketplace_pop_up_json ).map( function( marketplace ) {
    return marketplace.selected_asin.toString();
    } ).join( ‘|’ );
    }
    catch(err){
    var m= objectValues(marketplace_pop_up_json);
    return m.map( function( marketplace ) {
    return marketplace.selected_asin.toString();
    } ).join( ‘|’ );
    }
    }
    /**
    * Get the selected associate tag
    *
    * @return String Selected Associate tag
    */
    function get_selected_store() {
    try {
    return Object.values( marketplace_pop_up_json ).map( function( marketplace ) {
    return marketplace.store_id;
    } ).join( ‘|’ );
    }
    catch(err){
    var m= objectValues(marketplace_pop_up_json);
    return m.map( function( marketplace ) {
    return marketplace.store_id;
    } ).join( ‘|’ );
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Internet explorer 8 cannot be used’ is closed to new replies.