コード例 #1
0
ファイル: Node.py プロジェクト: Aki92/thug
    def __init__(self, doc):
        self.doc = doc
        EventTarget.__init__(self)

        # Internet Explorer < 9 does not implement compareDocumentPosition
        if log.ThugOpts.Personality.isIE() and log.ThugOpts.Personality.browserVersion < '9.0':
            return

        self.compareDocumentPosition = self._compareDocumentPosition
コード例 #2
0
    def __init__(self, doc):
        self.doc = doc
        EventTarget.__init__(self)

        # Internet Explorer < 9 does not implement compareDocumentPosition
        if log.ThugOpts.Personality.isIE(
        ) and log.ThugOpts.Personality.browserVersion < '9.0':
            return

        self.compareDocumentPosition = self._compareDocumentPosition
コード例 #3
0
ファイル: Node.py プロジェクト: Gr3yR0n1n/thug
 def __init__(self, doc):
     self.doc = doc
     EventTarget.__init__(self)
     self.__init_personality()
コード例 #4
0
ファイル: Node.py プロジェクト: AhmedSakrr/ThugBrowser
 def __init__(self, doc):
     self.doc = doc
     EventTarget.__init__(self)
     self.__init_personality()