LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-11-2012, 12:07 PM   #1
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Rep: Reputation: 7
Is there a WebKitGTK browser that will allow me to highlight text on a webpage?


Here are some WebKitGTK brows:

Cream
Dwb
Epiphany
Jumanji
Surf
UbuMonkey
Vimprobable2
xxxterm

I've never used one of these. I just hope that they may be faster with GTK basked DE, like Gnome & LXDE.
 
Old 02-11-2012, 02:18 PM   #2
Nominal Animal
Senior Member
 
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Even the simplest possible webkit browser I know,
Code:
#!/usr/bin/env python

if __name__ == "__main__":
    import sys
    import gtk
    import webkit

    window = gtk.Window(gtk.WINDOW_TOPLEVEL)
    webview = webkit.WebView()
    window.add(webview)

    if (len(sys.argv) > 1):
        webview.open(sys.argv[1])
    else:
        webview.open("http://www.google.com/")

    window.show_all()
    gtk.main()
which requires only python and pywebkitgtk, allows selecting text on a webpage. The selection is automatically put onto the PRIMARY clipboard, too.

Edit: This is to say that this is all built-in to webkit. If a webkit browser does not allow this, it must have gone to pretty extraordinary lengths to specifically disallow it. I'd say it is safe to assume all webkit browsers allow it.

Last edited by Nominal Animal; 02-11-2012 at 02:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
text highlight color in openoffice mcd Linux - Software 4 07-28-2010 07:50 PM
DQ: how do you turn off auto-copy when you highlight text in KDE? jetblackz Linux - Newbie 7 05-10-2008 07:23 PM
Recommend a PDF to Highlight or Underline Text taurusx5 Linux - Software 1 04-02-2008 03:03 PM
highlight text of a file from specified line number tanveer Linux - General 9 12-06-2006 11:27 PM
How to highlight text in vi editor Gins Linux - General 17 07-25-2006 05:15 AM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration