Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: There is an error 404 for URL Encoding

$
0
0
Bit of hack but I wanted the best of both worlds. Stick a bit of JavaScript on the Skin .ascx page (e.g. /skins/Dark/Dark.ascx);
e.g.
$(document).ready(function () {
$('a').each(function () {
        if ($(this).attr('href') != undefined && $(this).attr('href') != "") {
            var url = $(this).attr('href').replace("SkinSrc=/DesktopModules/NB_Store/Skins/Dark/Dark", "SkinSrc=%2fDesktopModules%2fNB_Store%2fSkins%2fDark%2fDark");
            $(this).attr('href', url);
        }
});
});

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>