Unicode in addressbar (bundle.js tweak)



  • Open bundle.js in a text editor, replace strings as listed below: 1.0.344.37 [spoiler] search string: [b]487:[function(e,t){"use strict";var n=e(80),i=function()[/b] replace with: [b]487:[function(e,t){"use strict";var n=e(80),pud=e(9),ghn=e(252),i=function()[/b] search string: [b]},this.getDisplayUrl=function[/b] replace with: [b]},this.cvturl=function(e){var hn=ghn.parse(e).hostname+"";var uhn=pud.toUnicode(hn);e=decodeURIComponent(e);return e.replace(hn,uhn).replace(/ /g,"%20");},this.getDisplayUrl=function[/b] search string: [b]fieldGo:this.urlFieldGo,url:this.props.page&&this.props.page.get("url")||""[/b] replace with: [b]fieldGo:this.urlFieldGo,url:j.cvturl(this.props.page&&this.props.page.get("url")||"")[/b] search string: [b]this._defaultMapUrlToDisplayUrl(e,i);break}}return e}[/b] replace with: [b]this._defaultMapUrlToDisplayUrl(e,i);break}}return this.cvturl(e)}[/b] [/spoiler] 1.0.357.5, 1.0.365.3, 1.0.375.3 [spoiler] search string: [b]"Win32"===navigator.platform,[/b] replace with: [b]"Win32"===navigator.platform,pud=e(9),[/b] search string: [b]getDisplayURL:function(e){if(e){var t=G(e.get("url"));[/b] replace with: [b]getDisplayURL:function(e){if(e){var t=G(e.get("url"));var hn=j.parse(t).hostname+"",uhn=pud.toUnicode(hn);t=decodeURIComponent(t).replace(hn,uhn).replace(/ /g,"%20");[/b] [/spoiler] [attachment=2375]2816169-3-2.png[/attachment] Attachments: [img]https://forum.vivaldi.net/uploads/attachments/72065/2816169-3.png[/img],[img]https://forum.vivaldi.net/uploads/attachments/72065/2816169-3-2.png[/img]


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.