User Tools

Site Tools


chrome_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
chrome_notes [2023/10/09 03:24] โ€“ [Install ublock origin] rajuchrome_notes [2023/11/04 03:09] โ€“ [go to the nth tab] raju
Line 54: Line 54:
  
 Another easy way to add a custom search engine is to go to the website, right click on the search bar -> select "Add as search engine..." -> edit the fields if necessary -> ok Another easy way to add a custom search engine is to go to the website, right click on the search bar -> select "Add as search engine..." -> edit the fields if necessary -> ok
 +
 +==== Blocking ads ====
 +  * [[https://github.com/gorhill/uBlock/ | uBlock Origin]]
 +    * It was mentioned in <nowiki>http://www.enricozini.org/blog/2016/i-chipped-in/</nowiki>
 +
 ===== dummy ===== ===== dummy =====
 +
 +==== go to the nth tab ====
 +''M-[1โ€“9]''
 +
 +Ref:- https://gwern.net/search -> "Web Browser Hotkeys" section
  
 ==== fast select text in chrome ==== ==== fast select text in chrome ====
Line 94: Line 104:
 Useful links: Useful links:
   * https://github.com/uBlockOrigin/uBlock-issues/issues - This is the issue tracker as per https://github.com/gorhill/uBlock/issues/3726   * https://github.com/uBlockOrigin/uBlock-issues/issues - This is the issue tracker as per https://github.com/gorhill/uBlock/issues/3726
 +
 +==== Install bypass paywalls clean ====
 +Ref:- https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean
 +
 +<code>
 +cd $software/zipped
 +mkdir -p bypass_paywalls_clean
 +cd bypass_paywalls_clean
 +</code>
 +
 +/*
 +(Raju, 2023-10-19): copied this code but commenting it out as it needs to be updated and tested.
 +
 +Create a backup of the existing zip file
 +<code>
 +conda activate py311
 +make_bkup.py master.zip
 +</code>
 +*/
 +
 +Download the zip file
 +<code>
 +curl -L -O https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/archive/master/bypass-paywalls-chrome-clean-master.zip
 +</code>
 +
 +/*
 +(Raju, 2023-10-19): copied this code but commenting it out as it needs to be updated and tested.
 +
 +Create a backup of previously unzipped version.
 +<code>
 +cd ../../unZipped
 +make_bkup.py bypass-paywalls-chrome-master
 +rm -rf bypass-paywalls-chrome-master
 +</code>
 +*/
 +
 +Unzip the latest version
 +<code>
 +cd ../../unZipped
 +unzip ../zipped/bypass_paywalls_clean/bypass-paywalls-chrome-clean-master.zip
 +</code>
 +This will unzip everything into $software/unZipped/bypass-paywalls-chrome-clean-master
 +
 +<code>
 +chrome -> chrome://extensions/
 +Enable Developer mode
 +-> Load unpacked
 +select $software/unZipped/bypass-paywalls-chrome-clean-master
 +</code>
 +
 +/*
 +(Raju, 2023-10-19): copied this code but commenting it out as it needs to be updated and tested.
 +
 +related:
 +  * https://github.com/KamarajuKusumanchi/rutils/blob/master/python3/make_bkup.py - script to backup a directory or a file.
 +*/
  
 ==== Install bypass paywalls ==== ==== Install bypass paywalls ====
 +Note: on 2023-10-19, I decided to use https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean instead of https://github.com/iamadamdev/bypass-paywalls-chrome for reasons listed in https://www.kamaraju.xyz/dk/diary/2023-10-19 . But I am keeping these instructions for reference.
 +
 Ref:- https://github.com/iamadamdev/bypass-paywalls-chrome Ref:- https://github.com/iamadamdev/bypass-paywalls-chrome
  
Line 106: Line 174:
 Create a backup of the existing zip file Create a backup of the existing zip file
 <code> <code>
 +conda activate py311
 make_bkup.py master.zip make_bkup.py master.zip
 </code> </code>
Line 137: Line 206:
   * https://github.com/iamadamdev/bypass-paywalls-chrome/archive/v1.7.5.zip - link to download a specific version.   * https://github.com/iamadamdev/bypass-paywalls-chrome/archive/v1.7.5.zip - link to download a specific version.
   * https://github.com/KamarajuKusumanchi/rutils/blob/master/python3/make_bkup.py - script to backup a directory or a file.   * https://github.com/KamarajuKusumanchi/rutils/blob/master/python3/make_bkup.py - script to backup a directory or a file.
 +
 +==== Input Cursor Focus ====
 +Needed it for millionshort.com which does not focus the cursor in the search bar.
 +
 +https://chrome.google.com/webstore/detail/input-cursor-focus/hnhplmcglkomfmoapojflionoibodhla/related?hl=en
 +
 +==== New Tab Redirect ====
 +Using it to set set the new tab url to millionshort.com
 +
 +https://chrome.google.com/webstore/detail/new-tab-redirect/icpgjfneehieebagbmdbhnlpiopdcmna
  
 ==== extensions I use ==== ==== extensions I use ====
Line 152: Line 231:
 ==== import bookmarks ==== ==== import bookmarks ====
 three dots button -> Bookmarks and lists -> Import bookmarks and settings... -> In the drop down choose "Bookmarks HTML file" three dots button -> Bookmarks and lists -> Import bookmarks and settings... -> In the drop down choose "Bookmarks HTML file"
 +
 +=== trouble shooting ===
 +==== Bad Request - Header Field Too Long ====
 +Issue:
 +<code>
 +Bad Request - Header Field Too Long
 +HTTP Error 400. A request header field is too long.
 +</code>
 +
 +
 +I cleared the cache for the last 7 days. It started working after that.
  
chrome_notes.txt ยท Last modified: 2023/11/15 20:13 by raju