Thursday, September 17, 2015

Chrome Misc



chrome flash is blocked on this website
https://productforums.google.com/forum/#!topic/chrome/ACDWhyeU8eE
Try setting chrome://flags/#prefer-html-over-flash as disable and restart Chrome.

https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode
document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the specification, this property is meant to default to "off"

chrome://settings/cookies
chrome://about/
https://www.quora.com/What-are-the-Alternatives-available-for-Evernote-Clearly
  1. Previously mentioned Instapaper is pretty cool.
  2. Readability is also pretty useful: "Readability turns any web page into a clean view for reading now or later on your computer, smartphone, or tablet."
  3. You can also find some of Clearly features in the following: Clipmarks, MarroZoho Notebook, and OneNote.
AngularJS
http://learnwebtutorials.com/using-batarang-to-debug-angularjs

http://stackoverflow.com/questions/13743058/how-to-access-the-scope-variable-in-browsers-console-using-angularjs
Another easy way to access a DOM element from the console (as jm mentioned) is to click on it in the 'elements' tab, and it automatically gets stored as $0.
angular.element($0).scope();

Close Chrome's Download Strip With A Keyboard Shortcut
If you don’t want that annoying download bar cluttering up your view, simply type Control-J followed by Control-W. Control-J opens Chrome’s full download listing in a new tab, and when that happens, the strip is automatically closed. Control-W closes that tab, leaving you back where you were but with the full screen at your disposal. 
Always Clear Downloads
This extension works in a very simple way: Every five seconds, the downloads list is cleared out for you. Don't worry, the files you downloaded are still there, and in-progress downloads are not harmed. Chrome's internal list simply gets cleaned up for you every five seconds.

https://chrome.google.com/webstore/detail/always-clear-downloads/cpbmgiffkljiglnpdbljhlenaikojapc
http://rocketink.net/2013/06/close-google-chrome-downloads.html

http://www.businessinsider.com/best-google-chrome-hacks-for-productivity-2016-2
Avoid stupid mistakes in your writing with Grammarly.
Enabling Chrome Developer Tools inside Postman
=
Type chrome://flags inside your Chrome URL window
Search for “packed” or try to find the “Enable debugging for packed apps” setting
Enable the setting
Restart Chrome

Adding Custom Headers to Every Request with Chrome
Modify request and response headers

Javascript debugging tips using the Chrome Dev Tools, deb.js and more
Who is doing this Ajax request?
add Ajax breakpoints by clicking Any XHR or only if the url of the request contains a matching string.
Trigger a breakpoint when an exception occurs
Conditional breakpoints

Event breakpoints
debugger;

Frequently used debug snippets
https://github.com/paulirish/devtools-addons/wiki/Snippets
http://bgrins.github.io/devtools-snippets/

JSESSIONID
document.cookie = "newcookie=123"
document.cookie = "JSESSIONID"

document.cookie = "username=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
Cookies are set to expire, since we can't really "delete" them, we just force them to expire with a past date.
document.cookie = name + '=;expires=Thu, 05 Oct 1990 00:00:01 GMT;';
http://bahmutov.calepin.co/chrome-devtools-code-snippets.html

http://www.evget.com/article/2015/11/4/22900.html

可对标签栏页面进行复选拖放。

你可以一次性选择Chrome浏览器中的多个标签栏页面进行拖放。
该窍门和Windows中的复选功能一样,你可以按住Ctrl键不放,然后选中多个标签页面,再放开Ctrl键就可以进行新建窗口或者合并窗口的操作了:

在Mac系统中,相应的键位为"command"。

chrome://chrome-urls/可以查看全部的Chrome浏览器隐藏页面。
那就是Ctrl+Shift+Delete,在你按下这个组合键后,清除浏览器数据的窗口就会弹出来,你就可以对需要删除的内容进行自由选择了。在Mac上这个命令是Shift+Command+Delete.

键盘中的空格键与PageDown作用一样;而Shift+空格键与PageUp作用一样。

http://www.fizerkhan.com/blog/posts/Use-your-browser-as-Notepad.html
data:text/html, <html contenteditable>
data:text/html, <textarea contenteditable>

http://stackoverflow.com/questions/260857/changing-website-favicon-dynamically
    var link = document.createElement('link');
    link.type = 'image/x-icon';
    link.rel = 'shortcut icon';
    link.href = 'http://www.stackoverflow.com/favicon.ico';
    document.getElementsByTagName('head')[0].appendChild(link);
http://joshuakemp.blogspot.com/2016/11/how-to-automate-everything-part-2.html
Auto Text Expander - Chrome Addon.
Autofill - Chrome Addon.


Labels

Review (572) System Design (334) System Design - Review (198) Java (189) Coding (75) Interview-System Design (65) Interview (63) Book Notes (59) Coding - Review (59) to-do (45) Linux (43) Knowledge (39) Interview-Java (35) Knowledge - Review (32) Database (31) Design Patterns (31) Big Data (29) Product Architecture (28) MultiThread (27) Soft Skills (27) Concurrency (26) Cracking Code Interview (26) Miscs (25) Distributed (24) OOD Design (24) Google (23) Career (22) Interview - Review (21) Java - Code (21) Operating System (21) Interview Q&A (20) System Design - Practice (20) Tips (19) Algorithm (17) Company - Facebook (17) Security (17) How to Ace Interview (16) Brain Teaser (14) Linux - Shell (14) Redis (14) Testing (14) Tools (14) Code Quality (13) Search (13) Spark (13) Spring (13) Company - LinkedIn (12) How to (12) Interview-Database (12) Interview-Operating System (12) Solr (12) Architecture Principles (11) Resource (10) Amazon (9) Cache (9) Git (9) Interview - MultiThread (9) Scalability (9) Trouble Shooting (9) Web Dev (9) Architecture Model (8) Better Programmer (8) Cassandra (8) Company - Uber (8) Java67 (8) Math (8) OO Design principles (8) SOLID (8) Design (7) Interview Corner (7) JVM (7) Java Basics (7) Kafka (7) Mac (7) Machine Learning (7) NoSQL (7) C++ (6) Chrome (6) File System (6) Highscalability (6) How to Better (6) Network (6) Restful (6) CareerCup (5) Code Review (5) Hash (5) How to Interview (5) JDK Source Code (5) JavaScript (5) Leetcode (5) Must Known (5) Python (5)

Popular Posts