过期域名预定抢注

 找回密碼
 免费注册

這個實時關鍵詞排名的腳本怎麼用?

[複製鏈接]
發表於 2013-12-21 23:13:09 | 顯示全部樓層 |閱讀模式
本帖最後由 印個歷史 於 2013-12-21 23:17 編輯 % P, z9 E* s) Q. S% v

+ j1 K9 S) C/ ?( q3 S下邊這個編碼靠譜嗎? 能實時檢查關鍵詞排名?
' Z& o) H' D4 N7 b3 a
; |( ]  q9 Q' l$ D6 |文件名改成:*.HTA, 代碼裡的東西沒有需要改動的嗎?
6 h( z& a/ a3 ?" ]2 h) l6 @9 F" U# J/ X8 _
$ c( ~; W2 p0 k* @! K- t2 W2 k下面的編碼來自:http://www.interclasse.com/scripts/keywordranking.php
7 I2 `1 l) T* D# B
# n' F0 \2 ^+ ], t7 Q1 j5 j============
+ Z$ G. F* P5 y1 s' L <html><head>
* `: v- O5 O) S<title>Keyword Ranking, (c) Jean-Luc Antoine</title># _$ \( r; j% {$ \. O/ y; A+ r, {
<HTA:APPLICATION APPLICATIONNAME="Search Engine Tools"
2 D9 u5 Y) B' c6 _9 U4 f# }        BORDER="thick"        BORDERSTYLE="normal", |& [( ]3 `$ r% |/ }! [
        CAPTION="yes" CONTEXTMENU="yes"( {; W: c9 N) o7 o
        INNERBORDER="yes" MAXIMIZEBUTTON="yes" MINIMIZEBUTTON="yes"' B2 `4 p! w! w( B. g
        NAVIGABLE="no" SCROLL="yes" SCROLLFLAT="no"
2 [/ D, e: T3 l        SELECTION="yes"        SHOWINTASKBAR="yes" SINGLEINSTANCE="no"
+ ^% Z5 v8 b3 C" r3 C0 c0 t        SYSMENU="yes" VERSION="0.3" WINDOWSTATE="normal"># F$ M/ s& }. E1 A  G4 k0 N
<script language=vbscript>
: a! K" ?) x. o) W+ sOption Explicit
- [2 \8 {9 y5 O* x1 l2 R* N0 |'        Versions :
; J+ }. ]) r, n4 I  H9 J'                v0.3        Queries and words : simultaneously ranking3 ]9 O* I7 A5 c# {
'                v0.2        New look, options, many SE# R; c' u3 A# F2 b$ ]
'                        Multilingual system
- P- u9 Q  g2 h$ @' Z+ I2 Z'                v0.1        First draft, keyword rank and last queries
+ H. p5 E8 d. G6 m9 O'Todo : 1 ~( N5 X: i  a) M1 o
'        Gerer systematiquement a la fois Keyword et Phrase8 h3 N$ S( K1 t' M* `3 }1 b) K
'        Sur les keyword, permettre de zoomer (showmodeless) sur les phrases contenant le keyword pour connaitre le ranking des variations. H5 W7 V; v5 @8 C
'        Lister en permanence les mots-clefs monitores avec leur occurence et permettre le meme zoom" I& }1 Z4 X# C9 o9 L5 h) ?7 R! s8 i
'        Mettre en gras les keywords monitores
- i( P: x! y3 o  u'        Temps de mesure
2 j$ z& l  b' {; i9 C'        Afficher pourcentage en plus du nb d'occurences* e2 l8 A* ^. {9 a
'        Monitorer X mots-clefs et leur apparition/frequence relative0 @- t1 ^0 m6 @+ _: x5 z! M6 O
'        Faire bouton de refresh manuel si ca se bloque (location.reload())
- Z8 p, I# H3 w4 ?* d'        gerer les fenetres lancees offline et non pas inline (intercepter events par showmodeless dialog)
4 D$ R, d  ?" @4 T; t$ @( _) n# ]'        identifier nb de pages retournees par requete et indice de concurrence, s3 w# S$ f1 Y7 m$ t( g/ [, u
'        Permettre de sauver le resultat. |6 w" P5 e  L7 f6 G8 ~
'        http://wordtracker.com/newsinput.txt* ]+ Z3 S, D& {

  U/ |( Y# l: X9 N2 yConst C_MaxList=20        '### Change this, predefined for TOP 200 o+ G, }3 B6 K) K0 g
Dim d,dw,a(),b(),f(),g(),i6 f2 m0 _" `/ h
Redim a(C_MaxList)
- X/ _$ I0 P4 n% fRedim b(C_MaxList)
9 G, c% ~4 z9 a+ o" i2 x; GFor i=0 to C_MaxList-1
* w9 B' |7 ^8 N% S  F        a(i)=0        'Nb d'occurences
+ y, b5 ^6 X5 \8 f" z0 l        b(i)=""        'Value
$ ?, M8 g& \8 |( t# w' U1 e/ A/ qNext
' K- z% z  a. I8 ~5 k6 F8 I' VRedim f(C_MaxList)
9 E) q$ [0 a0 m$ }# WRedim g(C_MaxList)3 @  l5 q7 u; G/ p
For i=0 to C_MaxList-1
' v) w: D5 }0 A  `/ A5 a2 M# G        f(i)=0        'Nb d'occurences- j2 H  S. ?! x8 K7 C8 V3 a
        g(i)=""        'Value
  t0 {, {9 M+ D$ ^0 {3 gNext
( Y' j) Y$ W- f7 J# w, S5 W2 ESet d=CreateObject("Scripting.Dictionary")        'queries1 y! x# w. p/ A; F' E* P
d.CompareMode=1        'vbTextCompare
* s" \, ?6 k) B+ e& y4 R/ X- ~+ s' VSet dw=CreateObject("Scripting.Dictionary")        'words6 ~$ L  V! M: f8 T
dw.CompareMode=1        'vbTextCompare/ _, c5 q9 j3 c- U, f9 W5 m

% K% f! i+ d' b1 P& H( L* H) j& {sub go(SE)
2 }9 U: k2 X! I( H5 f+ `& \2 Q. Y        Dim s,x,sq,s2,sw
/ r. T* n1 G2 C4 Y" i2 T- T, Q& t        Select Case SE
9 n, \$ A( K& y$ S! Q        Case 0' F# f& Z1 T. R8 `! j( H) a$ ^0 D, z
                s=RegExpTest("pursuit\?query=.*?&", lycosfr.document.body.innerHTML,15), k% [+ v/ P* @! \7 x
        Case 1  d) h/ \6 T+ w  w+ a
                s=RegExpTest("pursuit\?query=.*?&", lycosde.document.body.innerHTML,15)
8 d) e" Z* c. V  n+ S# b; Z$ ?+ L" H        Case 23 E' |* n+ w2 `
                s=RegExpTest("[^a-z]q=.*?&", fireballde.document.body.innerHTML,4)" f# k7 m/ z" k% K: m
        Case 30 \1 j: `) h5 G, P( N
                s=RegExpTest("\?qkw=.*?""", metacrawler.document.body.innerHTML,6)
$ r# t0 v4 I- ^8 X" F4 u+ g        Case 4
' W- t  f/ L+ s1 v                s=RegExpTest("return.cool\?query=.*?""", kanoodle.document.body.innerHTML,19)
" }$ x, M, `1 K7 m5 Y( c% I        Case 5. g- n4 U; Z9 t8 C  D  [  A- h
                s=RegExpTest("/w.galaxy.com/b/q\?k.*?""", galaxy.document.body.innerHTML,21)
* _3 k0 O0 U, {: Q( X3 Z# t2 C        Case Else
9 u% x5 `+ W# Z+ S                msgbox "Unknown S.E. : " & SE
  d+ p' e0 H6 S: v6 [1 _, A        End Select
0 y' K  N! f# n2 E, t7 r* ~        s="<pre>" & s & "</pre>"+ r( |, h+ b1 X  s/ p: D. R
! K5 C- E' ~( w- H. ]2 Y4 Y- I
        sq=""- Y$ u+ U6 a; G( a" v
        For x=0 to C_MaxList-18 q% X6 O$ {4 w  Y8 n
                If a(x)>0 Then sq="<tr style='background-color:#eeeeee;'><td>" & a(x) & "</td><td>" & b(x) & "</td></tr>" & sq  p: j- S( p& Q6 b6 V  @
        Next
! s1 o- d" U" m# z# U        sq="<table style='border:1px solid #222222;'><tr style='background-color:#dddddd;'><th>Total</th><th>" & Disp(5) & "</th></tr>" & sq & "</table>"
! o0 N; s, ^  j! A, F) [% C
' {* P! {' g' K& W6 C4 ?        sw=""
# d/ r. q# I% @" k; o        For x=0 to C_MaxList-1% A* m8 c7 M" [3 f
                If f(x)>0 Then sw="<tr style='background-color:#eeeeee;'><td>" & f(x) & "</td><td>" & g(x) & "</td></tr>" & sw
. Q2 c/ D  f* S: h, r( S, B        Next0 r7 R7 g; f7 |2 {. y+ C
        sw="<table style='border:1px solid #222222;'><tr style='background-color:#dddddd;'><th>Total</th><th>" & Disp(9) & "</th></tr>" & sw & "</table>"
4 Q' q% `* n' j6 q5 q: c7 v" `8 Z( v0 ?
        s2="<b>" & Disp(7) & " :</b> " & d.Count & "<br>"3 _( S8 \0 d# m6 e3 w0 l. r
        s2=s2 & "<table><tr><td valign=top>"( l* Z* p1 Q' N) V  Q8 ~% C5 ~- `
        s2=s2 & "<b>Top " & C_MaxList & " - " & Disp(5) & "</b><br>" & sq & "</td><td valign=top>"* H* R; i$ b9 ^8 W$ C# Z/ d( L! S
        s2=s2 & "<b>Top " & C_MaxList & " - " & Disp(9) & "</b><br>" & sw & "</td><td valign=top>"
, Q; q6 N2 o0 v/ R6 U% X# b& @3 q        s2=s2 & "   <b>" & Disp(6) & " :</b>" & s1 `0 d6 l; T7 s9 n
        s2=s2 & "</td></tr></table>"
1 q' ?' T- T0 c        MaListe.InnerHTML=s2
9 U0 C) q2 s/ g4 \7 h9 dEnd Sub  i# s8 L1 M8 u
. N: `1 {/ c: N9 _
Function RegExpTest(patrn, strng, Pos)
9 M2 d1 a' t! F! G        Dim RetStr,regEx, regExw, Match,Matchw,Matches,Matchesw,Matchesws,k,i,j,x,s,w/ _' s5 h& X9 i  l7 w. y
        Set regEx=New RegExp4 ]  @) ]- Y& _- s7 q1 X* O6 b: |5 A$ Z
        Set regExw=New RegExp
* P3 k- V/ F$ M6 @1 {9 P        regEx.Pattern=patrn; I& h6 j8 y# E8 f  x
        regExw.Pattern="\w+"
4 f4 Y: t; V0 Q- T9 a        regEx.IgnoreCase=True   ' Set case insensitivity.
4 a8 H3 t. \/ f6 @; T) i/ B        regExw.IgnoreCase=True
9 I+ c8 C) K& f: k4 ]) V6 W        regEx.Global=True   ' Set global applicability.0 x1 h3 o+ x, O- ^' N
        regExw.Global=True1 l6 ~9 f: ~# [; g# S0 Z, R
        Set Matches=regEx.Execute(strng)   ' Execute search.
4 F( P* c. d- O  C        RetStr=""1 @" b1 u9 w; Z' o. ^6 [, S( I
        For Each Match in Matches
6 `: _$ b5 l2 f" K% S, }4 O1 v                s=Mid(Match.Value,Pos)
. J; [5 o! M, R! f3 Z5 w! p                s=Left(s,Len(s)-1)
& @3 b) I" |5 W                s=Replace(s,"+"," ")* M) h: z$ o9 P  I/ M8 H% ?
                s=Replace(s,"%20"," ")
: D( H; @$ p1 O6 {; [$ ]                s=trim(s)0 [/ d" r9 t# T  f+ u, W$ y
                If s<>"" Then
2 {* s! }) A, M) n                        s=Replace(s,"%21","!"):s=Replace(s,"%22",chr(34))$ F6 M2 A1 k9 ?& Z& z0 u
                        s=Replace(s,"%23","#"):        s=Replace(s,"%25","%")7 i* e9 `3 ~& p5 Z- L, U
                        s=Replace(s,"%26","&"):s=Replace(s,"%27","'"), w3 \5 R+ c4 S1 [
                        s=Replace(s,"%28","("):s=Replace(s,"%29",")")4 [+ N0 x0 g) s# B5 H" d
                        s=Replace(s,"%2A","*"):s=Replace(s,"%2B","+")
# d; a5 J4 ^( f& V5 B" I                        s=Replace(s,"%2C",","):s=Replace(s,"%2F","/")7 D& d6 r, x$ Y8 R
                        s=Replace(s,"%3A",":")( Y- o! w. V, U: F3 N  R. j) O9 Q
                        s=Replace(s,"%3D","=")
$ q, C9 g) D/ _* L) x2 W- ?                        s=Replace(s,"%3F","?")
+ p: D2 n" Q; l: A0 D                        s=Replace(s,"%40","@"):s=Replace(s,"%B4","′")9 ]) ]) E1 H% b5 s3 H
                        s=Replace(s,"%C4","A"):s=Replace(s,"%D6","O"); v+ Y6 g* n. I7 c, a7 t1 X
                        s=Replace(s,"%DC","U"):s=Replace(s,"%DF","s")
3 {: A; {$ i! I7 o2 f                        s=Replace(s,"%E0","a"):s=Replace(s,"%E2","a")- G/ c3 X( Z5 S( I, B4 F
                        s=Replace(s,"%E4","a"):s=Replace(s,"%E7","c")$ {/ w/ n) N; s. ?4 A1 R
                        s=Replace(s,"%E8","e"):s=Replace(s,"%E9","e")
3 r6 L# \; @. b7 G                        s=Replace(s,"%EA","e"):s=Replace(s,"%EB","e")+ F; |6 U- B8 D" I" D; q# S9 ]; N: h9 O
                        s=Replace(s,"%F6","o")
2 J7 n5 ]% y2 I$ z; C) q                        s=Replace(s,"%F9","u"):s=Replace(s,"%FC","u")
) g& a3 i3 J4 |3 J) f0 T                        s=Replace(s,"<","<"):s=Replace(s,">",">")3 @" B  \) e2 W" @- B4 P' a, r5 l
                        If d.Exists(s) Then
$ d$ U5 ~4 ^: \6 A1 z                                k=d.Item(s)+1
2 C8 s& B9 G5 Z4 z+ C9 i$ z                                d.Item(s)=k
! U# Y4 a& b; S) }                                i=-1        'If more than the first value, insert it
1 e0 K3 Q1 G+ Y0 }+ W: c                                do while (a(i+1)<k) and (i<C_MaxList-1)  Q2 [/ N, |: E4 g
                                        i=i+1
+ C2 ~: k' r% F, o                                loop5 X" f7 L+ A# w4 N! |+ ?$ j: f
                                if i>=0 Then        'i=where to be inserted
: W% w6 F1 G+ D. v2 o; e0 y                                        x=0
1 F, n  _1 w' U. @0 x: u% E                                        For j=0 to C_MaxList-10 f+ ^% |! [0 ]& {
                                                If ucase(b(j))=ucase(s) Then( P* C/ e+ H0 [7 [1 i$ R
                                                        x=j
+ n3 m; t; ~0 P' X( e+ t                                                        Exit For& i* v5 s; X3 w6 o& N( Y+ j
                                                End If. I+ J& B+ ]8 M! U7 @! I
                                        Next4 q! }& K1 Y  D- {
                                        For j=x+1 to i5 B) X4 b& E3 h* v
                                                a(j-1)=a(j)
/ w" z7 n7 j  v9 C- `5 U3 P                                                b(j-1)=b(j)
4 ~2 @7 w  o# _- e                                        Next9 D/ U; G* B5 n1 B/ J$ q" F2 S: [
                                        a(i)=k
  [' N3 d! D: g                                        b(i)=s
. f6 v0 j3 y$ o                                End If
/ j  J' Q# E" s' c" ]                        Else& _$ o; S0 B" T( Q$ o+ W
                                d.Add s,1/ Y- G# Q; _: D, a; L: e: y3 ?
                        End If- J6 D7 k) e+ y1 K5 n& S) W
                        RetStr=RetStr & d.Item(s) & "-" & s & vbCRLF
( g/ B7 m( [, d9 C( l0 [0 g" B6 |7 W
                        'Extract Words. s+ I" k5 {9 O' t& [
                        Set Matchesw=regExw.Execute(s)1 M$ e& x% v$ K7 Y# p1 w0 v* |
                        For Each Matchw in Matchesw
7 i  G" N5 f6 @, v6 m+ X                                w=Matchw.Value1 s) x% Z5 }' @2 Q4 w# U" t2 h
                                If Len(w)>2 Then+ |6 I1 W; W+ m- ?/ L1 P
                                        If dw.Exists(w) Then8 e7 \! c9 W. x; R* p
                                                k=dw.Item(w)+1
3 n$ S4 T& n7 X3 s$ L2 I                                                dw.Item(w)=k
4 k' T" x( n$ {                                                i=-1        'If more than the first value, insert it
* E/ ^7 L$ a/ u: Z4 `/ W                                                do while (f(i+1)<k) and (i<C_MaxList-1)
7 u! @0 m- s- B" E, _' J                                                        i=i+1
( x* c3 P, A+ t8 o8 X' j# h                                                loop
$ |9 F" X5 i9 j8 M7 q6 ^                                                if i>=0 Then        'i=where to be inserted
1 m: [( t- g3 l# I                                                        x=0, ^7 I0 C0 X* o- @
                                                        For j=0 to C_MaxList-1
7 [4 `7 V" a5 U2 \8 l5 ^2 ~! T! r                                                                If ucase(g(j))=ucase(w) Then$ o0 Z1 N: L: a7 J0 Z% w7 q9 F
                                                                        x=j+ G9 V! Z5 s. U
                                                                        Exit For/ f7 n' E4 A/ c4 b8 `, n
                                                                End If7 j$ v0 j/ H) _1 y5 M
                                                        Next
7 e6 @. s, j- ~. n                                                        For j=x+1 to i8 |7 n5 o3 F' `0 T
                                                                f(j-1)=f(j)4 W9 b: Y& o# C4 S+ F3 w: g2 N' g& l
                                                                g(j-1)=g(j)/ ^: \3 k3 r- D- f- G  L8 y) S
                                                        Next3 _1 J" }6 ]/ N; N& f' s  f
                                                        f(i)=k) a, I( d# W; h1 D+ V# \6 V$ t
                                                        g(i)=w0 N7 Z8 x' i; K3 g
                                                End If  v% x' ?. t4 A3 ^! q
                                        Else
* n( n3 W6 w) z( c- c6 c                                                dw.Add w,1# W/ {8 F8 f  @; d$ t8 j
                                        End If
9 k, i' r4 h, I( z, Z/ t9 X                                End If
; \5 e( _0 a) F& w* ^9 B) R                        Next7 V! d, U* n" u/ O+ n- U0 ?
                End If
$ [* G' A1 ]8 s* m        Next1 O) c# K) H$ r8 g. \
        RegExpTest=RetStr6 P+ t# {5 H6 ?2 }1 B4 M
End Function: p7 v3 \) `+ {" e" S
. A4 W! }8 m9 W9 s5 R+ k3 P
/ G% O/ M7 D+ k8 D% J
4 F7 I' z% x. X7 k# R

9 S7 T: U0 c$ v; R' z( a</script>: a, U1 L% A8 R3 N
<script for=window event=onload>
$ L( Z6 s. M# ^ DoLoad" R( c9 g5 E, B0 m  o, ~# r/ O
</script>3 O* P, ~7 U( ]# j! }. P
<xscript for=window event=onbeforeunload>2 O* [1 Q1 R" R
  'DoSave
/ H# r! [: C0 t( U</xscript>+ K+ P7 x) R& ?9 s) k3 N
<script>
" C: n: s7 N7 Z- L3 r. BSub DoSave
1 l# O$ {5 O4 W  foo.setAttribute "content", foo.innerHTML' O, H' u5 ?- k2 n3 L
  foo.save "EditContent"
/ A0 S% y+ I( Y9 V- n7 dEnd Sub2 o' G, o2 x% J" ]9 n3 @: w3 C, q& d
sub DoLoad
% h2 ^" f) }- a( Z6 }  foo.load "EditContent"& S, \& r* b0 i4 G& ~, x0 O
  content = foo.getAttribute("content")3 ]9 |1 M2 w, A  Y5 V# h1 N
  if content<>"" Then foo.innerHTML=content, a& Z& w3 G1 z' I7 A
End Sub% n3 E2 E0 G( q/ `2 I3 R
Sub DoClear
8 \4 J+ X$ N2 \2 i  foo.innerHTML = ""; [4 T+ ~" A; D: b% [( X
End Sub% q: o4 R+ G6 B% Q  w. }7 A6 z* @

; d! K/ h0 X  d8 ]9 GFunction Disp(x)& L' Q+ [' |: y# |
Select case getlocale
+ V: |2 ^. L) G Case 1036,2060,3084,5132,4108        'French
* P9 r1 N$ ]7 c9 Z$ H        Select Case x/ }5 C) v0 W4 P5 E1 w, h  w) \4 V
        Case 0        'sous-titre2 n# L6 G  a$ K9 k% t7 A; m& G
                Disp="Outil d'analyse de requetes - 1 backlink svp !"
* H/ o$ l5 b4 u        Case 1& q  `( ^1 [) p
                Disp="Votre liste de mots a monitorer :"' x1 M5 U- U' M. J. O( F( I6 V; ~0 f' {
        Case 2
  j8 {& g" y! F1 S, ?# a% l                Disp="Sauve"9 e5 [4 i! W) P- w  E) P4 Z
        Case 33 J/ M% |& ?  L- L9 b! G
                Disp="R.A.Z"
- f: \* s; T4 Y3 |; p        Case 4% {; ?6 J" O5 N3 \/ a3 ]. j) o
                Disp="Charge"* Z6 T: |- G& z: x1 ~# z3 Z4 W% h
        Case 53 i5 T7 T( l9 @) c2 i% ]: m
                Disp="requetes", F1 `$ w5 q$ d1 Q0 q+ \) t0 `
        Case 6) o$ _8 _. A0 \  i0 D8 M4 V
                Disp="Dernieres requetes"
* ]% q" U$ r5 X& [: s        Case 7
+ t7 O9 e! @" w) t/ N% P- b$ s9 t6 k                Disp="Nb de requetes lues"% \* V! |/ S' P* B* }+ K4 ^
        Case 8
- B* [: L( t9 W& Q" o2 K* g* k                Disp="Cliquez dans le menu pour activer l'analyse d'un moteur."_* b$ h9 s/ K- ?9 h7 m5 g; V
                        & " Recliquez pour la desactiver."2 [/ c2 n2 ?! E% d' L
        Case 9+ o% _/ Q7 @" S
                Disp="Mots"" t# L" m4 e. X% D' R
        Case Else
) }6 v+ y" ~4 k7 P+ A# x. K                Disp="###"4 j! ]5 y- r2 v4 w1 _7 e/ `2 k1 B
        End Select' b- U1 h/ |- R* S
Case Else! N, v& k$ t  ?$ H( x
        Select Case x
! I& u" u* E: |: K        Case 0        'sub title4 ]  w; J$ ]/ L' t5 q
                Disp="A linkware search engine analysis tool"5 u- N/ w& E! Y! F0 }' }- a9 f
        Case 1
+ J& V3 ?  `# D; D                Disp="Your keywords to monitor :"
% G! t% d- f8 }. e  v$ {8 L: t        Case 27 x* P0 K9 o$ I- q$ Z
                Disp="Save"& t" X$ `% J( e% V; j8 I5 _
        Case 37 v) i; \8 Z8 u3 ?: F+ ?; k
                Disp="Clear"
0 O% Z; Y; U: D. ~        Case 4
2 b( ?$ C6 d! j' Y                Disp="Load"- u' [- V0 d# j1 P  O9 G: W& ]# P
        Case 58 ~$ F8 W$ }3 F0 g; s  P) s1 c% o
                Disp="Queries"
9 \9 B$ T3 N9 e        Case 6
9 T$ R( v9 j' p- g                Disp="Last queries"6 t4 t& U/ l* m# D! \* d6 f0 r9 C
        Case 7
5 [: B! Y$ T/ E6 w2 O7 R8 c                Disp="Amount of scanned queries"
* `' u% E% y: ?, ~' \( b9 q        Case 8
: s* v+ V6 }" V* ]; e                Disp="Click above to start the queries analyzis on a specific search engine."_/ E- s0 D: Y( ?6 d0 A7 S
                        & " Click again to stop it."; [( P9 Z5 @9 J2 ^
        Case 9$ w1 b# `5 U/ w' |
                Disp="Words"
/ j- y( Q5 J% P2 I9 p9 T        Case Else2 O% C2 S  ]* m! @; S5 K" f
                Disp="###"1 M0 t' t6 R2 ]7 A- c4 l: F
        End Select
! z8 q! F& {' E$ `' o; v End Select2 g6 [) v5 r8 u
End Function1 K* i1 }. c9 |2 Y
Sub DispSE(x)
- O* Y* a3 i! H- \9 g( o        Select Case x
6 X; X$ ^, g) K8 G8 s& s        Case 0% J* w! |0 ?& S7 ^# E
                if lycosfr.location="about:blank" Then1 b) Y3 Z- ?) [* |
                        lycosfr.location="http://www.recherche.lycos.fr/voyeur"# G8 k4 T0 ~" X8 i
                Else
# t4 y3 E  h6 ^2 Y/ \; X9 _0 @                        lycosfr.location="about:blank"
. y: i7 b  M/ r4 J/ b- s                End If+ [& l5 d5 _" K& ]; q
        Case 1
" j9 H& i2 s& F$ Q. G                if lycosde.location="about:blank" Then
9 J  D$ V2 `9 x) D9 _# a3 c$ w                        lycosde.location="http://www.lycos.de/inc/content/suche/"_
3 \3 n. a% m4 _: Z- z2 M. S- E                                & "includes/livesuche_iframe.htm?ergebnisse=&refresh="
) `' ?3 X1 m8 T3 \& j5 @" C                Else% v" k2 O+ m4 Z, [% |% f( Z6 y
                        lycosde.location="about:blank"# d; L, k7 ~3 T! E: S' Z; }- j
                End If
' z+ D( q+ u2 z1 k+ ~        Case 2
1 }( w; a8 e. |4 [: v                if fireballde.location="about:blank" Then
7 _0 h. i  K" f$ T' m$ g; ]; \4 D                        fireballde.location="http://www.fireball.de/livesuche.csp"  E4 J( j8 _) [+ ~0 ^5 S
                Else
. R2 Y! X2 Y: M9 d5 d# f# z$ f                        fireballde.location="about:blank", ~7 O' s9 {% d# x( u- Y
                End If7 Q) b+ d! ?% N8 l
        Case 3
  c- ~6 ~6 A3 t; c" i, D# C                if metacrawler.location="about:blank" Then
4 ~7 C1 X* W$ n9 O7 T/ Q                        metacrawler.location="http://www.metaspy.com/info.metac.spy/metaspy/unfiltered.htm"  y9 ?3 Q, j# H8 ^2 K
                Else% c% w. o" v) ^3 f: t+ P" ?; ~
                        metacrawler.location="about:blank"" o7 m' F4 F  _( ~; k2 X
                End If; B9 ^! y& t, m
        Case 49 D" R/ N" B/ ]$ E; ~
                if kanoodle.location="about:blank" Then# {  j% d7 p  \' o! N$ q3 b
                        kanoodle.location="http://www.kanoodle.com/spy/spy.cool"6 X* g- G9 W7 T2 L
                Else
9 c6 `( X2 X% T9 M                        kanoodle.location="about:blank"
' {$ v: z) J1 P' o1 Z                End If
8 b, e3 u6 {; i: C9 ]7 j3 y        Case 5
# S2 J  v) C) K                if galaxy.location="about:blank" Then9 U3 C3 [# p: Q8 p7 S! i
                        galaxy.location="http://watch.galaxy.com/b/watch?filter"9 J9 {; W! N& e! z0 R5 Q9 K: H$ p
                Else5 h! ]% q1 v' ]4 S, m, e+ P# V, X
                        galaxy.location="about:blank"" k2 ?% H6 G7 ~/ Y/ K# m# e
                End If& }/ U8 b, ?3 O" ^1 q
        Case Else
9 E8 k, I/ g9 h- }' S                Msgbox "DispSE : not found - " & x* m! B  n; M8 N' Q; J
        End Select& q! P5 U! f  B* x: \
End Sub: L8 V6 u6 k" Z

2 m* }- n6 z) p, }/ d/ w</script>. d/ k, o8 ~* t- R) }8 @4 H  O  ]
<style>( K+ a  }0 V: z. `( G
body,td,th,p{font-size: 11px;font-family: Tahoma,Arial;}
3 U4 R" h5 S3 [, c% y7 t.topmenu{% y" `6 `/ @8 j% K; D% \
        border:1px solid #222222;% f( j+ S4 |' f' @
        background-color:#eeeeee;! e- X7 l2 I* }0 v' I4 J' y0 k8 c
}; J4 H8 ?+ y2 y- g
.topmenu a{
% e- }1 K  W. {3 B4 K# S/ g2 P% v        height:15px;; h- {' _4 O# D1 G
        background-color:#BDDCBD;, B. ~) P, k$ q. {  l7 z/ v
        padding-top:1px;
7 d3 l  U8 }( D! ~        padding-left:5px;
' v6 T3 \: O9 n2 C2 i- ]        padding-right:5px;) J' @* }1 ?& _$ n5 z# t0 [# L
        text-decoration:none;
9 {6 v$ |" \: P- |; }2 T' o        color:black;$ v6 d  R" q' ^4 d) L/ r1 j
        text-align:center;, p! Z# X9 N) r5 y
        display:block;
/ z6 S" }$ h* k}' `$ t" v# g' _+ q' J8 D" N
.topmenu a:hover, .topmenu a:active{
7 n; t" z6 a9 O3 Y- ], W4 k8 }5 ^background-color:#89DB89;color:black;6 J4 ]* S# V  e# i% V. r) m# Z
}
! P0 `# p3 j  t* s! f#rb{border-right:1px solid #222222;}
' B. T+ Z- u" r, JA        {color:#AAFFCC}# u. }# u, A% f4 D1 ^2 q3 a. ~
BUTTON        {font-size: 7pt;cursor:hand;}% w% j. `6 e2 c: e: F  _' u
.userData {behavior:url(#default#userdata);}4 B9 Z2 {) f" k4 T+ u
</style>
" y0 l3 S: x. g8 R! v
: w: s" J, G& |</head>" r* t+ r/ C2 Y# T

, Y0 [4 T1 V  l<body bgcolor=white text=black style="margin:2">
! ~* |8 g; S1 m' r<a href=http://www.interclasse.com/scripts/keywordranking.php>
* Z5 @& J5 }0 v% V8 z2 `<img src=http://www.interclasse.com/pics/avatar.gif align=left border=0></a>3 t  W7 j6 j, r/ I! \( _/ d
( B7 V) \7 z2 I* ]2 u! a2 i. @" n% r
<H1 style="margin-bottom: 0px;">Keyword Ranking</H1><Script>document.write Disp(0)</Script>
) p. F- a8 K. g+ W* g" `$ E( U# C5 Y( m
<table class=topmenu border="0" cellpadding="0" cellspacing="0"><tr>- ?9 t) l2 F, |; v& {/ \' y
<td width=60 id=rb> </td>5 Z4 M9 @1 {- U+ ?1 ]: w0 n
<td id=rb width=80><a href="#" onClick='options.style.display="block"'>Options</a></td>
! U! H4 j5 R* g$ R" h- {<td id=rb width=80><a href="#" Title="French">Lycos.fr</a></td>
. ?3 b: g( d/ J2 m6 _0 @<td id=rb width=80><a href="#" Title="Deutsch">Lycos.de</a></td>, L0 m: K3 a- R
<td id=rb width=80><a href="#" Title="Deutsch">firball.de</a></td>9 k5 m  q0 k9 @2 Y1 ]; U
<td id=rb width=80><a href="#" Title="MetaSpy">MetaCrawler</a></td>$ G; ~' H. r1 [  ~
<td id=rb width=80><a href="#">Kanoodle</a></td>
' y& b* j& h. S( }<td id=rb width=80><a href="#">Galaxy</a></td>
' F: {6 M: Q* m! U3 G5 z2 |; G<td width=60> </td>" f; s' |1 _  s3 r" M
</tr></table>6 H0 \% ], e3 K+ C# B
<script>document.write Disp(8)</script><br>
5 u+ W/ F, \- }! j
& E; |& {" W( o0 {" y<div id=options style="display:none;width:180;border:1px dashed #222222;background-color:#D0D0D0">5 N3 Z: T) }' o1 |0 R2 D- e
<script>document.write Disp(1)</script># ?; ]' w$ x4 q3 W4 s
<div id=foo class=userData contentEditable=true style="margin=4;width:170;height:14;border:1px solid;background-color:white"></div>) M1 j; V6 v# ~  v! R6 v- \9 g
        <button onClick='DoSave()'><script>document.write Disp(2)</script></button>
3 o, O" L8 F8 A0 b/ _        <button onClick='DoClear()'><script>document.write Disp(3)</script></button>
) }2 F3 B: B4 K* j9 Z( A- w2 t& R        <button onClick='DoLoad()'><script>document.write Disp(4)</script></button>
+ m; u5 z! Z$ j+ B/ x% N) e5 r) l         <button onClick='options.style.display="none"'>ok</button>& N6 v% p0 _# V+ F* G) s
</div>
6 B- D( m1 r* C3 ^) w% }5 j! b
# `% X5 @/ W9 D0 F+ V* U; o# p* u, U0 b
8 R* S2 y+ x6 |6 @<div ID=MaListe></div>1 N; h/ |( g4 `2 W

, e9 g3 {+ p! {
( M& y- }9 c4 q<table width=100%><tr><td>
: _% p1 W3 e6 [. L, M' K<iframe id=lycosfr height=200 src="about:blank" width=100%></iframe>
% B8 @1 E8 D' M- Y/ u1 b& a' ^<iframe id=fireballde height=200 src="about:blank" width=100%></iframe>  U% x, ]9 u% P1 @
<iframe id=kanoodle height=200 src="about:blank" width=100%></iframe>9 }3 ]9 I3 E+ v. M2 b
</td><td>7 W8 K+ A. x! A1 }
<iframe id=lycosde height=200 src="#" width=100%></iframe>; f" j% f& X8 Y' d0 b
<iframe id=metacrawler height=200 src="about:blank" width=100%></iframe># W7 V/ E. `9 D3 c$ j
<iframe id=galaxy height=200 src="about:blank" width=100%></iframe>
1 h# E  ~2 D' T+ G</td></tr></table>/ E# {/ Q4 {1 X" ^/ }  e
& k' v$ y1 Q' }9 H
</body>
& @6 P! B6 N+ U# j9 N</html>+ L, Q0 Y; D5 `  ]
======================================================2 W, A) h$ x6 y4 D
Keyword Ranking
! h  u" D; N# w  p
/ d9 C7 J% ~: F, A; @2 M; h7 SReal-time ranking of keywords entered on search engines
1 P  v/ R/ f* E) o. z
7 @/ Z$ L+ c3 i' V  ZMonitors all queries and lists last queries and top 10
9 J! `  A( A0 v) i% p+ n
+ w1 f3 h' X  u- p! h9 g8 k+ SFile Name : keywordranking.hta/ q7 b+ K6 W" m( |/ V% S9 v0 ^
Requirement : IE6
# t9 X; ?# [) n: N6 nAuthor : Jean-Luc Antoine  r0 u2 A3 |" U" s
Submitted : 09/12/2003: G) h; {7 m0 V/ f% }
Category : HTA2 G: U8 G9 Q, N# _3 K
Remember : The file extension has to be *.HTA 保存時注意編碼,推薦用utf8格式。) V0 D" B2 E- i

& i) o% c* y1 g: n' U* a3 Y+ F4 i
$ p% x# W# g  e* T9 `# u7 E6 Z, Y& ^, M- |
5 `; g1 s* }3 |$ O9 N
6 j. R- Z. q, f' A' j& f

4 Y- p7 _& q/ m4 W7 i/ h% k& C6 `6 y1 p1 ?3 p

/ T# R+ K# k; A3 D% a1 V* d1 p+ f
6 f" J2 |; h$ l7 S- x, |5 z. C/ {  j6 I# `5 P3 L5 ]

6 ^; y% o% _3 E
; }2 M' i2 \- `, ~! \4 ]( }9 J; F1 c* k8 h+ ?: A+ w
! }2 O& H* F8 m' e( i8 H6 P

& }5 }0 N6 ^8 g! {& A4 P) ~+ F. y: A; J2 i# [  ]" Q* M% a
) E2 U4 G( ?5 w$ ?5 o/ R1 V

7 A+ Y* G' g+ c9 j
0 {' F7 r5 M" @
. J: p7 h: V* o; o: X: I& q9 Y; O, r; {7 s8 |( }3 k
: h: z) s5 M; W3 a$ `9 G( i+ |
( m  G: y: E3 K1 v
發表於 2013-12-22 07:36:18 | 顯示全部樓層
樓主這個是網站的代碼嗎6 H3 [4 f& N; q" |2 e! D
* C: b# L, z0 R5 ~
回復 给力 爆菊

使用道具 舉報

 樓主| 發表於 2013-12-22 09:23:24 | 顯示全部樓層
不是,我在學習腳本,感覺不多,怎麼貼出來的代碼那麼長
: b' v6 B- g8 h/ a7 A9 C! Z
' \" N7 d" r; [4 k- Z' q我以為是類似批處理,一雙擊就執行出結果。現在看來好像不是啊。
% ?" ]3 ]" e' @1 U) Q7 j+ m
" q( o0 k! C( z+ ~! X8 q# D
* `: ?4 S8 `8 Z' s
回復 给力 爆菊

使用道具 舉報

發表於 2013-12-22 13:58:33 | 顯示全部樓層
試了一下,好像不能運行. p# U  L5 P. x  ~* W
回復 给力 爆菊

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 免费注册

本版積分規則

过期高净值品牌域名预定抢注

點基跨境 數位編輯創業論壇

GMT+8, 2025-7-2 11:05

By DZ X3.5

小黑屋

快速回復 返回頂部 返回列表