Is there a way to clear the indexeddb data for a specific site? I'm trying to test in localhost and need to clear the data occasionally but I don't see any GUI like in chrome:
From the dev tools switch to the Storage tab.
On the right panel, expand Indexed DB sub-menu and the website url you are interested in.
From there you can right click on each store and "delete [store name]".
Related
view page
My client want to use a website on Android mobile but he doesn't want online. He just wants to access it within a network, but my problem is that some buttons are not working like the save button used for to save data, and the reset button to reset all fields.
I am using codeignator with xampp
I think you can run your program on your browser by internal IP to debug.
You can use the inspector of browser to check console if any error like javascript or php things happen when you click submit or reset
In my web application I get some data from server. Then if user want's to see this data visualized in great detail I want to open second browser window and do it there. The problem is with passing the data to be visualized. I don't want to make second request to server. So all I have now is to append this data to the URL to be opened in second window. This of course works but the URL look ugly and the amount of data is very limited. Is there any other way to accomplish this?
You could use a session-value. Save the data into the session when retrieving it from the server, and read it when you open the second browser tab.
I am looking for a firefox plugin that can store entire page in cache and load it when ever that address is typed, and only load content from server if we press reload cache or similar functionality.
My usecase is, I use documentation of Laravel, Bootstrap, Jquery etc on regularly based but each time I am accessing it from the internet, these pages do not have any changes for many days. I dont want to store the webpage as file and access it, I would love to do it in comfort of your web browser than opening files.
I think firefox already does this. Load a page in a tab, then go to top left firefox menu > developer > work offline.
Reload that page in tab its from cache.
If you ever go work offline it loads from cache.
I'm using IE8 and the jstorage library to store data in place of cookies. This is all good until i want to clear the stored values. In chrome this is possible by navigating to the content settings page. However in IE8 it only provides an option to clear cookies which doesn't clear the values I've stored in local storage.
Any ideas how i can clear this data? I don't want to display a "clear cache" button
Try localStorage.clear() in Console panel of IE Developer toolbar. It returns an "undefined" but seems to clear local storage.
It is worth mentioning that this function only clears the localStorage of the domain of the current window, not all localStorage values for the browser.
Example: (IE8 issue) If you're website is loading external content within an iFrame, localStorage.clear() won't clear that domain inside of the iFrame unfortunately.
This was an issue with local storage support in IE8. The cache does not remove local storage so instead need to call the following from the developer tools console
$.jStorage.flush()
I am trying to implement a search page with 2 tabs: Basic Search Options and Advanced Search Options. The Search button is outside the tab at the bottom of the page.
I am trying to figure out which switchType to use on the rich:tab component. richfaces offers 3 switch types:
ajax
server
client
I don't understand when someone who use one over the other.
Can someone explain succinctly when/how you would use the different switchTypes?
Thanks in advance!
April26
Examples of the three types here.
Ajax - When the tab is clicked on the body of the tab is requested from the server without refreshing the entire page. This makes the initial load time of the page with tabs faster than client switching and allows the user to click between tabs without refreshing the entire page.
Server - When the tab is clicked on the entire page is refreshed to get the body of the tab. Use Server switching when you want to keep the tab page load time down but don't want any ajax code. Clicking between tabs is not very smooth looking.
Client - All tab bodies are loaded when the tab page is loaded. The initial load of the page is slower but switching between tabs is much faster for the user.
I've created several pages that use RichFaces tabs and they all have used client switching. It makes the tabs more usable if the user doesn't have to wait when they click on a tab.