过期域名预定抢注

 找回密碼
 免费注册

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

[複製鏈接]
發表於 2013-12-21 23:13:09 | 顯示全部樓層 |閱讀模式
本帖最後由 印個歷史 於 2013-12-21 23:17 編輯 ) i3 X) f% j; m! c! T9 @

: j' O# r- ~: h* c& U下邊這個編碼靠譜嗎? 能實時檢查關鍵詞排名?
7 B5 N2 \8 Z  q4 k: J. h- X( z
% g  F8 L6 Z: }/ w- y文件名改成:*.HTA, 代碼裡的東西沒有需要改動的嗎?
* ~! g: T1 n' T1 n6 x4 w
) ?! y6 y2 ]2 O; [3 r6 G下面的編碼來自:http://www.interclasse.com/scripts/keywordranking.php+ [' c' f$ [$ Y/ Z- `
4 ?) b1 g% @; ^' {4 @6 E& I9 o5 Y- T
============
; u  X! ]* g( Q <html><head>/ [: ]4 O3 J5 W6 D" J+ S2 m: H
<title>Keyword Ranking, (c) Jean-Luc Antoine</title>& y  y- t" Q$ |- e
<HTA:APPLICATION APPLICATIONNAME="Search Engine Tools"
# N/ O# i3 U- \6 z1 |) p$ g        BORDER="thick"        BORDERSTYLE="normal"* \# i7 r/ J' C6 S9 E! E
        CAPTION="yes" CONTEXTMENU="yes"$ O6 V0 r8 D1 I" H) A, x
        INNERBORDER="yes" MAXIMIZEBUTTON="yes" MINIMIZEBUTTON="yes"
( x3 ^& K0 S* _6 D0 Y! H        NAVIGABLE="no" SCROLL="yes" SCROLLFLAT="no"
% y' j; h; w! m  s: [        SELECTION="yes"        SHOWINTASKBAR="yes" SINGLEINSTANCE="no"
8 _) }. q- |7 g( d. L! Q! F        SYSMENU="yes" VERSION="0.3" WINDOWSTATE="normal">
5 u; K- J  b' g# W% W6 P<script language=vbscript>7 K7 m' `/ ?3 E
Option Explicit8 i  T% ]0 g" X* G+ K3 N" D
'        Versions :3 {% F: |: w. z2 @' Q7 J  }
'                v0.3        Queries and words : simultaneously ranking
5 b& c# G: _* A+ s) n'                v0.2        New look, options, many SE
8 Y; \  P, h( o" W'                        Multilingual system% y6 A) x$ p- d# t5 t* ^
'                v0.1        First draft, keyword rank and last queries
% r6 Z2 o2 r& C'Todo :
" W- x, O: o: j5 n0 _: R. r" f6 K7 G'        Gerer systematiquement a la fois Keyword et Phrase4 i! D- F; W7 {! g$ Z
'        Sur les keyword, permettre de zoomer (showmodeless) sur les phrases contenant le keyword pour connaitre le ranking des variations$ x  I- J( a0 e
'        Lister en permanence les mots-clefs monitores avec leur occurence et permettre le meme zoom
. O. ^4 r; [4 s0 B'        Mettre en gras les keywords monitores
- K% D8 k! M* v. X7 ?# d- O. k'        Temps de mesure
: e: R7 a) G$ Y1 K4 ]' O, [! j% Z9 ?'        Afficher pourcentage en plus du nb d'occurences
) B9 M& W3 W; W" P  T* J' f'        Monitorer X mots-clefs et leur apparition/frequence relative
4 K0 q4 F6 k2 m7 i' x9 k'        Faire bouton de refresh manuel si ca se bloque (location.reload())
0 A) m0 O4 w3 o: b' C3 U8 E'        gerer les fenetres lancees offline et non pas inline (intercepter events par showmodeless dialog)- Y4 z" F- S# ~4 }7 Z
'        identifier nb de pages retournees par requete et indice de concurrence9 L% q# m; ^' X3 p
'        Permettre de sauver le resultat
1 c7 F3 ~; S4 Q1 n# L8 N'        http://wordtracker.com/newsinput.txt
* S5 c" w+ s, [8 @2 B8 A2 b& J7 f
8 N! o4 S: c5 v5 E( [- _Const C_MaxList=20        '### Change this, predefined for TOP 20$ X* X5 T7 v# N( C% C$ G
Dim d,dw,a(),b(),f(),g(),i
+ p+ {: o0 r& F3 r% ?Redim a(C_MaxList)
2 @8 |1 W/ ^* `* Y# WRedim b(C_MaxList)3 ?" R5 }4 D% z' K8 ?
For i=0 to C_MaxList-1+ i0 ?) ?1 Q. w5 z
        a(i)=0        'Nb d'occurences6 e+ w: |9 c3 H4 P2 e! U. w; O1 F
        b(i)=""        'Value
; M: I# d# M1 B- l) M$ e3 _6 hNext7 {2 p. ^, l8 s3 K" W
Redim f(C_MaxList)8 v% _: o4 ~, r$ k: b" u% W' z3 \; i
Redim g(C_MaxList)3 H+ I' {/ H: s; s
For i=0 to C_MaxList-1
  E/ l3 M2 I0 q* j, }        f(i)=0        'Nb d'occurences6 U9 m! x" }1 }- K
        g(i)=""        'Value
- ?0 `/ _% A: W" jNext8 G+ o7 A6 x9 d% R
Set d=CreateObject("Scripting.Dictionary")        'queries6 A/ R! T8 x; a, r9 W
d.CompareMode=1        'vbTextCompare
! q3 t8 z: G+ p, d; P* kSet dw=CreateObject("Scripting.Dictionary")        'words
8 K6 L- h2 \# Z1 y0 E" c  Hdw.CompareMode=1        'vbTextCompare: P6 A3 _% O, B& @+ Y! z
: `: `8 ?$ ~3 C- a% `9 w
sub go(SE)
& M  I0 z# j5 ^! l, U        Dim s,x,sq,s2,sw9 X( t) X' W) `& G  \. b7 b. E+ x) w
        Select Case SE- \0 H* u5 c! B9 S* a
        Case 0
  r; {8 m7 x6 T" A) v; J                s=RegExpTest("pursuit\?query=.*?&", lycosfr.document.body.innerHTML,15)# A6 J3 S2 U7 j: r/ f9 S
        Case 19 J  f! ?& H; n1 Y! C: a
                s=RegExpTest("pursuit\?query=.*?&", lycosde.document.body.innerHTML,15), k7 o$ z' ^6 N+ p8 y" y, P$ M, E
        Case 2
, {0 P: q4 \! Y! u) v% l- b                s=RegExpTest("[^a-z]q=.*?&", fireballde.document.body.innerHTML,4)% A8 S! A( A. i7 F2 G
        Case 3
) Z: |! o3 l, y; k$ V$ `( ^+ @+ D                s=RegExpTest("\?qkw=.*?""", metacrawler.document.body.innerHTML,6)1 q2 g' Z5 V: S: O
        Case 4  j  M- N6 B+ C: G% o8 x; x/ l
                s=RegExpTest("return.cool\?query=.*?""", kanoodle.document.body.innerHTML,19)
+ b  S- p" ^! K4 k        Case 5; p9 ?8 _- C9 h$ |! \. U* I; I( N& n+ L: {
                s=RegExpTest("/w.galaxy.com/b/q\?k.*?""", galaxy.document.body.innerHTML,21)
" t4 }' o. g( z' O        Case Else
1 ^& l' j7 N# b2 X                msgbox "Unknown S.E. : " & SE
  b8 ^1 s! m/ @4 S7 A        End Select- x, u; c5 t* F4 B; ~
        s="<pre>" & s & "</pre>"
- K! c1 {4 P& F8 V
- g. ^) i  X8 w4 i7 Z+ d        sq=""
/ ~6 Z$ o( _# [5 |4 y0 H  L6 l        For x=0 to C_MaxList-1
7 S# u1 n0 f8 G2 S4 X4 b                If a(x)>0 Then sq="<tr style='background-color:#eeeeee;'><td>" & a(x) & "</td><td>" & b(x) & "</td></tr>" & sq
2 @0 W1 }: j2 q) M# |        Next
' \& Q+ [  z0 l2 f$ c6 r        sq="<table style='border:1px solid #222222;'><tr style='background-color:#dddddd;'><th>Total</th><th>" & Disp(5) & "</th></tr>" & sq & "</table>"! P2 d- B% K7 l" n4 h+ N# V; D3 Y

1 a+ ~+ @) E& R' s. W5 T        sw=""
$ g9 l5 w; [6 Z7 _        For x=0 to C_MaxList-1
' |7 R* o0 E; e7 r                If f(x)>0 Then sw="<tr style='background-color:#eeeeee;'><td>" & f(x) & "</td><td>" & g(x) & "</td></tr>" & sw* F- T) P  R" h4 U! d/ K8 [
        Next/ t" [: Y" i) p! j% O
        sw="<table style='border:1px solid #222222;'><tr style='background-color:#dddddd;'><th>Total</th><th>" & Disp(9) & "</th></tr>" & sw & "</table>"
6 H0 E! Z3 q/ [/ ~9 c6 c- _8 i
  f8 Q/ R  e3 c  M8 Y3 \        s2="<b>" & Disp(7) & " :</b> " & d.Count & "<br>"
$ @. Z  b/ a3 c: A7 {        s2=s2 & "<table><tr><td valign=top>"( _2 O# H" I- z" D+ z; J+ ~
        s2=s2 & "<b>Top " & C_MaxList & " - " & Disp(5) & "</b><br>" & sq & "</td><td valign=top>"" U$ S' w9 c2 t& b$ E4 c% ]
        s2=s2 & "<b>Top " & C_MaxList & " - " & Disp(9) & "</b><br>" & sw & "</td><td valign=top>"
% ]* _  f+ O' I+ K/ N. W6 m        s2=s2 & "   <b>" & Disp(6) & " :</b>" & s) }1 M) f8 \6 p4 R8 Z# A
        s2=s2 & "</td></tr></table>"8 _' \) D0 C/ N
        MaListe.InnerHTML=s2" s1 j$ H1 J$ k) W1 K- @
End Sub, J5 ?8 k/ Z* [& ~

! m) Y8 Q3 `7 [2 m, k9 [' EFunction RegExpTest(patrn, strng, Pos)- g2 r9 f+ F! D* B; B" o
        Dim RetStr,regEx, regExw, Match,Matchw,Matches,Matchesw,Matchesws,k,i,j,x,s,w. R3 o9 }; I5 E! m! l7 o
        Set regEx=New RegExp2 z9 ]& U$ g1 {! X# H) L) ?
        Set regExw=New RegExp
7 ]2 p, a: \% y        regEx.Pattern=patrn! U+ ]  _. M3 ~5 M( K9 g
        regExw.Pattern="\w+"& U. C, V" V) b
        regEx.IgnoreCase=True   ' Set case insensitivity.: ]+ x) e" ^5 Z9 ^5 }" x. Z1 ]
        regExw.IgnoreCase=True
! k1 k6 y5 \# P$ P7 |' M3 N        regEx.Global=True   ' Set global applicability.4 u. Y* O3 C) K' Y4 c) W
        regExw.Global=True
" c5 n* m: _7 A" |# l( R2 R        Set Matches=regEx.Execute(strng)   ' Execute search.0 Y& ]5 a1 y9 e
        RetStr=""
2 {7 I" l* c4 j" v, ~        For Each Match in Matches% U  @$ |2 N/ Z$ Z4 L
                s=Mid(Match.Value,Pos)
( l, |+ u! _1 S                s=Left(s,Len(s)-1)
  N4 K# D! [3 ]4 a4 V' W  R4 O                s=Replace(s,"+"," ")6 r4 q4 Q( r, V" m
                s=Replace(s,"%20"," ")
; @% D2 D, K" A) `                s=trim(s); w+ }- G0 q# X+ r8 e5 H% m. X/ |
                If s<>"" Then/ M) ]# }( X6 u) @- v6 @. @
                        s=Replace(s,"%21","!"):s=Replace(s,"%22",chr(34))7 Y' X$ z& l7 X) W6 H0 K6 _, b
                        s=Replace(s,"%23","#"):        s=Replace(s,"%25","%")1 T. g! u& \7 M: k( L/ y8 {7 h. S
                        s=Replace(s,"%26","&"):s=Replace(s,"%27","'")0 R- q1 V- s3 b4 V; t
                        s=Replace(s,"%28","("):s=Replace(s,"%29",")")
% C" D( V7 }9 Y                        s=Replace(s,"%2A","*"):s=Replace(s,"%2B","+")' J& `- p" B2 h9 Y
                        s=Replace(s,"%2C",","):s=Replace(s,"%2F","/")* X8 `2 b) e4 U7 n
                        s=Replace(s,"%3A",":")
' @1 r4 ]& i  V, l                        s=Replace(s,"%3D","=")
; z" Y* n; \6 o8 s' \3 h0 n                        s=Replace(s,"%3F","?")
7 X+ j" [+ W; X, V# f5 f% a8 a                        s=Replace(s,"%40","@"):s=Replace(s,"%B4","′")
# J& c% s! |5 n: `3 X- Y5 k                        s=Replace(s,"%C4","A"):s=Replace(s,"%D6","O")) n( Q# n! o6 |8 _# N7 _% ~
                        s=Replace(s,"%DC","U"):s=Replace(s,"%DF","s")
' }$ u1 S% |0 A9 o                        s=Replace(s,"%E0","a"):s=Replace(s,"%E2","a")
: A0 X  [2 ^9 _+ T) |' ?1 n+ c                        s=Replace(s,"%E4","a"):s=Replace(s,"%E7","c")+ _* d5 M/ X1 N
                        s=Replace(s,"%E8","e"):s=Replace(s,"%E9","e")
3 u# D# h% J5 W) z# o                        s=Replace(s,"%EA","e"):s=Replace(s,"%EB","e")
# F  p- ~1 Y  V8 i, I                        s=Replace(s,"%F6","o")- k# Y6 L3 v; O; k& f3 I1 ?& w
                        s=Replace(s,"%F9","u"):s=Replace(s,"%FC","u")
4 G" O6 b# M  d  z  g2 \+ u: J  V                        s=Replace(s,"<","<"):s=Replace(s,">",">")8 P1 x$ a; @" c0 u' _5 E' x8 n
                        If d.Exists(s) Then4 C0 q% Z, ?* C9 `$ q5 e2 d! }
                                k=d.Item(s)+1
4 B  H1 F" x: c- H) n- a' e$ O                                d.Item(s)=k( C* H, m9 A! S. C3 p# Q4 }
                                i=-1        'If more than the first value, insert it
( i2 e4 Q9 n& d% S- y8 S                                do while (a(i+1)<k) and (i<C_MaxList-1)
7 [& u; @3 F1 E# x! g2 S6 S                                        i=i+1
" E0 r  `" v/ |3 b: {" J1 e                                loop7 E! [0 y2 R# ~( {
                                if i>=0 Then        'i=where to be inserted$ m, J2 J# u# q" ]* M" ~
                                        x=0
( Z7 N+ J: C" B! w; Q# W                                        For j=0 to C_MaxList-1& i: o+ m3 R2 L
                                                If ucase(b(j))=ucase(s) Then
; P" T$ C" g. U: ]3 S                                                        x=j/ d% B, L: F! h: s- \
                                                        Exit For1 L1 L1 F& `: S. G' {
                                                End If) S0 B! h  p& ?/ h6 s7 g5 l
                                        Next, ?- z( ?6 a2 A- ~
                                        For j=x+1 to i
- I* i7 k- V1 U! U  m$ U$ F" o                                                a(j-1)=a(j), p1 R# d# O3 g8 o2 ~3 r
                                                b(j-1)=b(j)
, r8 w1 O; s' E: U, Q! F                                        Next4 e7 B! f, d) Z
                                        a(i)=k* P! k7 I5 o1 V' O
                                        b(i)=s! i2 J, |/ ?2 j( B5 d7 x) |
                                End If
8 H7 c5 }0 V/ S7 C0 W; [4 o                        Else1 w7 x8 `: N- |1 x5 ~. c  h& Q) }
                                d.Add s,19 h9 J- n- B/ Y8 M" l7 Z
                        End If
& }6 R0 x% q2 k                        RetStr=RetStr & d.Item(s) & "-" & s & vbCRLF
- s/ c% F1 t0 \; i
6 q3 P8 _7 p7 j8 _& b. V                        'Extract Words( c, Q) \8 S' y  H
                        Set Matchesw=regExw.Execute(s)$ ^2 y$ s9 @9 U: W% l4 t
                        For Each Matchw in Matchesw
# a7 z# u# r; k4 A  l                                w=Matchw.Value1 T, M! t$ @5 @8 N8 M# ^" q
                                If Len(w)>2 Then+ O, z( x' w% K8 _4 w3 _6 K: G
                                        If dw.Exists(w) Then
; ~4 @3 V1 i. ?                                                k=dw.Item(w)+1
' M; u, R# G6 z+ @9 k                                                dw.Item(w)=k
( M# c, `& R/ x8 f4 q" o# ~( w* y                                                i=-1        'If more than the first value, insert it2 @+ W6 ]2 U. g: S' |
                                                do while (f(i+1)<k) and (i<C_MaxList-1)
4 u/ T0 |8 \. ~* W                                                        i=i+1
$ L. X1 Q' U5 c" T7 M! Y                                                loop- k( j' p- W, ^2 ]6 X8 V9 X
                                                if i>=0 Then        'i=where to be inserted( t- u  }) ^* f! G% l2 h! s& N9 r
                                                        x=0) E- M/ ?# P. m# M* r! ]1 h
                                                        For j=0 to C_MaxList-1
, ^+ ?  B# a+ T( Z6 u$ P                                                                If ucase(g(j))=ucase(w) Then) m+ `0 z! D' s" ^( x; F4 M$ n
                                                                        x=j; V; N# W4 [/ m" n3 `& q" s; Q
                                                                        Exit For
9 j/ U/ B/ p1 r4 \* L5 d' e( W                                                                End If
3 I) w9 X$ F/ K! T3 j                                                        Next
9 l5 P* U% a( P                                                        For j=x+1 to i
8 [, l* a8 V* p2 E" z- ^1 v                                                                f(j-1)=f(j)! |, f0 f8 l7 O/ C- S- Z/ G
                                                                g(j-1)=g(j)
0 A! c" t/ f4 j: U+ S                                                        Next7 ]* T2 I7 z  z+ p( L) S6 ?' I; b, ~6 I
                                                        f(i)=k8 v6 X4 @2 C) ^3 d
                                                        g(i)=w
# x* E( G0 o" S                                                End If* y2 x# W6 G7 k6 L1 p0 {
                                        Else
3 @  A3 C6 t; Q! Z                                                dw.Add w,1) O% G( [+ ?& ]4 A
                                        End If( b: P' Y6 E! g0 s
                                End If
; z' T) }& f  X& k/ P, Z                        Next1 z/ a4 r( k( v
                End If
3 N: \8 O- l% j5 w3 E        Next, W! L, G% @  U. s
        RegExpTest=RetStr+ Y$ z9 Z% v0 ~
End Function
9 r* @3 w7 l2 h% z+ g; @
% U6 j3 a0 X$ m1 y
  {2 M: h- W2 n+ W
! W7 R; l' ~5 M( p# m! x' e, g8 M% |: V6 Z/ Q- d3 p1 a
</script>
& G5 j3 G7 S+ @! s! j<script for=window event=onload>8 D: N$ F6 D: h' p
DoLoad
% {# g# i. ]3 C</script>$ v! x) u% s& B$ k  i+ ^
<xscript for=window event=onbeforeunload>  A6 X- B6 j# a/ `- P, P
  'DoSave8 r2 A" S  r8 ]: {" i# Q  Y" R% }
</xscript>: i# Z, h8 P1 P. t# e
<script>
2 ~3 h% G2 x, i2 V  F% u2 i" l/ USub DoSave
! ^: T2 s) C9 R  foo.setAttribute "content", foo.innerHTML  i) x3 t4 o. X7 r
  foo.save "EditContent"6 X- Y& ~  W* L$ o3 ?
End Sub
5 X, ~3 T5 o- y3 M  _% O6 X4 a& asub DoLoad" V) t/ {/ A* L/ \1 o- ]
  foo.load "EditContent"
* ~$ z8 k( V2 b8 N" _9 L' h  content = foo.getAttribute("content")* o* ^, n! B7 k
  if content<>"" Then foo.innerHTML=content5 i) J4 ^% w& }) Q# r; h# \
End Sub
) p4 r) t! k3 _% U- ~* T. N. @4 u( R, `Sub DoClear+ @* M7 x0 ?7 C: R5 X
  foo.innerHTML = ""
" W5 Q, }3 M: n0 C* g8 ZEnd Sub
4 W4 l2 O% I" W% l7 r1 A! C% F/ Q1 q  o
" v9 R) h* m6 R& I0 SFunction Disp(x): m4 x' }% x$ b3 c
Select case getlocale
, Y0 ~, q3 S! p4 G) y Case 1036,2060,3084,5132,4108        'French
+ |, F$ S: f( Q4 I  b. }# v- `        Select Case x
( r, S4 f  Z: Y' N        Case 0        'sous-titre+ J7 e: y% \# y0 n1 @6 q$ i" ~
                Disp="Outil d'analyse de requetes - 1 backlink svp !"8 j4 @- B6 T& ~5 v$ @' h$ |* d: y, S
        Case 18 A4 j# t- v% T0 b' t- }
                Disp="Votre liste de mots a monitorer :"- H6 m% _1 Y" C+ Z4 Y( ^
        Case 2: \8 ^5 A& p+ e$ Z4 P! I% i
                Disp="Sauve"7 q& c2 G2 H- |; O2 `' x
        Case 3
' |$ _, `+ M* T                Disp="R.A.Z"
, Y1 ~" X; [" h0 p/ w! b7 e2 J        Case 4. _' V% P6 x6 N2 {- H
                Disp="Charge"
" [; E/ K. u; G: {; D        Case 57 @# S8 J" m2 F  R4 ~$ i& t
                Disp="requetes"3 j' i; A& J8 k. f# Q
        Case 6
6 Y. G  L2 l+ G% ?# b+ u. X                Disp="Dernieres requetes"
, x3 U! K, }) I  A2 j9 N        Case 7
3 l7 c6 F9 J, }0 \( T                Disp="Nb de requetes lues"
- R' w- h& `) {. r' s        Case 8, W+ `% c+ {% O+ P1 x+ p
                Disp="Cliquez dans le menu pour activer l'analyse d'un moteur."_
- {, y0 r$ ^7 n* R                        & " Recliquez pour la desactiver."/ O7 T* `2 F; e" S) z
        Case 9
+ T& |; }- ]8 h, n                Disp="Mots"
9 }0 A4 m5 X/ }        Case Else8 F! P; V% p5 L+ ]
                Disp="###"$ O- b; r) _$ S# C! I% I) o
        End Select
4 c' g4 O6 K  @& z8 Y Case Else: D9 K1 [: j4 I( P) T& y
        Select Case x9 d' f7 M- ]# [' v, {. h9 h( s
        Case 0        'sub title
" {, b( W* f5 J' ^5 L5 q                Disp="A linkware search engine analysis tool"1 D2 O3 i1 D0 O7 i
        Case 1/ J9 g* e% j$ e8 }' b
                Disp="Your keywords to monitor :"0 R3 h8 _) N! g+ M5 o9 z* s
        Case 2* E- J5 O9 Z3 F6 C$ o- [3 N7 G
                Disp="Save") D! A3 l: j# {$ {: S
        Case 3
7 [+ c, `* ]$ Y9 C$ ?& y5 w                Disp="Clear"
% [9 T' k# `2 X6 j0 I; w1 p9 h        Case 42 K" V  T; C7 g3 ^# r, E6 x
                Disp="Load"; X3 \7 e/ k0 s( Z) c
        Case 5, h; b% y, @) c8 X) s+ `2 L) e
                Disp="Queries": B; n2 F' C+ L' `" e
        Case 6
9 ]4 m- [  }" \" C3 R- ]3 w                Disp="Last queries"
+ X! Z& K* J$ |0 w' Q, }( U  i: V        Case 7
  x* o$ a: H* S& B+ h- l. |1 J                Disp="Amount of scanned queries"
, S) b- j& y7 E7 d        Case 8
* B: N( a7 c: a: d) Y. ]                Disp="Click above to start the queries analyzis on a specific search engine."_
& Q: a4 \3 }$ I( l. z                        & " Click again to stop it."- f: V0 J- h* V8 G# d5 i. ~: E
        Case 9' x0 u# J4 N, b' Z. K
                Disp="Words"
3 k4 b# X/ ^; k* f        Case Else- V: |$ }' y0 F! w) u
                Disp="###"
# O2 ^+ ~/ `1 K5 d' L; ~        End Select( p% e: W/ h' @( s
End Select( m8 x8 S" T1 F; b% s$ d
End Function$ s7 L! q- N# h3 o
Sub DispSE(x)3 W1 w# L' b7 J& g" z8 ?
        Select Case x" s) _: L; A1 }1 w: Q  e+ Z
        Case 08 _0 Z4 P6 B% A3 ?! c# W6 i9 ]4 A
                if lycosfr.location="about:blank" Then
* _9 n2 {3 a# n8 E$ [* U                        lycosfr.location="http://www.recherche.lycos.fr/voyeur"1 d) [3 V6 \9 G4 w
                Else
0 l$ J* @9 m: [; K! G  @                        lycosfr.location="about:blank"
' Y$ b9 E! f5 n. r: E, b7 T                End If$ r5 B: |" O) h1 F' y7 L
        Case 1
& D5 D) }! m5 E3 ]                if lycosde.location="about:blank" Then5 _; D1 i* q) o4 m1 K
                        lycosde.location="http://www.lycos.de/inc/content/suche/"_
) R4 a! e( p6 U) @                                & "includes/livesuche_iframe.htm?ergebnisse=&refresh="8 Q+ s4 ^: t! K4 V
                Else
9 n  `! O2 Y* Q, R! ?5 f% u9 f  i: h1 @                        lycosde.location="about:blank"
% p6 c) w0 R2 G& T                End If* C2 i3 l5 {  R7 H/ q6 b8 N. k
        Case 2+ K+ B7 f$ e; l4 [! }1 Y
                if fireballde.location="about:blank" Then1 J/ Q: g5 Q- b0 p
                        fireballde.location="http://www.fireball.de/livesuche.csp"" }8 I* O+ k% Z" x. n
                Else" |8 L# K, l" B
                        fireballde.location="about:blank"2 i& s6 I+ X+ p! x1 L
                End If) C7 h) I. {8 J: N
        Case 3- ?4 ^! T& ?: f: q
                if metacrawler.location="about:blank" Then7 |2 }& g8 i+ L: N/ O+ C* c
                        metacrawler.location="http://www.metaspy.com/info.metac.spy/metaspy/unfiltered.htm"
& `1 k" N8 i, D0 G0 U" S                Else( ^0 ]1 \* y- u: C
                        metacrawler.location="about:blank"/ ]3 ]/ `+ Y! o2 k: i2 f
                End If
0 z+ t, t4 s$ e$ U& q9 h        Case 4
* {, k0 S, x3 S3 J                if kanoodle.location="about:blank" Then
- X& x& `) S2 q- V                        kanoodle.location="http://www.kanoodle.com/spy/spy.cool"
& s! g2 ]8 \' u  H9 G                Else* f1 Z* t' x) W. j+ w; _  e8 v
                        kanoodle.location="about:blank"
/ M0 J, B  z- K                End If
9 v! {# @4 t+ z8 ~) z        Case 5- ~  @8 B' Z6 B% s# p. U
                if galaxy.location="about:blank" Then- F) m! R3 Y6 R3 D  G
                        galaxy.location="http://watch.galaxy.com/b/watch?filter"' F1 _* e/ f, B
                Else
  @8 k3 S6 W( Z4 \                        galaxy.location="about:blank"8 A2 y* `0 r( j# I
                End If
) p& C: T) f5 i8 U0 b! S/ v4 b        Case Else: C8 X, V3 J  P+ F- T
                Msgbox "DispSE : not found - " & x2 D! d  e$ @* Q+ j$ J' U# W8 ^# M) f% a, T
        End Select! f  P0 R7 ?) h* x
End Sub8 e- J. a7 [3 `  m

7 o. S5 K7 u0 L  C/ t</script>
! v" Y2 `2 o4 z<style>
" L0 p3 D7 F8 ^2 y8 Rbody,td,th,p{font-size: 11px;font-family: Tahoma,Arial;}
; L0 K( c! ~7 F; I  R) t# ].topmenu{
* P: Z, F( Q. D" l, x, c. N" V5 Y- t: s        border:1px solid #222222;
, k$ V+ F8 M) \! B6 O1 L; n  y        background-color:#eeeeee;" ?- P1 J! ~: |  G9 H' u
}
2 r& S- v. V/ J8 n: p" n) G9 [.topmenu a{! y/ {. g* O# }& ]- g
        height:15px;$ J0 ]2 g" G2 H- o
        background-color:#BDDCBD;
7 i9 B) ]8 s# h5 L: n" V        padding-top:1px;
4 D" Z7 y3 y, E/ A4 j7 j8 z1 a; |+ v        padding-left:5px;
7 C7 a# n% A! _; J3 O        padding-right:5px;; t: L7 E& V9 A
        text-decoration:none;9 Z6 S( ]; A1 s
        color:black;
( Y8 b4 E# j. i% g# u9 h: q) i        text-align:center;
1 r0 p* w2 S' u        display:block;$ m, a( P) K1 g
}
: _8 y- J2 _7 s  I0 x0 K( Q.topmenu a:hover, .topmenu a:active{, I3 }' I3 V: K; V
background-color:#89DB89;color:black;; r) a6 [- z  ~- O7 u0 b4 J9 \
}
0 F* W9 F! q& k8 d( F  q& N#rb{border-right:1px solid #222222;}# ^$ r% [+ D7 |9 O: g
A        {color:#AAFFCC}, \- x* _7 P( T1 h2 r! |/ \
BUTTON        {font-size: 7pt;cursor:hand;}
  K' \+ \! s7 @, `! d.userData {behavior:url(#default#userdata);}, w4 |% V. P; n! x
</style>: `0 P+ j% ^& `  P( L. D( _

9 o% k2 B" w5 r% z</head>3 W& u, Q7 C1 j4 k6 U. \% t

, y8 k9 A- |: b2 P) n4 Z* U. R<body bgcolor=white text=black style="margin:2">
- D' n4 X; j7 U9 ~7 \+ A<a href=http://www.interclasse.com/scripts/keywordranking.php>& t2 _9 E4 S# T# n! O  b
<img src=http://www.interclasse.com/pics/avatar.gif align=left border=0></a>% B* }6 ^7 J( q2 a; t7 k9 {: ]  Q

3 J8 S& j( W4 R9 H3 C) f3 t! m<H1 style="margin-bottom: 0px;">Keyword Ranking</H1><Script>document.write Disp(0)</Script>
% O" J- \  s; H% E. k0 E- ?8 h& E" M: y7 M& z, d( A
<table class=topmenu border="0" cellpadding="0" cellspacing="0"><tr>
5 c) W* R* [2 ^8 ~2 \* \. p1 j<td width=60 id=rb> </td>
3 A  V& H* d6 H+ o9 j<td id=rb width=80><a href="#" onClick='options.style.display="block"'>Options</a></td>' X0 l* I$ c; L$ x* ?2 \/ C
<td id=rb width=80><a href="#" Title="French">Lycos.fr</a></td>
: O  `/ {6 y( I: E8 l) `) }* t* {- `<td id=rb width=80><a href="#" Title="Deutsch">Lycos.de</a></td>; {1 r) |" P7 y) G+ ~) ]: E* g
<td id=rb width=80><a href="#" Title="Deutsch">firball.de</a></td>
7 [* @* h7 I( O. g! ^<td id=rb width=80><a href="#" Title="MetaSpy">MetaCrawler</a></td>6 k9 x8 A- Y1 |. A, X5 O
<td id=rb width=80><a href="#">Kanoodle</a></td>4 c1 W' ~( F. a  g1 F) y& [2 l
<td id=rb width=80><a href="#">Galaxy</a></td>; U/ e; i, n0 K$ \6 H3 S
<td width=60> </td>
/ }: T9 D( v" }8 H</tr></table>
6 R1 L8 x5 g( A" `) G7 L<script>document.write Disp(8)</script><br>5 q* q' \( [8 W/ ?. t1 b
- n# m4 B  P, C! D! [' f1 W; h
<div id=options style="display:none;width:180;border:1px dashed #222222;background-color:#D0D0D0">
+ l" o. O& ?* x<script>document.write Disp(1)</script>
9 R8 G% P- Q) U& ]<div id=foo class=userData contentEditable=true style="margin=4;width:170;height:14;border:1px solid;background-color:white"></div>
; N+ A/ X+ |& P' D$ c- V        <button onClick='DoSave()'><script>document.write Disp(2)</script></button>
1 n: P" k3 ?* w/ h1 U7 u4 b        <button onClick='DoClear()'><script>document.write Disp(3)</script></button>8 R' r/ o1 c0 t$ `" J8 G
        <button onClick='DoLoad()'><script>document.write Disp(4)</script></button>% K$ l$ Z* B# y2 y$ \1 Q
         <button onClick='options.style.display="none"'>ok</button>, r' B! o$ X6 A2 ?9 z
</div>
% |& b6 |& |0 t1 n5 U; I9 B' O8 t3 F; z6 Y

& ^- z$ B8 k( j  {  c<div ID=MaListe></div>9 C' m3 d" Q+ I' N2 o% M2 e

6 B/ F; C) C8 d* q2 \9 j; `/ x% O$ {0 t. K
<table width=100%><tr><td>3 H1 s# D. ?0 i8 w! k7 Y
<iframe id=lycosfr height=200 src="about:blank" width=100%></iframe>- ]. o  ?7 D! d& P
<iframe id=fireballde height=200 src="about:blank" width=100%></iframe>
" ^+ [: ^/ V8 b" ?8 E" g' U1 m" a" R<iframe id=kanoodle height=200 src="about:blank" width=100%></iframe>% d) ~9 K- ?) ^6 j" K+ ^/ u
</td><td>
( G1 G5 E0 B" z! Y. Z" R<iframe id=lycosde height=200 src="#" width=100%></iframe>
8 h) r. e% b( P<iframe id=metacrawler height=200 src="about:blank" width=100%></iframe>5 i* E, e+ {+ r' X
<iframe id=galaxy height=200 src="about:blank" width=100%></iframe>! ?* Z: ~, p5 r+ K( T9 l: ^+ W
</td></tr></table>
+ C% o9 R, c2 y- G  f' E% u# O, |8 b5 T0 U8 f) k
</body>3 ?5 m: s8 \; m2 |$ ^9 @/ L
</html>% x5 J: Q3 J0 i# D, j; ]. K
======================================================
( V' F; n3 _6 f6 q$ d$ C. R. BKeyword Ranking* H, Q  O. E- v/ @1 W

- |9 Q- m9 |: u$ ]5 }! TReal-time ranking of keywords entered on search engines* v$ @. Y  \# n1 Z/ g! G
; Z2 b. @: I0 e  U  }# N+ }* b) }
Monitors all queries and lists last queries and top 104 g* u+ n; e0 A' Z, t
7 w1 c" `0 \0 n7 N
File Name : keywordranking.hta
) _4 e" ]3 F' E. n: P  E3 B3 ~Requirement : IE63 A) ]& s: e4 S( b: g
Author : Jean-Luc Antoine
! N. O+ }$ F- e" G1 w+ i# YSubmitted : 09/12/2003
$ B; Y' w) t* n; P5 o' u" }2 d$ fCategory : HTA
# U" u8 I9 Z3 i* R- X0 }( [; bRemember : The file extension has to be *.HTA 保存時注意編碼,推薦用utf8格式。& f( f: U# S' e, i3 O

4 |! c$ r( @( `' `; B, D, _
( ]( t* B" T" T' f9 z# K
$ T: C) l7 ~* K& Y7 D' q* e' j2 o% [
& A" P1 r  Q) F  h  p5 N* r- Y$ j: j& v( w8 N" R

3 G8 P0 [2 w" q# h$ a& b( C2 ^, s) G
' x9 h& l* a) w7 ~2 x

% D' v2 V' m0 e9 l6 v1 V$ u  w- U5 P& z$ C  \
4 c. c; V/ ^( Q/ D1 N* H
- r' w. X5 z  @+ J' b( f( f. n! w% h3 K

: @1 w( n- [. [2 d
, g1 ]) m4 e5 j* r0 ]' K  L$ n1 J( n7 y: C1 }7 k% v
* \* F9 ]/ `2 I+ H7 M. o+ }2 E
- T% j& L3 s! Y: [1 S$ a3 s

- i- _( ~. O' w$ B! ]! a; w- F5 Q$ e5 p) ~

- C3 V  k* Z+ O  L) O* z+ n
: m) ~4 R. F( d! Z- d# ^+ e! o' Q4 {1 g* B& f+ A7 I! d  @

6 G. T3 Y, S  e: Q% J/ M
發表於 2013-12-22 07:36:18 | 顯示全部樓層
樓主這個是網站的代碼嗎
3 P( m1 w$ m: _0 Z; Y6 E
! M) V6 Q) B1 J* B" G9 Q
回復 给力 爆菊

使用道具 舉報

 樓主| 發表於 2013-12-22 09:23:24 | 顯示全部樓層
不是,我在學習腳本,感覺不多,怎麼貼出來的代碼那麼長
$ u. b1 f' a& f, f3 Q, G* G- ]
+ M0 b1 b7 C; D, K我以為是類似批處理,一雙擊就執行出結果。現在看來好像不是啊。
3 O' S, k8 l# U* f1 N/ Q7 e9 U8 m8 q. B3 Q- H
; P% `. t( D+ I
回復 给力 爆菊

使用道具 舉報

發表於 2013-12-22 13:58:33 | 顯示全部樓層
試了一下,好像不能運行
7 `0 N5 x8 x' n5 N
回復 给力 爆菊

使用道具 舉報

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

本版積分規則

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

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

GMT+8, 2025-7-3 05:09

By DZ X3.5

小黑屋

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