Method: HistoryIE#initialize

Defined in:
lib/red_query/history.rb

#initializeHistoryIE

Returns a new instance of HistoryIE.



13
14
15
16
# File 'lib/red_query/history.rb', line 13

def initialize
  @iframe = Element.from_html('<iframe style="display:none" src="javascript:false;"></iframe>')
  Document.query('head')[0].append(@iframe)
end