Topic on Project:Support desk

Jump to navigation Jump to search

How to turn an extension on for desktop but off for mobile

4
128.125.52.225 (talkcontribs)

Is there a way to have an extension on for desktop mode but off on mobile mode? For example, Extension:AddThis

AhmadF.Cheema (talkcontribs)

There would probably be some JavaScript, PHP method to do so, but the easier option would be to just hide the widget through MediaWiki:Mobile.css.

207.62.238.123 (talkcontribs)
AhmadF.Cheema (talkcontribs)

The following should work:

#addthistoolbar { display: none; }
Reply to "How to turn an extension on for desktop but off for mobile"