中間ページなしでGoogle検索のオペラ画像を開きます

写真でGoogle検索を使用することが多く、中間ページを開かなければならないことに腹を立てます。 彼はため息をつき、この問題を解決し、中間ページを開く機能を保持するuser.jsを書きました。



スクリプトの唯一の制限は、ページが完全に読み込まれた後にのみ機能し、低速のインターネットではすぐには機能しない可能性があることですが、ページの読み込みを停止するには十分です。

画像を直接開くには、画像自体をクリックし、中間ページを開くには、画像のサイズの下にあるリンクをクリックします(ところで:ドメインの色が変わるとすぐにスクリプトが機能し、<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 .



  1. // ==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 .



  2. // ==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 .



  3. // ==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 .



  4. // ==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 .



  5. // ==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 .



  6. // ==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 .



  7. // ==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 .



  8. // ==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 .



  9. // ==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 .



  10. // ==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 .



  11. // ==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 .



  12. // ==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 .



  13. // ==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 .



  14. // ==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 .



  15. // ==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 .



  16. // ==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 .



  17. // ==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 .



  18. // ==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 .



  19. // ==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 .



  20. // ==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 .



  21. // ==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 .



  22. // ==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 .



  23. // ==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 .



  24. // ==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 .



  25. // ==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 .



  26. // ==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 .



  27. // ==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 .



  28. // ==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 .



  29. // ==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 .



  30. // ==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 .



  31. // ==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 .



  32. // ==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 .



  33. // ==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 .



  34. // ==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 .



  35. // ==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 .



  36. // ==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 .



  37. // ==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 .



  38. // ==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 .



  39. // ==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 .



  40. // ==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 .



  41. // ==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 .



  42. // ==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 .



  43. // ==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 .



  44. // ==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 .



  45. // ==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 .



  46. // ==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 .



  47. // ==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 .



  48. // ==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 .



  49. // ==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 .



  50. // ==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 .



  51. // ==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 .



  52. // ==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 .



  53. // ==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 .



  54. // ==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#1hommは、スクリプトで直接サイトアドレスを確認することを提案しました。



Upd#2oRbは、ページを読み込んだ後ではなく、dom'aを読み込んだ後にスクリプトを実行することをお勧めします(非常に良いアドバイス)。



更新#3Octaneはキツネの下でアナログを書きまし



homm は、クロスブラウザユーザースクリプトトピックを取り上げました。



All Articles