Alfonso_Ojeda

Bookmarklets SEO

Jul 17th, 2019
2,199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.00 KB | None | 0 0
  1. ~ Atajos para SEO ~
  2. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3.  
  4.  
  5. * Si tienes alguno que no esté aquí y que consideras útil, me lo puedes pasar por Twitter >> Alfonso Ojeda (@aro_mdz)
  6.  
  7.  
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9.  
  10.  
  11. PD: Si no sabes cómo se usan > Tan solo tienes que añadir un marcador a tu barra de herramientas de Chrome, le pones un nombre y pegas el código en donde dice URL. :)
  12.  
  13.  
  14.  
  15. .- Mostrar las páginas indexadas del dominio que estás viendo (Comando Site:) Puedes cambiar el .es por otro
  16. =======================================================================================================================================
  17.  
  18. javascript:(function(){ window.open('http://www.google.es/search?q=site%3A'+location.host)})();
  19.  
  20.  
  21.  
  22.  
  23. .- Analizar el dominio que estás viendo con ahrefs
  24. =======================================================================================================================================
  25.  
  26. javascript:location.href='https://ahrefs.com/site-explorer/overview/v2/subdomains/recent?target='+encodeURIComponent(location.hostname + location.pathname)
  27.  
  28.  
  29.  
  30. .- Extraer los 100 primeros resultados de Google para una query
  31. =======================================================================================================================================
  32.  
  33. javascript:var a = document.getElementsByTagName('a'), arr = '';for(var i=0; i<a.length; i++) if (a[i].ping && !a[i].href.includes('google'))arr +=('<p>' + a[i].href + '</p>');var newWindow = window.open();newWindow.document.write(arr);newWindow.document.close();
  34.  
  35.  
  36.  
  37.  
  38. .- Comprobar Whois del dominio que estás viendo
  39. =======================================================================================================================================
  40.  
  41. javascript:ku9eg=window.location.href;ku9eg=ku9eg.split('/');ku9eg=ku9eg[2].split('.');ku9eg=ku9eg[ku9eg.length-2]+'.'+ku9eg[ku9eg.length-1];location.href='http://www.whois.sc/'+ku9eg;
  42.  
  43.  
  44.  
  45. .- Desactivar el bloqueo del botón derecho
  46. =======================================================================================================================================
  47.  
  48. javascript:void(document.onmousedown=null);void(document.onclick=null);void(document.oncontextmenu=null)
  49.  
  50.  
  51.  
  52.  
  53. .- Buscar fragmento de texto seleccionado
  54. =======================================================================================================================================
  55.  
  56. javascript:q = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (!q) q = prompt(%22Search words%22, %22%22); if (q!=null) location=%22http://www.google.com/search?q=%22 + escape(q).replace(/ /g, %22+%22); void 0
  57.  
  58.  
  59.  
  60.  
  61. .- Extractor de entidades en Google Images
  62. =======================================================================================================================================
  63.  
  64. javascript:(function(){output="<html><head><title>Google Images Entity Extractor</title></head><body>";var imageEntity = document.getElementsByClassName("dtviD");for(var i = 0; i < imageEntity.length; i++){var entity = imageEntity[i].innerText;output+=entity+"<br />";};with(window.open()){document.write(output);document.close();}})();
  65.  
  66.  
  67.  
  68. .- SERP Scraper
  69. =======================================================================================================================================
  70.  
  71. javascript:(function()%7Bfunction%20getParameterByName(e%2Ct)%7Be%3De.replace(%2F%5B%5C%5B%5D%2F%2C%22%5C%5C%5B%22).replace(%2F%5B%5C%5D%5D%2F%2C%22%5C%5C%5D%22)%3Bvar%20n%3Dnew%20RegExp(%22%5B%5C%5C%3F%26%5D%22%2Be%2B%22%3D(%5B%5E%26%23%5D*)%22)%2Cr%3Dn.exec(t%3D%3Dtrue%3Flocation.hash.replace(%22%23%22%2C%22%3F%22)%3Alocation.search)%3Bif(r%3D%3Dnull%26%26t%3D%3Dfalse)%7Breturn%20getParameterByName(e%2Ctrue)%7Delse%7Breturn%20r%3D%3Dnull%3F%22%22%3AdecodeURIComponent(r%5B1%5D.replace(%2F%5C%2B%2Fg%2C%22%20%22))%7D%7Dstr%3D%22%3Cstyle%20type%3D%27text%2Fcss%27%3Ebody%7Bcolor%3A%23000%3Bbackground-color%3A%23fff%3Bmargin%3A0%3Bpadding%3A0%3Bfont-family%3Aarial%2Chelvetica%2Csans-serif%3Bfont-size%3A82%25%7D*%7Bfont-weight%3A400%3Bcolor%3A%23000%7Dh3%2Ch4%2Ch5%2Ch6%7Bmargin%3A0%200%2015px%3Bpadding%3A0%7D%23rt%7Bfont-size%3A12px%3Bwidth%3A500px%7Dtable%2Ctd%2Cth%2Ctr%7Bfont-size%3A1em%3Boverflow%3Ahidden%3Btext-overflow%3Aellipsis%3Bword-wrap%3Abreak-word%7Dtextarea%7Bwidth%3A100%25%7Dth%7Bbackground-color%3A%23eee%3Bcolor%3A%23000%3Bfont-weight%3A700%7Dtd%20a%7Bwidth%3A446px%3Bdisplay%3Ablock%7D.id%7Bbackground%3A%23eee%3Bcolor%3A%23000%3Btext-align%3Acenter%7D.g%7Bfont-family%3Aarial%2Csans-serif%3Bcolor%3A%23000%3Bmargin%3A1em%200%3Bfont-size%3A122%25%7D.g%20h2%7Bfont-family%3Aarial%2Csans-serif%3Bmargin%3A0%7D.r%7Bdisplay%3Ainline%3Bfont-weight%3A400%3Bmargin%3A10%7D.j%7Bwidth%3A34em%7D.std%7Bfont-size%3A82%25%7D.a%7Bcolor%3Agreen%7D.fl%7Bcolor%3A%2377c%7D.bl%7Bdisplay%3Ainline%7Da%7Bcolor%3A%2300c%7Da%3Avisited%7Bcolor%3A%23551a8b%7Da%3Aactive%7Bcolor%3Ared%7D.twitter-share-button%7Bmargin-bottom%3A-5px%7Dp.b%7Bline-height%3A22px%3Btext-align%3Acenter%7D%3C%2Fstyle%3E%5Cn%22%3Banchors%3Ddocument.getElementsByTagName(%22a%22)%3Bvar%20all%3D%5B%5D%3Bvar%20keyword%3DgetParameterByName(%22q%22%2Cfalse)%3Bstr%2B%3D%22%3Ctitle%3EGoogle%20SERP%20Scraper%20Bookmarklet%3C%2Ftitle%3E%22%3Bstr%2B%3D%22%3Cdiv%20style%3D%27width%3A%20900px%3B%20margin%3A%200%20auto%3B%27%3E%22%3Bstr%2B%3D%22%3Ch1%20style%3D%27margin%3A%201em%200em%200em%200em%3B%20text-align%3A%20center%3B%27%3EGoogle%20SERP%20Scraper%20Bookmarklet%3C%2Fh1%3E%22%3Bstr%2B%3D%22%3Ch2%20style%3D%27text-align%3A%20center%3B%27%3EKeyword%20-%20%22%2Bkeyword%2B%22%3C%2Fh2%3E%22%3Bstr%2B%3D%22%3Ctable%20width%3D%27100%25%27%3E%22%3Bstr%2B%3D%22%3Ctr%3E%3Cth%20width%3D%275%25%27%3EResult%3C%2Fth%3E%3Cth%20width%3D%2750%25%27%3ELink%3C%2Fth%3E%3Cth%20width%3D%2745%25%27%3EAnchor%20Text%3C%2Fth%3E%3C%2Ftr%3E%5Cn%22%3Bvar%20tweetText%3D%27%3Cp%20class%3D%22b%22%3EIf%20you%20use%20and%20like%20this%2C%20please%20%3Ca%20href%3D%22https%3A%2F%2Ftwitter.com%2Fshare%22%20class%3D%22twitter-share-button%22%20data-count%3D%22none%22%20data-lang%3D%22en%22%20data-url%3D%22http%3A%2F%2Fcognitiveseo.com%2Fblog%2F5714%2F69-amazing-seo-bookmarklets-to-supercharge-your-internet-marketing%2F%22%20data-text%3D%22%2F*Google%20SERP%20Scraper*%2F%20Bookmarklet%20%2B%2068%20Other%20Uber%20Amazing%20Bookmarklets%22%3ETweet%3C%2Fa%3E%20about%20it%20and%20help%20us%20spread%20the%20word.%3Cbr%20%2F%3E%20Happy%20SCRAPing%20and%20thanks%20for%20sharing!%3Cbr%20%2F%3E%20Coded%20by%20%3Ca%20href%3D%22http%3A%2F%2Fcognitiveseo.com%2F%22%20target%3D%22_blank%22%3EcognitiveSEO%3C%2Fa%3E.%3C%2Fp%3E%27%3Bvar%20tweetScript%3D%27%3Cscript%3E!function(d%2Cs%2Cid)%7Bvar%20js%2Cfjs%3Dd.getElementsByTagName(s)%5B0%5D%3Bif(!d.getElementById(id))%7Bjs%3Dd.createElement(s)%3Bjs.id%3Did%3Bjs.src%3D%22https%3A%2F%2Fplatform.twitter.com%2Fwidgets.js%22%3Bfjs.parentNode.insertBefore(js%2Cfjs)%3B%7D%7D(document%2C%22script%22%2C%22twitter-wjs%22)%3B%3C%2Fscript%3E%27%3Bvar%20k%3D0%3Bvar%20listing%3D%22%22%3Bvar%20links%3D%22%22%3Bvar%20anchorTexts%3D%22%22%3Bvar%20linksAnchors%3D%22%22%3Bfor(i%3D0%3Bi%3Canchors.length%3Bi%2B%2B)%7Bvar%20anchorText%3Danchors%5Bi%5D.textContent%3Bvar%20anchorLink%3Danchors%5Bi%5D.href%3Bvar%20linkAnchor%3D%22%22%3Bif(anchorLink.match(%2F%5E((%3F!google%5C.%7Ccache%7C%5C.yahoo%5C.%7Cyoutube%5C.com%5C%2Fresults%7Cjavascript%3A%7B%7D%7Cjavascript%3Avoid%7Cjavascript%3A%5C%3B%7Capi%5C.technorati%5C.com%7Cbotw%5C.org%5C%2Fsearch%7Cdel%5C.icio%5C.us%5C%2Furl%5C%2Fcheck%7Cdigg%5C.com%5C%2Fsearch%7Csearch%5C.twitter%5C.com%5C%2Fsearch%7Csearch%5C.yahoo%5C.com%5C%2Fsearch%7Csiteanalytics%5C.compete%5C.com%7Ctools%5C.seobook%5C.com%5C%2Fgeneral%5C%2Fkeyword%5C%2Fsuggestions%7Cweb%5C.archive%5C.org%5C%2Fweb%5C%2F%7Cwhois%5C.domaintools%5C.com%7Cwww%5C.alexa%5C.com%5C%2Fdata%5C%2Fdetails%5C%2Fmain%7Cwww%5C.bloglines%5C.com%5C%2Fsearch%7Cwww%5C.majesticseo%5C.com%5C%2Fsearch%5C.php%7Cwww%5C.semrush%5C.com%5C%2Finfo%5C%2F%7Cwww%5C.semrush%5C.com%5C%2Fsearch%5C.php%7Cwww%5C.stumbleupon%5C.com%5C%2Furl%7Cwikipedia.org%5C%2Fwiki%5C%2FSpecial%3ASearch).)*%24%2Fi)%26%26anchorLink!%3D%22%22%26%26all.indexOf(anchorLink)%3D%3D-1%26%26anchorText!%3D%22%22%26%26anchors%5Bi%5D.className!%3D%22gb_b%22)%7Ball.push(anchorLink)%3Blisting%2B%3DanchorLink%2B%22%5Cn%22%3BanchorTexts%2B%3DanchorText%2B%22%5Cn%22%3BlinkAnchor%3DanchorLink.replace(%22%2C%22%2C%22%252C%22)%2B%22%2C%09%22%2BanchorText.replace(%22%2C%22%2C%22%22)%3BlinksAnchors%2B%3DlinkAnchor%2B%22%5Cn%22%3Bk%3Dk%2B1%3Bif(anchorText%3D%3D%3Dundefined)anchorText%3Danchors%5Bi%5D.innerText%3Bstr%2B%3D%22%3Ctr%3E%22%3Bstr%2B%3D%22%3Ctd%20class%3D%27id%27%3E%22%2Bk%2B%22%3C%2Ftd%3E%22%3Bstr%2B%3D%22%3Ctd%3E%3Ca%20href%3D%22%2Banchors%5Bi%5D.href%2B%22%20target%3D%27_blank%27%3E%22%2Banchors%5Bi%5D.href%2B%22%3C%2Fa%3E%3C%2Ftd%3E%22%3Bstr%2B%3D%22%3Ctd%3E%22%2BanchorText%2B%22%3C%2Ftd%3E%22%3Bstr%2B%3D%22%3C%2Ftr%3E%5Cn%22%7D%7Dstr%2B%3D%22%3C%2Ftable%3E%3Cbr%2F%3E%3Cbr%2F%3E%3Ctable%20width%3D%27100%25%27%3E%3Ctr%3E%3Ctd%20width%3D%2755%25%27%3E%3Ch2%3ELinks%3C%2Fh2%3E%3Ctextarea%20rows%3D10%20style%3D%27width%3A97%25%27%20readonly%3E%22%3Bstr%2B%3Dlisting%3Bstr%2B%3D%22%3C%2Ftextarea%3E%3C%2Ftd%3E%3Ctd%20width%3D%2745%25%27%3E%3Ch2%3EAnchors%3C%2Fh2%3E%3Ctextarea%20rows%3D10%20readonly%3E%22%3Bstr%2B%3DanchorTexts%3Bstr%2B%3D%22%3C%2Ftextarea%3E%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E%3Cbr%2F%3E%3Cbr%2F%3E%3Ch2%3EAll%20Data%20-%20CSV%3C%2Fh2%3E%3Ctextarea%20rows%3D10%20readonly%3E%22%3Bstr%2B%3D%22Links%2C%20Anchors%5Cn%22%3Bstr%2B%3DlinksAnchors%3Bstr%2B%3D%22%3C%2Ftextarea%3E%3Cbr%20%2F%3E%20%3Cbr%20%2F%3E%22%3Bstr%2B%3DtweetText%3Bstr%2B%3DtweetScript%3Bstr%2B%3D%22%3Cbr%20%2F%3E%3C%2Fdiv%3E%20%3Cbr%20%2F%3E%22%3Bwith(window.open())%7Bdocument.write(str)%3Bdocument.close()%7D%7D)()
  72.  
  73.  
  74. .- Pasar por GTmetrix
  75. =======================================================================================================================================
  76.  
  77. javascript:(function(d){var%20f=d.createElement('form');f.action='http://gtmetrix.com/analyze.html?bm';f.method='post';var%20i=d.createElement('input');i.type='hidden';i.name='url';i.value=document.location.href;f.appendChild(i);d.body.appendChild(f);f.submit();})(document);
  78.  
  79.  
  80.  
  81. .- Comprobar el histórico de un dominio
  82. =======================================================================================================================================
  83.  
  84. javascript:location.href='http://web.archive.org/web/*/'+document.location.href;
  85.  
  86.  
  87.  
  88. .- Listado de tecnología empleada para contruir el site (CMS, tracking etc)
  89. =======================================================================================================================================
  90.  
  91. javascript:(function(){window.open('https://builtwith.com/'+location.hostname.replace('www.',''), '_newtab');}());
  92.  
  93.  
  94. .- Comprobar datos estructurados de la url actual
  95. =======================================================================================================================================
  96.  
  97. javascript:void(window.open(%27https://developers.google.com/structured-data/testing-tool/?url=%27+window.location.href,%27_blank%27));
  98.  
  99.  
  100. .- Lista con enlaces externos de la url actual
  101. =======================================================================================================================================
  102.  
  103. javascript:(function(){var url = document.location; var links = document.links;var output = '';var isExternal = function(url) {var domain = function(url) {return url.replace('http://','').replace('https://','').split('/')[0];};return domain(location.href) !== domain(url);};output = '\n\n##### External Links #####\n\n';for (i=0; i<links.length; i++) {var link = new String(links[i]);if(links[i].hostname != window.location.hostname){var pat = /^https?:\/\//i;if(pat.test(links[i])){output += links[i].href+'\n'}}} alert(output);})();
  104.  
  105.  
  106.  
  107. .- Cambiar anchors por la url
  108. =======================================================================================================================================
  109.  
  110. javascript:(function(){var i,c,x,h; for(i=0;x=document.links[i];++i) { h=x.getAttribute("href"); x.title+=" " + x.innerHTML; while(c=x.firstChild)x.removeChild(c); x.appendChild(document.createTextNode(h)); } })()
  111.  
  112.  
  113.  
  114. ~.
  115. Ya...___|__..ab. . .
  116. Y88b \88b \88b ( )
  117. Y88b :88b :88b `.oo'
  118. :888 |888 |888 ( (`-'
  119. .---. d88P ;88P ;88P `.`.
  120. / .-._) d8P-"""|"""'-Y8P `.`.
  121. ( (`._) .-. .-. |.-. .-. .-. ) )
  122. \ `---( O )( O )( O )( O )( O )-' /
  123. `. `-' `-' `-' `-' `-' .'
  124. ' VIKINGSEO.es '
  125. `---------------------------'
  126. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127.  
  128.  
  129. *Créditos:
  130. Sökmotoroptimering
  131. CognitiveSEO
  132. Geoff Kenyon
  133. Stuntdubl
  134. Natzir Turrado
  135. Detailed
  136. Webrankinfo
Add Comment
Please, Sign In to add comment