スクリプトの唯一の制限は、ページが完全に読み込まれた後にのみ機能し、低速のインターネットではすぐには機能しない可能性があることですが、ページの読み込みを停止するには十分です。
画像を直接開くには、画像自体をクリックし、中間ページを開くには、画像のサイズの下にあるリンクをクリックします(ところで:ドメインの色が変わるとすぐにスクリプトが機能し、<cite>を<a>に置き換えます)。
スクリプトをダウンロードして、ユーザースクリプトを保存するディレクトリに保存する必要があります:opera:config#UserPrefs | UserJavaScriptFile
注意 :以下のコードはレビュー用に提供されており、正常に動作しません。Habraparserはすべてを破損しています(== UserScript ==はキャメルサイズでスペースなしでなければなりません):
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
// ==User Script== // @name Direct images url on images.google.* // @description // @author spambox@hshhhhh.name // @include images.google.* // ==/User Script== function ImagesGooleComReplaceUrlFromSiteToImage() { /* */ var allHrefsNodes = document .getElementsByTagName( "a" ); /* site */ var currentCiteContainerNode; /* */ var currentCiteNode; /* */ var newHref; /* id */ var Id = 0; /* */ var Url; /* */ var regexpImgUrl = new RegExp( '.*imgurl=(.*)&imgrefurl.*' , 'g' ); for ( var i = 0; i < allHrefsNodes.length; i++) { /* */ Url = allHrefsNodes[i].href; /* ! */ if (Url.match(regexpImgUrl)) { /* id */ Id = allHrefsNodes[i].parentNode.id; Id = Id.match(/\d{1,4}/); if (Id !== null ) { /* */ currentCiteContainerNode = document .getElementById( 'tDataText' + Id).lastChild.lastChild; /* */ currentCiteNode = currentCiteContainerNode.lastChild; /* */ newHref = document .createElement( 'a' ); newHref.setAttribute( 'href' , allHrefsNodes[i].href); newHref.setAttribute( 'target' , '_blank' ); newHref.setAttribute( 'style' , 'text-decoration: none;' ); newHref.text = currentCiteNode.text; currentCiteContainerNode.appendChild(newHref); /* <cite>, */ currentCiteNode.parentNode.removeChild(currentCiteNode); /* */ allHrefsNodes[i].href = Url.replace(regexpImgUrl, "$1" ); } } } } document .addEventListener( 'DOMContentLoaded' , ImagesGooleComReplaceUrlFromSiteToImage, false ); * This source code was highlighted with Source Code Highlighter .
Upd#1 : hommは、スクリプトで直接サイトアドレスを確認することを提案しました。
Upd#2 : oRbは、ページを読み込んだ後ではなく、dom'aを読み込んだ後にスクリプトを実行することをお勧めします(非常に良いアドバイス)。
更新#3 : Octaneはキツネの下でアナログを書きました 。
homm は、クロスブラウザユーザースクリプトのトピックを取り上げました。