From 71b6f547026bbc75e5cc645d4a6d2478510d020f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 22 Mar 2021 20:27:52 +0000 Subject: qutebrowser changes --- qutebrowser/bookmarks/urls | 2 -- qutebrowser/config.py | 16 ++++++++++------ qutebrowser/quickmarks | 4 +--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'qutebrowser') diff --git a/qutebrowser/bookmarks/urls b/qutebrowser/bookmarks/urls index e197543..966103f 100644 --- a/qutebrowser/bookmarks/urls +++ b/qutebrowser/bookmarks/urls @@ -1,7 +1,5 @@ -https://b2b.enterprise.co.uk/Pages/CreateReservation.aspx Create Reservation https://regex101.com/ Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript https://github.com/insanum/gcalcli/pull/402#discussion_r249528101 Better user interaction during prompts when adding an event by hammerheadlemon · Pull Request #402 · insanum/gcalcli -https://ronver.xyz/apps/files/?dir=/&fileid=10344 Files - Nextcloud https://getoutline.org/en/home Outline VPN - Making it safer to break the news https://wiki.lineageos.org/adb_fastboot_guide.html Using ADB and fastboot | LineageOS Wiki https://wiki.lineageos.org/devices/bacon/install Install LineageOS on bacon | LineageOS Wiki diff --git a/qutebrowser/config.py b/qutebrowser/config.py index b77efb8..3cbb189 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -10,10 +10,11 @@ ## Aliases for commands. The keys of the given dictionary are the ## aliases, while the values are the commands they map to. ## Type: Dict -c.aliases = {"ncbookmark": "open -t https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url="} -# c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} +##c.aliases = {"ncbookmark": "open -t https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url="} +c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} #c.aliases.update({"ncbookmark": "jseval javascript:(function(){var a=window,b=document,c=encodeURIComponent,e=c(document.title),d=a.open('https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url=');});" }) #c.aliases.update({"ncbookmark": "jseval javascript:(function(){var a=window,b=document,c=encodeURIComponent,e=c(document.title),d=a.open('https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url='+c(b.location)+'&title='+e,'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=500px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300);});" }) +#c.aliases.update({"pboard": "jseval javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('http://pinboard.in/add?url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard', 'toolbar=no,width=700,height=350'));"}) ## Time interval (in milliseconds) between auto-saves of ## config/cookies/etc. ## Type: Int @@ -25,11 +26,13 @@ c.auto_save.session = True # Remove images and javascript from sites #c.content.images = False -#config.set('content.images', False, '*://www.bbc.co.uk/*') +config.set('content.images', False, '*://www.bbc.co.uk/*') #config.set('content.javascript.enabled', False, '*://www.bbc.co.uk/*') # #config.set('content.images', False, '*://www.telegraph.co.uk/*') #config.set('content.javascript.enabled', False, '*://www.telegraph.co.uk/*') +config.set('content.javascript.enabled', True, '*://office.com/*') +config.set('content.javascript.enabled', True, '*://microsoft.com/*') c.content.javascript.enabled = False @@ -1474,9 +1477,10 @@ c.tabs.close_mouse_button = 'middle' ## used by prepending the search engine name to the search term, e.g. ## `:open google qutebrowser`. ## Type: Dict -c.url.searchengines = {'DEFAULT': 'https://www.google.co.uk/#q={}'} -c.url.searchengines.update({'ddg': 'https://duckduckgo.com/?q={}'}) -c.url.searchengines.update({'g': 'https://www.google.co.uk/#q={}'}) +#c.url.searchengines = {'DEFAULT': 'https://www.google.co.uk/#q={}'} +c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'} +#c.url.searchengines.update({'ddg': 'https://duckduckgo.com/?q={}'}) +c.url.searchengines.update({'g': 'https://www.google.co.uk/?q={}'}) c.url.searchengines.update({'deb': 'https://packages.debian.org/search?keywords={}'}) c.url.searchengines.update({'t': 'https://twitter.com/search?q={}'}) c.url.searchengines.update({'yt': 'https://www.youtube.com/results?search_query={}'}) diff --git a/qutebrowser/quickmarks b/qutebrowser/quickmarks index 1037ac8..084237b 100644 --- a/qutebrowser/quickmarks +++ b/qutebrowser/quickmarks @@ -1,5 +1,3 @@ Amazon https://www.amazon.co.uk/ -NatWest Cards Online https://cardsonline-commercial.com/RBSG_Commercial/Login.do?promoCode=NatWest QT Forum https://forum.qt.io/ -Fastmail https://www.fastmail.com/login/? -Live Sport https://www.vipbox.live/ +Github https://github.com/yulqen -- cgit v1.2.3