Note that there are some explanatory texts on larger screens.

plurals
  1. PORclick menuext fails with internet explorer
    primarykey
    data
    text
    <p>i'm trying to get the url and title of any website with this javascript we wrote. i made the javascript in a .HTM and get it from out my regedit in the menuExt. like file://C:\Users\lala\script.htm</p> <p>here's the script</p> <pre><code>&lt;script type="text/javascript" defer&gt; javascript:{var jolExt={url:"http://example.com/script_container.php?id=&amp;note=",submit:function(a){var b=jolExt.base64.encode(jolExt.strip(document.getElementsByTagName("title")[0].innerHTML));var d=jolExt.base64.encode(jolExt.strip(location.href)); window.open(jolExt.url+d+"&amp;note="+b,"","width=380,height=335")},submitToOtherJol:function(){jolExt.submit(true)},submitToJol:function(){jolExt.submit(false)},strip:function(a){return a.replace(/ {2,}/g," ").replace(/^ +/g,"").replace(/ +$/g,"")},base64:{_0:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){var b="";var d,c,h,j,i,f,g;var e=0;a=jolExt.base64._1(a);while(e&lt;a.length){d=a.charCodeAt(e++);c=a.charCodeAt(e++);h=a.charCodeAt(e++);j=d&gt;&gt;2;i=((d&amp;3)&lt;&lt;4)|(c&gt;&gt;4);f=((c&amp;15)&lt;&lt;2)|(h&gt;&gt;6);g=h&amp;63;if(isNaN(c)){f=g=64}else if(isNaN(h)){g=64}b=b+this._0.charAt(j)+this._0.charAt(i)+this._0.charAt(f)+this._0.charAt(g)}return b},decode:function(a){var b="";var d,c,h;var j,i,f,g;var e=0;a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(e&lt;a.length){j=this._0.indexOf(a.charAt(e++));i=this._0.indexOf(a.charAt(e++));f=this._0.indexOf(a.charAt(e++));g=this._0.indexOf(a.charAt(e++));d=(j&lt;&lt;2)|(i&gt;&gt;4);c=((i&amp;15)&lt;&lt;4)|(f&gt;&gt;2);h=((f&amp;3)&lt;&lt;6)|g;b=b+String.fromCharCode(d);if(f!=64){b=b+String.fromCharCode(c)}if(g!=64){b=b+String.fromCharCode(h)}}b=jolExt.base64._2(b);return b},_1:function(a){a=a.replace(/\r\n/g,"\n");var b="";for(var d=0;d&lt;a.length;d++){var c=a.charCodeAt(d);if(c&lt;128){b+=String.fromCharCode(c)}else if((c&gt;127)&amp;&amp;(c&lt;2048)){b+=String.fromCharCode((c&gt;&gt;6)|192);b+=String.fromCharCode((c&amp;63)|128)}else{b+=String.fromCharCode((c&gt;&gt;12)|224); b+=String.fromCharCode(((c&gt;&gt;6)&amp;63)|128);b+=String.fromCharCode((c&amp;63)|128)}}return b},_2:function(a){var b="";var d=0;var c=c1=c2=0;while(d&lt;a.length){c=a.charCodeAt(d);if(c&lt;128){b+=String.fromCharCode(c);d++}else if((c&gt;191)&amp;&amp;(c&lt;224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((c&amp;31)&lt;&lt;6)|(c2&amp;63));d+=2}else{c2=a.charCodeAt(d+1);c3=a.charCodeAt(d+2);b+=String.fromCharCode(((c&amp;15)&lt;&lt;12)|((c2&amp;63)&lt;&lt;6)|(c3&amp;63));d+=3}}return b}}};jolExt.submitToJol();} </code></pre> <p></p> <p>when i'm using my add-on i made i only get the path i set on the regedit in the menuExt. Does any1 know's how to solve this. i alraidy tried to putt the full javascript in the string value but it didn't help.</p> <p>so in short language, i am asking the url but i get the path of my regedit editor in the menuExt. and i need the url of the parent site and the title of the parent site.</p> <p>Plz help me :)</p> <p>Regards,</p> <p>Freezingmoon</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload