Right-click the menu [write registry] read the selected text picture and send the address to the specified page!

Source: Internet
Author: User
Tags tagname
Menu | page | registration FORM
Registry files

REGEDIT4


[-hkey_current_user oftware\microsoft\internet explorer\menuext\+ Offline &explorer:download the link]

[-hkey_current_user oftware\microsoft\internet explorer\menuext\+ Offline e&xplorer:download the current page]



[HKEY_CURRENT_USER Oftware\microsoft\internet Explorer\menuext]

[HKEY_CURRENT_USER Oftware\microsoft\internet explorer\menuext\asthlon-recommended to friends]
@= "Http://localhost/songcak/songcak/MouseAdd/index.aspx"


index.aspx file

<script language= "JavaScript" >
Asthlon
function GetFullPath (URL)
{
var iindex=url.lastindexof ('/');
if (iindex!=-1)
{
Return url.substring (0,iindex+1);
}
Else
return URL;
}


if (external.menuarguments) {
var parentwin = external.menuarguments;
var tp = ' &tp=txt ';
if (parentwin.document.selection) {
var sel = Parentwin.document.selection.createRange (). text;
}

if (!sel) {
var sel = ';
}

var url = parentwin.location.href;
var title = Parentwin.document.title;

if (Parentwin.event.srcElement.tagName = = "A") {
url = Parentwin.event.srcElement.getAttribute ("HREF");
title = Parentwin.event.srcElement.innerText;
}
else if (parentwin.event.srcElement.tagName = "IMG")
{
url = Parentwin.event.srcElement.getAttribute ("SRC");
TP = ' &tp=pic ';
}
void (GetFullPath (document.location.href) + ' window.open. /add.aspx?t= ' +escape (title) + ' &u= ' +escape (URL) + ' &c= ' +escape (SEL) + TP, ' Posttie ')
} else {
History.go (-1);
}
window.open (' add.aspx ', ' posttie ', ')
window.open (GetFullPath (document.location.href) + ' add.aspx?t= ' +escape (title) + ' &u= ' +escape (URL) + ' &c= ' + Escape (SEL) + TP, ' posttie ', '
</script>



add.aspx file processing file for receive request


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.